PDA

View Full Version : Question about lossless output


hsalb
22nd November 2008, 13:51
Hello,
i am using virtualdubmod to edit a long vc-1 source via avisynth directshowsource loading. I need to cut out some scenes and stuff.
If i output that as "uncompressed" or "huffyuv lossles" is it really the same quality as the source vc-1 stream or is quality lost when doing that? I want to encode the edited stream with staxrip or ripbot and i dont want to loose quality on both workflows...
:stupid:

LoRd_MuldeR
22nd November 2008, 16:30
"Uncompressed" is raw RGB data. There won't be any loss of quality, but the file will be VERY big. It's better to use a lossless compression.
As the name implies, "lossless" compression doesn't loose any quality. I'd recommend either HuffYUV, Lagarith, MSU Lossless, FFv1 or H.264 lossless (x264).
Quality-wise all lossless compressors should be identical - lossless is lossless. But speed-wise and compression-wise there are huge differences...

Nevertheless "true" lossless is only possible when the compressor uses the same colorspace as your source (most likely that is "YV12").
Otherwise a colorspace conversion will be applied, which isn't 100% lossless anymore. Whether this would be visible or not, is another question though.

Blue_MiSfit
22nd November 2008, 21:13
Your best bet is to use "fast recompress" mode, and a good YV12 lossless codec, like Lagarith or HuffYUV from ffdshow (which supports YV12, as opposed to the standard HuffYUV codec, which does RGB and YUY2).

Explain your entire workflow :)

~MiSfit

LoRd_MuldeR
23rd November 2008, 17:00
Your best bet is to use "fast recompress" mode, and a good YV12 lossless codec, like Lagarith or HuffYUV from ffdshow (which supports YV12, as opposed to the standard HuffYUV codec, which does RGB and YUY2).

Explain your entire workflow :)

~MiSfit

If you favor compression over speed, I'd go with FFv1 in "YV12" mode and select "AC" coder type. It's available through ffdshow/ffvfw too...