[FFmpeg-devel] [PATCH] ffmpeg: raise level for message printed in case of auto-select pixel format

Paul B Mahol onemda at gmail.com
Thu Aug 1 00:43:06 CEST 2013


On 7/31/13, Nicolas George <nicolas.george at normalesup.org> wrote:
> Le tridi 13 thermidor, an CCXXI, Michael Niedermayer a ecrit :
>> i agree but still theres the case where no such option
>> is provided and currently -target doesnt limit the pix_fmt
>> (it could and easiest would be to split the x264 AVCodec in a 420 and
>> any pixfmt one i think)

Something silly is already done: libx264 and libx264rgb encoder.

>
> That would be an easy solution, but it would amount to a significant API
> and
> ABI break, IMHO.
>
> A better solution, and not much harder, may be to add a pix_fmts field to
> AVProfile, and use it instead of AVCodec.pix_fmts if it is defined to
> decide
> the pixel format. Then -target can set -profile too quite easily. That
> would
> also fix trac ticket #2827 that was coincidently opened today. I have not
> yet had time to see how hard it would be.
>
> Regards,
>
> --
>   Nicolas George
>


More information about the ffmpeg-devel mailing list