[FFmpeg-devel] [PATCH] ffmpeg: raise level for message printed in case of auto-select pixel format
nicolas.george at normalesup.org
Thu Aug 1 00:31:05 CEST 2013
Le tridi 13 thermidor, an CCXXI, Michael Niedermayer a écrit :
> 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)
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel