[FFmpeg-user] LLossless (10 Bit RGB 444) and (10 Bit YUV 422) Compression

Jason Freets jasonslife at hotmail.com
Fri Dec 26 03:08:30 CET 2014


Hello Everyone, 

My first time ever using a mailing list. 

About 1 year ago, I started investigating if FFmpeg can compress lossless in two ways:

#1) 10 Bit YUV 422 r210 Original (lossless uncompressed) -> to FFV (lossless compressed) -> back to 10 Bit YUV 422 r210 (lossless uncompressed)

#2) 10 Bit RGB 444 r10k  Original (lossless uncompressed) -> to FFV (lossless compressed) -> back to 10 Bit RGB 444 r10k (lossless uncompressed).

The intention here is for archiving purposes: Take my originals, compress them to FFV, and restore them in the future back to uncompressed when needed. 

The results of my efforts are the two threads I started here (I am JasonCA):

http://forum.videohelp.com/threads/361133-Lossless-%2810-Bit-RGB-444%29-and-%2810-Bit-YUV-422%29-Compression-Codec-s?p=2290391&viewfull=1#post2290391

It turned out that I had great success using FFMpeg to do the following conversion:

---> 10 Bit YUV 422 r210 Original (lossless uncompressed) -> to FFV 
(lossless compressed) -> back to 10 Bit YUV 422 r210 (lossless 
uncompressed)

However, I could not use FFmpeg to convert the 10 Bit RGB 444 r10k files. Again, see the following link where you can see the commands issued to FFmpeg in my attempts here with r10k:

http://forum.videohelp.com/threads/361133-Lossless-%2810-Bit-RGB-444%29-and-%2810-Bit-YUV-422%29-Compression-Codec-s?p=2290391&viewfull=1#post2290391

It was advertised by Zeranoe FFmpeg that they could do both r210 and r10k. However, I didn't find this to be true, so I posted this issue on the Zeranoe FFmpeg forum:

http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=7&t=1731

I didn't get any feedback. However, I did get feedback from someone on VideoLan.org (rogerdpack) who resolved an issue with VideoLan's FFmpeg encoder:

http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=693a36b6

However, this fix is for r210. r210 didn't work with VideoLan FFmpeg but did work correctly with Zeranoe FFmpeg. By then I was using Zeranoe FFmpeg already as I gave up using VideoLan's. I've since stuck to using Zeranoe FFmpeg.

Still, this did not resolve my issue with lossless 10 Bit RGB 444 r10k  compression. I am good with v210 lossless compression, but not r10k. 

***Main Question***:

Is there any way I can use FFmpeg to compress in a lossless way 10 Bit RGB 444 r10k . In other words:
10 Bit RGB 444 r10k  Original (lossless uncompressed) -> to FFV 
(lossless compressed) -> back to 10 Bit RGB 444 r10k (lossless 
uncompressed).

Despite trying (been over a year), I've never been ever to get that to work. It may not still be supported, but I thought i would ask those who would be better aware then myself.

Thanks! And since today's Christmas, Merry Christmas to all!

Jason

 		 	   		  


More information about the ffmpeg-user mailing list