[MPlayer-dev-eng] lavf demuxers and fourcc
Michael Niedermayer
michaelni at gmx.at
Thu Jul 15 01:43:50 CEST 2004
Hi
On Thursday 15 July 2004 00:56, Roberto Togni wrote:
> Hi all.
>
> I got into this problem while using lavf demuxer (and lavd decoder) to
> play raw h.261 files.
>
> MPlayer requires a fourcc to select the right codec, while lavf/lavc
> uses a codec_id. For codecs that have an official fourcc, the mapping
> is done with codec_get_bmp_tag(codec_id), but what to do with mplayer-
> only fourccs?
> Convert them in lavf (see attached patch) or add mplayer-specific
> fourccs to avienc.c in lavf?
>
> h261 is just a sample case (you can really find h261 video in avi, so
> probably should be added to lavf), but what about all the strange
> demuxers (fli, game formats, ...) that don't use fourccs?
well, IMHO every codec should have a fourcc in lavf, that way we can
streamcopy it into avi, nut or another general purpose format, it would also
be nice if we could tag such non-standard fourccs in the avienc.c table so
that a warning could be shown to the user, but thats not that important ATM
--
Michael
level[i]= get_vlc(); i+=get_vlc(); (violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]); (violates patent #5,905,535)
buf[i]= qp - buf[i-1]; (violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en
More information about the MPlayer-dev-eng
mailing list