[FFmpeg-user] Preserve pix_fmt, regardless of codec?
Mike Scheutzow
mike.scheutzow at alcatel-lucent.com
Mon Apr 30 19:03:19 CEST 2012
Mark Himsley wrote:
> On 27/04/2012 15:05, Mike Scheutzow wrote:
>> Nicolas George wrote:
>>> L'octidi 8 floréal, an CCXX, Carl Eugen Hoyos a écrit :
>>>> Sorry, I honestly believe FFmpeg currently does exactly what you asked.
>>>
>>> Unfortunately, not at all.
>>>
>>> Currently, ffmpeg selects the best pixel format supported by the
>>> encoder.
>>
>>
>> My experience supports Carl's answer. Current git is not "selecting the
>> best pixel format supported", at least, not for all encoders.
>
> It depends very much on what your definition of "best" is.
>> ./ffmpeg -i infile.ts -vcodec libx264 -crf 25 out.ts
>>
>> If a yuv420p file is input, the output file is a yuv420p file.
>
> You're making it sound like this is bad. My definition of best does not
> include doing pointless up-conversions that will only waste bits.
If you think I was advocating chroma upconversion, you might want to
read this thread more carefully.
Mike Scheutzow
More information about the ffmpeg-user
mailing list