[FFmpeg-user] FFv1: Encode rgb48le?

Peter B. pb at das-werkstatt.com
Wed Jun 6 16:42:07 CEST 2012


Hello,

I want to show that converting DPX to FFv1 is lossless.
In my given scenario, I've got 48bit DPX (rgb48le), but when I use
"-pix_fmt rgb48le" as parameter for FFv1 encoding, I get the following
message:

"Incompatible pixel format 'rgb48le' for codec 'ffv1', auto-selecting
format 'yuv420p16le'"

When generating framemd5 of the original DPX, I saw that it said
"rgb48le", *but* used the FourCC "RGB0":

"Stream #0:0: Video: rawvideo (RGB0 / 0x30424752), rgb48le, 1920x1080
[SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 tbn, 25 tbc"

I've browsed ffv1.c and saw that "PIX_FMT_0RGB32" should be supported,
but when "-pix_fmt 0rgb32" didn't work - and using "-pix_fmt rgb32"
effectively used "bgra".


So, 2 questions about that:
1) When calculating the frame-md5 sums for the rgb48le DPX files, does
"RGB0" mean that it's truncated to 32bits?

2) How can I encode rgb48le in FFv1?


Thank you very much in advance,
Pb


More information about the ffmpeg-user mailing list