[FFmpeg-devel] [PATCH] add 'yuvs' to tags list

Baptiste Coudurier baptiste.coudurier
Tue Nov 30 00:12:02 CET 2010


On 11/29/10 9:48 AM, Andrew Wason wrote:
> Currently mencoder fails when encoding raw video with format=yuy2
> (PIX_FMT_YUYV422) with fourcc 'yuvs' because 'yuvs' is not in the
> libavformat/riff.c ff_codec_bmp_tags list and so mencoder uses
> CODEC_ID_NONE(0) instead of CODEC_ID_RAWVIDEO(14) for the output
> codec.
> Attached patch adds 'yuvs' to the list in libavformat. An alternative
> is to add it to mp_bmp_tags in mplayer libmpdemux/mp_taglists.c
> instead.

Well, usually yuvs is a mov fourcc, not a riff one, we would start to
duplicate all mov fourccs in that table soon.

Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org

More information about the ffmpeg-devel mailing list