[Ffmpeg-devel] [PATCH] AVRn fourcc

Måns Rullgård mans
Sat Mar 31 18:22:37 CEST 2007


Baptiste Coudurier <baptiste.coudurier at smartjog.com> writes:

> Hi
>
> $subj,
> http://samples.mplayerhq.hu/V-codecs/MJPEGs/AVID-AVRn/JPG-to-AVID.avi
>
> Index: libavformat/riff.c
> ===================================================================
> --- libavformat/riff.c	(revision 8560)
> +++ libavformat/riff.c	(working copy)
> @@ -104,6 +104,7 @@
>      { CODEC_ID_MJPEG, MKTAG('M', 'J', 'L', 'S') }, /* JPEG-LS custom FOURCC for avi - decoder */
>      { CODEC_ID_MJPEG, MKTAG('j', 'p', 'e', 'g') },
>      { CODEC_ID_MJPEG, MKTAG('I', 'J', 'P', 'G') },
> +    { CODEC_ID_MJPEG, MKTAG('A', 'V', 'R', 'n') },
>      { CODEC_ID_JPEGLS, MKTAG('M', 'J', 'L', 'S') }, /* JPEG-LS custom FOURCC for avi - encoder */
>      { CODEC_ID_HUFFYUV, MKTAG('H', 'F', 'Y', 'U') },
>      { CODEC_ID_FFVHUFF, MKTAG('F', 'F', 'V', 'H') },

OK.  You can apply stuff like this without asking.  Just remember to
add new tags after others for the same codec so they don't get used
when muxing.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list