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

Nicolas George 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.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130801/e4854275/attachment.asc>

More information about the ffmpeg-devel mailing list