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.

 

Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th July 2012, 13:27   #1  |  Link
matfra
Registered User
 
Join Date: Jul 2009
Posts: 111
Replacing huffyuv and lagarith

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
matfra is offline   Reply With Quote
Old 5th July 2012, 14:29   #2  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,340
Quote:
Originally Posted by matfra View Post
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"
poisondeathray is offline   Reply With Quote
Old 5th July 2012, 17:41   #3  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,803
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

Last edited by Atak_Snajpera; 5th July 2012 at 17:47.
Atak_Snajpera is offline   Reply With Quote
Old 5th July 2012, 18:27   #4  |  Link
Taurus
Registered User
 
Taurus's Avatar
 
Join Date: Mar 2002
Location: Krautland
Posts: 903
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.
Taurus is offline   Reply With Quote
Old 5th July 2012, 18:38   #5  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,576
Quote:
Originally Posted by Taurus View Post
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)

Last edited by Keiyakusha; 5th July 2012 at 18:42.
Keiyakusha is offline   Reply With Quote
Old 5th July 2012, 19:56   #6  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,803
i would like to see what average bitrate you get with crf 2 on parkjoy.yuv 1080p50

Last edited by Atak_Snajpera; 5th July 2012 at 20:01.
Atak_Snajpera is offline   Reply With Quote
Old 6th July 2012, 09:46   #7  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,803
Quote:
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)

Last edited by Atak_Snajpera; 6th July 2012 at 09:51.
Atak_Snajpera is offline   Reply With Quote
Old 6th July 2012, 12:24   #8  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,576
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.

Last edited by Keiyakusha; 6th July 2012 at 12:32.
Keiyakusha is offline   Reply With Quote
Old 6th July 2012, 12:49   #9  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,803
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

Last edited by Atak_Snajpera; 6th July 2012 at 12:56.
Atak_Snajpera is offline   Reply With Quote
Old 6th July 2012, 14:32   #10  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,576
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.
Keiyakusha is offline   Reply With Quote
Old 6th July 2012, 14:36   #11  |  Link
matfra
Registered User
 
Join Date: Jul 2009
Posts: 111
Quote:
Originally Posted by Taurus View Post
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 !
matfra is offline   Reply With Quote
Old 6th July 2012, 15:24   #12  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,340
Quote:
Originally Posted by matfra View Post
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
poisondeathray is offline   Reply With Quote
Old 6th July 2012, 15:39   #13  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,803
Quote:
Originally Posted by Keiyakusha View Post
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.
Atak_Snajpera is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:11.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.