Log in

View Full Version : Replacing huffyuv and lagarith


matfra
5th July 2012, 13:27
Hi,
Can you sugges me a good lossless or almost lossless codec to replace my huffyuv and lagarith.
Im looking for something that use less processor and space. It has to be lossless are almost lossless. As long as it read and encode faster.
Thanks

poisondeathray
5th July 2012, 14:29
Hi,
Can you sugges me a good lossless or almost lossless codec to replace my huffyuv and lagarith.
Im looking for something that use less processor and space. It has to be lossless are almost lossless. As long as it read and encode faster.
Thanks


These are usually trade offs. Better compression and low filesize usually means more processor usage, slower performance and latency (read & encode slower) . You can't have best of everything

ut video codec will perform better (read & encode faster) , but slightly worse compression than lagarith

cineform performance is better (read & encode much faster) , but not truly lossless , thus smaller filesizes . There is a free version available called "go pro cineform studio"

Atak_Snajpera
5th July 2012, 17:41
ffv1 in ffdshow is really good. lossless and multithreaded.

avc-intra (x264.exe --preset superfast --tune fastdecode --keyint 1 --crf 14) is good alternative to lossy codecs

Taurus
5th July 2012, 18:27
Yeah, Atak was faster...
I'm using UT and ffv1 in ffdshow(vfw) exclusively.
UT faster but larger filesize.
ffv1 slower but smaller filesize.
Pick your pill :)
Will try Atak's suggestion on x264 lossless.

Keiyakusha
5th July 2012, 18:38
Will try Atak's suggestion on x264 lossless.

What he suggested is not lossless.
Also I support this. It can be hardware-decoded. However crf 14 is too weak for me. I'd go for up to crf 2 as long as it stays within reasonable size
x264 lossless is not very useful (but still better than lagarith)

Atak_Snajpera
5th July 2012, 19:56
i would like to see what average bitrate you get with crf 2 on parkjoy.yuv 1080p50 ;)

Atak_Snajpera
6th July 2012, 09:46
I'd go for up to crf 2 as long as it stays within reasonable size
crf 2 is too insane for me. I would rather use lossless ffv1 than lossy avc-intra crf 2!

park_joy_1080p50.y4m

AVC-Intra CRF 2 - 629 MB (lossy compression)
ffv1 - 798 MB (lossless compression)
UT - 941 MB (lossless compression)

Keiyakusha
6th July 2012, 12:24
But you see, it still takes less space than FFV1. That's pretty good size, savings are pretty noticeable. Speed also matters. I'm not sure it its something wrong, bug or whatever but using LAV for the some 1080psource at 60fps that shows similar size differences as park joy, I have UT and AVC-Intra decoded ay nearly the same speed 5xRealtime, but can't play ffv1 even in 1xRealtime. This makes it good only for transferring and achieving stuff not editing.

Atak_Snajpera
6th July 2012, 12:49
I've also encoded parkjoy with crf 14 and size was 3 times smaller (~200Mbps average , ~512KB for one frame) and still couldn't notice any degradation in quality. That's another reason that yours crf 2 is really insane ;)

Keiyakusha
6th July 2012, 14:32
Yeah I agree. But at this point everything depends on user needs. For some reason I though OP's goal is to prepare source for some heavy editing - more than just crop, trim, resize stuff. In this case even though crf14 will be visually lossless, if we apply some color correction or something, we'll see artifacts immediately.

matfra
6th July 2012, 14:36
Yeah, Atak was faster...
I'm using UT and ffv1 in ffdshow(vfw) exclusively.
UT faster but larger filesize.
ffv1 slower but smaller filesize.
Pick your pill :)
Will try Atak's suggestion on x264 lossless.

Sorry for my ( noobess) What UT stand for ? And where can I download it !

poisondeathray
6th July 2012, 15:24
Sorry for my ( noobess) What UT stand for ? And where can I download it !

ut video codec
http://forum.doom9.org/showthread.php?t=143624

Atak_Snajpera
6th July 2012, 15:39
Yeah I agree. But at this point everything depends on user needs. For some reason I though OP's goal is to prepare source for some heavy editing - more than just crop, trim, resize stuff. In this case even though crf14 will be visually lossless, if we apply some color correction or something, we'll see artifacts immediately.

I use 10bit avc-intra (better quality). Works in vegas if avc is in avi and we have ffdshow installed.