newWang
14th February 2008, 19:59
Hi everyone,
So ... I'm sitting at work on lunch and I can't escape the fear that my aging computer at home is in the middle of a 22 hour encoding process and ruining the color and/or luma range of the output. I've been trying to get my knowledge on luma range and colorspace/colormodel conversions by reading through the forums here but I'm just as confused as when I started.
Here's the real-world problem.
I'm converting a 16:9 AR NTSC DVD to a progressive 29.97 fps MJPEG stream. DGIndex says that it's 100% interlaced. My reasoning for doing something like this is that my comp is about 6 years old but I'd still like to see what is possible as far as image quality by using the excellent deinterlacers available with Avisynth.
Vid = Mpeg2Source("foo.d2v", idct=5, cpu=6, info=3)
Vid.ColorMatrix(hints=true).AssumeTFF
clip = nnedi(field=-1)
yadifmod(edeint=clip)
Spline36Resize(852, 480)
From there on I'm loading this script into Vdub set to "Fast Recompress." The stream is then encoded with the ffdshow MJPEG compressor with quantizer=1.
I was wondering what is going on with this as far as minimizing colorspace conversions goes. I'm not sure what MJPEG uses internally for a color representation. I believe that the output of my script will be in YV12; but, I'm not sure if there is another conversion in the compressor. Furthermore, what's going on with the luma range in this flow? Is it TV? Is it PC? Is there something wrong here? Who knows? I don't. If I'm going to be decoding the resulting MJPEG stream with ffdshow what will I need to do to get it to display properly on my LCD TV over DVI/HDMI. Should there be any processing of luma range at this point? Should ffdshow be outputting RGB32 to the renderer? Is there any other caveats associated with different renderers or graphics cards?
Help me minimize colorspace conversions. Please.
newWang
So ... I'm sitting at work on lunch and I can't escape the fear that my aging computer at home is in the middle of a 22 hour encoding process and ruining the color and/or luma range of the output. I've been trying to get my knowledge on luma range and colorspace/colormodel conversions by reading through the forums here but I'm just as confused as when I started.
Here's the real-world problem.
I'm converting a 16:9 AR NTSC DVD to a progressive 29.97 fps MJPEG stream. DGIndex says that it's 100% interlaced. My reasoning for doing something like this is that my comp is about 6 years old but I'd still like to see what is possible as far as image quality by using the excellent deinterlacers available with Avisynth.
Vid = Mpeg2Source("foo.d2v", idct=5, cpu=6, info=3)
Vid.ColorMatrix(hints=true).AssumeTFF
clip = nnedi(field=-1)
yadifmod(edeint=clip)
Spline36Resize(852, 480)
From there on I'm loading this script into Vdub set to "Fast Recompress." The stream is then encoded with the ffdshow MJPEG compressor with quantizer=1.
I was wondering what is going on with this as far as minimizing colorspace conversions goes. I'm not sure what MJPEG uses internally for a color representation. I believe that the output of my script will be in YV12; but, I'm not sure if there is another conversion in the compressor. Furthermore, what's going on with the luma range in this flow? Is it TV? Is it PC? Is there something wrong here? Who knows? I don't. If I'm going to be decoding the resulting MJPEG stream with ffdshow what will I need to do to get it to display properly on my LCD TV over DVI/HDMI. Should there be any processing of luma range at this point? Should ffdshow be outputting RGB32 to the renderer? Is there any other caveats associated with different renderers or graphics cards?
Help me minimize colorspace conversions. Please.
newWang