[Ffmpeg-devel] [PATCH] RGB Raw ecoding
Benjamin Larsson
banan
Wed Aug 30 13:51:58 CEST 2006
Javier garcia skrev:
> Hello,
>
> Creating a AVI file with rawvideo as a codec and any of the following
> formats don't work:
>
> PIX_FMT_PAL8
> PIX_FMT_RGB555
> PIX_FMT_RGB565
> PIX_FMT_BGR24
> PIX_FMT_RGBA32
>
> The fourCC for those formats should be 0 but avi_write_header stores
> YUV420I as default if 0 is the current value for codec_tag.
>
> I propose as a fix, just, to move the line {CODEC_ID_RAWVIDEO,0}, from
> the end of const CodecTag codec_bmp_tags[] to the begining of the
> CODEC_ID_RAWVIDEO block (file libavformat/riff.c).
>
> Best regards,
> Javi
Send the patch as a unified diff, use svn diff.
MvH
Benjamin Larsson
More information about the ffmpeg-devel
mailing list