[FFmpeg-user] Preserve pix_fmt, regardless of codec?

Dave Rice daverice at mac.com
Thu Apr 26 15:56:08 CEST 2012


On Apr 26, 2012, at 6:54 AM, Peter B. wrote:

> Quoting Carl Eugen Hoyos <cehoyos at ag.or.at>:
> 
>>> That's my reason for posting this question here.
>> 
>> (Complete, uncut output missing.)
> 
> There is no exact case at this moment, but it was necessary to evaluate how ffmpeg handles this situation.

In my experience ffmpeg retains pixel format when feasible and support for pixel formats has been expanding a lot in the last year (especially with libx264 and ffv1).

>> Sorry, I honestly believe FFmpeg currently does exactly what
>> you asked.
>> It of course cannot always solve the problem (because not all
>> encoders support all colour-spaces), if you know a situation
>> where it decides badly, please tell us.
> 
> Thanks for the information!
> If I should encounter a situation where ffmpeg "decides badly", I'll let you know.

I have 10 bit RGB DPX files that are decoded to rgb48le. gbrp10le would be closer but this pixel format is not supported as an output and this pixel format wasn't available when the DPX support was written.
Dave

> Thanks,
> Pb
> 
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list