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

Nicolas George nicolas.george at normalesup.org
Wed Jul 31 01:07:22 CEST 2013


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.

And not: assume that the user wants a video compatible with an ipod (they
probably do not own) and will be fine with blurry edges.

Regards,

-- 
  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/20130731/e5ba7c6f/attachment.asc>


More information about the ffmpeg-devel mailing list