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

Michael Niedermayer michaelni at gmx.at
Wed Jul 31 01:55:17 CEST 2013


On Wed, Jul 31, 2013 at 01:07:22AM +0200, Nicolas George wrote:
> Le tridi 13 thermidor, an CCXXI, Michael Niedermayer a écrit :
> > there a fileformat, theres the -target and theres the codec profile
> > and level.
> > These should provide sufficient informatio about what the target
> > player kind would be and its ffmpegs job to figure out from that
> > what pixel format can be used. Its not the users job to know if a
> > ipod can do 444 or a dvd allows 422 mpeg2. he just specifies what
> > he is encoding for and if our selection of formats/targets/profiles
> > codecs isnt enough then it could be extended.
> 
> I am totally in favour of "-target foo" selecting a pixel format compatible
> with foo (in fact, not doing so could be considered a misfeature).
> 
> But that still leaves the question of what happens when the user neglects to
> provide a -target option or similar.
> 

> To that question, my answer is: urge the user to provide a -target option.

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)

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- 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/20130731/0d29b0f0/attachment.asc>


More information about the ffmpeg-devel mailing list