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. |
9th December 2006, 22:39 | #1 | Link |
Registered User
Join Date: Dec 2005
Posts: 16
|
ConvertToYV12 weirdness.
Alright, still new to the color space business. I've got a rough idea how they all work now. My issue is with converting to YV12 to use MCBob. With some sources it works fine, with others it's being strange.
Here's the frame in question that is behaving oddly. YUY2 (unedited, as captured) YV12 fields And yes, I did it with (interlaced=true). The "broken" parts of the frame are obvious but i'm not sure why they are turning out this way. Any ideas? Thanks And one other question related to MCBob if someone happens to know the answer, any reason why the YV12 is necessary in the first place or if there is a way to use it without converting away from YUY2? |
9th December 2006, 23:01 | #2 | Link | |
*Space Reserved*
Join Date: May 2006
Posts: 953
|
Quote:
And to answer your question regarding YV12 |
|
9th December 2006, 23:02 | #3 | Link | |
Registered User
Join Date: Dec 2005
Posts: 16
|
Quote:
This isn't with MCbob... that's simply converting to YV12 without deinterlacing. The frames are a regular interlaced frame. The problem exists after deinterlacing, that's how I noticed it in the first place. But this is just showing that MCbob isn't the problem. |
|
9th December 2006, 23:08 | #5 | Link |
Registered User
Join Date: Dec 2005
Posts: 16
|
Wait, what?
The first image is just a regular interlaced frame (two fields) without editing or color conversion--just as it was captured. The second image is the same frame, same fields, converted to YV12 with (interlaced=true). This one shows the errors. The third is just the unedited, unconverted fields from the first image for reference. |
9th December 2006, 23:13 | #6 | Link |
*Space Reserved*
Join Date: May 2006
Posts: 953
|
Ahh, I got ya. You know, I could'nt really tell a difference 'til I examined them side by side. After the mcbob line, can you try changing the colorspace back to the original colorspace (converttoyuy2, if that's what it was), and see if the little subtlety's still there?
|
9th December 2006, 23:16 | #7 | Link | |
Registered User
Join Date: Dec 2005
Posts: 16
|
Quote:
|
|
9th December 2006, 23:32 | #9 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
THe problem is you're looking at it in virtualdub, which does the equivalent of ConvertToRGB() on it. Notice the distinct lack of "interlaced=true" there. So really, all you have to do is convert it back to YUY2 or RGB in interlaced if you want to make vdub happy, then comment out that line and go on with the script when you're satisfied that it works.
(How'd you know I was reading the thread. >( ) |
9th December 2006, 23:40 | #11 | Link | |
Registered User
Join Date: Dec 2005
Posts: 16
|
Quote:
|
|
9th December 2006, 23:50 | #12 | Link | |
*Space Reserved*
Join Date: May 2006
Posts: 953
|
Quote:
Or alternatively in Full Processing mode, Choose "Color Depth...", and choose the appropriate colorspace for the output format. edit: Not sure the output color thingy will affect your encode in any way. It'd be safer to choose fast recompress and encode. Last edited by Terranigma; 9th December 2006 at 23:53. |
|
10th December 2006, 00:02 | #13 | Link | |
Registered User
Join Date: Dec 2005
Posts: 16
|
Quote:
The really blocky looking areas at the bottom look better if I decompress as YUY2 and output as YV12. Does that sound right? Unfortunately the rest of the colors on the frame still don't look as correct as I hoped they would. I wonder if I'll just have to settle with it... I have a bit of a perfectionist attitude with this so I'm really upset that mcbob won't accept YUY2. |
|
10th December 2006, 00:05 | #14 | Link | |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
Quote:
(Btw, you asked why, earlier. It's because most newer avisynth filters either run only in YV12 or somewhat faster. And all common codecs use only YV12.) |
|
10th December 2006, 00:14 | #15 | Link |
Registered User
Join Date: Dec 2005
Posts: 16
|
Alright, thanks guys...
I've just never had all these weird issues until I started converting to YV12 in the avisynth script. I've always used xvid for compression, and apparently it converts to YV12 anyway? Yet all of my videos looked fine as far as the colors go. Now all of a sudden I'm finding problems that only exist on half of my videos, and when I find the appropriate settings to fix those, I find new problems with my other videos. If I use the settings to fix the frame in question above, it creates a problem in another vid of mine where some thin lines on the image suddenly have ghosting above/below them. Same type of source too (YUY2). I'm just not sure where to go from here :P |
|
|