basic question about color space and codecs when using avisynth and vdub.
Does choosing a compression codec dictate what colorspace the video will be? I know the video can remain YV12 when using Vdub Fast Recompress setting, but if I'm doing a dvd re-encode in separate lossless stages - Step 1 making it progressive in Avisynth (Fast Vdub), Step 2 using Vdub filtering(Full Vdub), Step 3 clean up in Avisynth (Fast Vdub), should I be using codecs which compliment the next step? Or are the codecs irrelevant and I use converttoRGB and converttoYV12 when appropriate in the scripts?
I was using UT Video 420, and Mediainfo wasnt reporting the colorspace correctly, so I got to thinking that if the codec could dictate the color space, maybe that would be less damaging than using a script conversion command. UT Video seems to have codecs that might be color space-specific.
+ Reply to Thread
Results 1 to 6 of 6
-
-
Yes it can, if that specific codec only supports a specific colorspace. For example UT has specific fourCC's for each colorspace
e.g. You use vdub filters (RGB), but export UT 420 => this will force conversion to YV12 using Rec601 in the export whether you wanted to or not
I know the video can remain YV12 when using Vdub Fast Recompress setting, but if I'm doing a dvd re-encode in separate lossless stages - Step 1 making it progressive in Avisynth (Fast Vdub), Step 2 using Vdub filtering(Full Vdub), Step 3 clean up in Avisynth (Fast Vdub), should I be using codecs which compliment the next step? Or are the codecs irrelevant and I use converttoRGB and converttoYV12 when appropriate in the scripts?
I was using UT Video 420, and Mediainfo wasnt reporting the colorspace correctly, so I got to thinking that if the codec could dictate the color space, maybe that would be less damaging than using a script conversion command. UT Video seems to have codecs that might be color space-specific.
If you can replace vdub filter with an equivalent avisynth filter, then you don't have to round trip into RGB land -
I doublechecked the 420 UT video by running it in AvsP with Info(), if that's what you mean.
I'm using Deshaker in Vdub (a project from awhile ago which you helped me), so RGB is necessary.
I noticed the UT file is alot larger than a Lagarith outputted file, but I imagine UT is faster.
Anyway, is it any less harmful to use a specific codec (UT RGB or 420) rather than command lines and Lagarith? -
Yes, UT is waaaay faster, and scales better with more cores, but less compressed
Lagarith is fine (supports 420,422,RGB), if you have it setup correctly - it will automatically use the same colorspace as input file. You can prove this yourself with info()
Anyway, is it any less harmful to use a specific codec (UT RGB or 420) rather than command lines and Lagarith? -
If you're in the same colorspace, it's the same. Lossless = Lossless
-
Yes, RGB<=> YUV is "damaging" regardless of codec, colorspace specific codec's don't avoid this
Lossless RGB<=> Lossless RGB isn't damaging (same colorspace, and no compression losses)
Lossless YV12 <=> Lossless YV12 isn't damaging (same colorspace, and no compression losses)
Similar Threads
-
Muxing two separate video and audio codecs, and maintaining the quality?
By FatalX in forum Video ConversionReplies: 10Last Post: 15th Dec 2009, 20:56 -
Color shift in ffmpeg X - ffmpegX native color space and gamma?
By rbot1980 in forum ffmpegX general discussionReplies: 0Last Post: 2nd Feb 2009, 21:16 -
Color space question
By mourya in forum ProgrammingReplies: 2Last Post: 22nd Dec 2008, 19:08 -
How do I know what color space I'm working in...?
By Mickeyjuice in forum Newbie / General discussionsReplies: 4Last Post: 17th Sep 2008, 01:28 -
Question about color space using a DV camcorder for capturing VHS
By binister in forum Newbie / General discussionsReplies: 16Last Post: 12th Jan 2008, 18:14