Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Capturing Video

Reply
 
Thread Tools Search this Thread Display Modes
Old 17th December 2008, 17:35   #21  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
No, YV12 sucks compared to RGB or YUY2 because it has vertical chroma subsampling which might end up blending the fields. YUY2 would preserve the interlacing and it's closer to the original analog signal than RGB.
squid_80 is offline   Reply With Quote
Old 18th December 2008, 00:28   #22  |  Link
BlackSharkfr
Registered User
 
Join Date: Dec 2005
Posts: 133
Doesn't interlacing encoding completely separates the fields and encode them into different (virtual) frames ?
BlackSharkfr is offline   Reply With Quote
Old 18th December 2008, 00:50   #23  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
The problem with some YUV formats is the chroma subsampling. The subsampling happens when converting from RGB to the YUV format, so before the actual encoding.
Subsampling may blend the (color) information of neighboring lines together, lines that belong to different fields and hence shouldn't be mixed together!

See this for more info:
http://en.wikipedia.org/wiki/Chroma_...ems_and_ratios

(I think 4:1:1, 4:2:2 or 4:4:4 would be okay for interlaced, but 4:2:0 wouldn't. Guess that's the YV12 -vs- YUY2 difference mentioned by squid_80)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 18th December 2008 at 01:50.
LoRd_MuldeR is offline   Reply With Quote
Old 18th December 2008, 10:42   #24  |  Link
2Bdecided
Registered User
 
Join Date: Dec 2002
Location: UK
Posts: 1,673
YV12 interlaced still keeps the lines from separate fields separate - the "bluring" is within field, not across two fields. That's why YV12 interlaced sampling is defined as subtly different from YV12 progressive sampling.

If it wasn't so, then any movement on a standard interlaced source (never mind this 3D one) would have horrible chroma ghost trails. You sometimes see this when people handle YV12 incorrectly.


All that said, I wouldn't used YV12 in this instance.

Cheers,
David.
2Bdecided is offline   Reply With Quote
Old 18th December 2008, 10:57   #25  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
The "Assume interlaced if height >" option on ffdshow's input page would probably enable a proper interlaced conversion but I'm not sure.
squid_80 is offline   Reply With Quote
Old 18th December 2008, 16:38   #26  |  Link
BlackSharkfr
Registered User
 
Join Date: Dec 2005
Posts: 133
ok i've done some new trys and it works much better.
This time i followed your recommandations
virtualdub capture + huffyuv and it is much much faster and allows me to play newer games and capture in real time.

I also found a way to display the "broken" image by forcing virtualbud to use a wrong input colourspace and then the preview just looked like the broken image i used to have.

I also noticed that with newer versions of ffdshow the broken image doesn't happen anymore with both Virtualdub and Dscaler, so i suppose it was a colourspace detection issue with older versions of ffdshow i used to have last time i tried to use ffdshow encoder in Dscaler.
BlackSharkfr is offline   Reply With Quote
Old 19th December 2008, 16:06   #27  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by 2Bdecided View Post
YV12 interlaced still keeps the lines from separate fields separate - the "bluring" is within field, not across two fields. That's why YV12 interlaced sampling is defined as subtly different from YV12 progressive sampling.

If it wasn't so, then any movement on a standard interlaced source (never mind this 3D one) would have horrible chroma ghost trails. You sometimes see this when people handle YV12 incorrectly.
Well, it seems there is a way to convert interlaced material to YV12 properly. But that isn't automatic! It requires a "special" method.

From Wiki:
Quote:
With interlaced material, 4:2:0 chroma subsampling can result in motion artifacts if it is implemented the same way as for progressive material. The luma samples are derived from separate time intervals while the chroma samples would be derived from both time intervals. It is this difference that can result in motion artifacts. The MPEG-2 standard allows for an alternate interlaced sampling scheme where 4:2:0 is applied to each field (not both fields at once). This solves the problem of motion artifacts, reduces the vertical chroma resolution by half, and can introduce comb-like artifacts in the image.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 19th December 2008, 16:38   #28  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
Quote:
Originally Posted by LoRd_MuldeR View Post
Well, it seems there is a way to convert interlaced material to YV12 properly. But that isn't automatic! It requires a "special" method.
That's what I've been trying to say With VFW there's no method to indicate interlaced YV12.
squid_80 is offline   Reply With Quote
Old 19th December 2008, 18:50   #29  |  Link
2Bdecided
Registered User
 
Join Date: Dec 2002
Location: UK
Posts: 1,673
Well, conversely, there's no way to indicate progressive YV12 either! I'm not sure pixel aspect ratio gets communicated either. Neither does whether the actual content is progressive or interlaced. These are things you just have to "know".


It's not that it's "special" - it's just that you have to know what you're doing.

(I'm not saying it should be used in this context - just that interlaced YV12 is no more or less standard than progressive YV12 - or even interlacing itself!)

Cheers,
David.
2Bdecided is offline   Reply With Quote
Old 20th December 2008, 23:07   #30  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Back to topic:

I have not tested it yet, but this looks like another options and an alternative to HuffYUV:
http://forum.doom9.org/showthread.php?t=143624
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Reply

Tags
capture, codec, interlaced, s-3d, stereoscopy

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:15.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.