[Ffmpeg-devel] integrating AVS decoding into MPlayer

Måns Rullgård mru
Thu Jul 13 22:24:36 CEST 2006


"Stefan Gehrer" <stefan.gehrer at gmx.de> writes:

> Hi,
>
> I locally achieved to have playback of the AVS sample clips with MPlayer, but only after assigning a fourcc for it like so:
>
> Index: libavformat/riff.c
> ===================================================================
> --- libavformat/riff.c  (revision 5728)
> +++ libavformat/riff.c  (working copy)
> @@ -151,6 +151,7 @@
>      { CODEC_ID_CSCD, MKTAG('C', 'S', 'C', 'D') },
>      { CODEC_ID_ZMBV, MKTAG('Z', 'M', 'B', 'V') },
>      { CODEC_ID_KMVC, MKTAG('K', 'M', 'V', 'C') },
> +    { CODEC_ID_CAVS, MKTAG('C', 'A', 'V', 'S') },
>      { CODEC_ID_RAWVIDEO, 0 },
>      { CODEC_ID_NONE, 0 },
>  };
>
> and then adding a codec entry in MPlayer's etc/codecs.conf and playing
> back the file with
>
> mplayer -demuxer lavf stream01.avs
>
> Is there a way to do this without a fourcc? Because that 'CAVS' is
> just arbitrarily set by me, and that does not feel right.

I don't see how this fourcc gets used.  The files are MPEG PS, and the
lavf PS demuxer detects AVS video without consulting that table.

BTW, rumor has it the AVS creators have been asked to produce an
English translation.  I'll keep you posted if I hear more.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list