[MPlayer-dev-eng] Re: native vs libavformat demuxers

Evgeniy Stepanov eugeni.stepanov at gmail.com
Mon Feb 26 00:42:15 CET 2007


On Monday 26 February 2007 02:41, Nico Sabbi wrote:
> Diego Biurrun wrote:
> > On Sun, Feb 25, 2007 at 11:25:13PM +0100, Nico Sabbi wrote:
> >>Since you all want to remove it, at least let's begin with removing
> >>code that is obsolete
> >>(e.g. demux_aac, demux_audio and demux_avi come to mind, maybe more)
> >
> > Hehe, I was thinking more of the obscure stuff like demux_film and
> > whatnot.
> >
> > I have a feeling that most of the libavformat demuxers except for
> > RealMedia are probably better than our native ones.  Did anybody compare
> > them in detail and/or run benchmarks?
> >
> > Diego
>
> never done, but there's one main problem to fix in the interface
> between libmpdemux and demux_lavf: removing the need to
> memcpy the payload from the av_packet to demux_packet;
> maybe extending the av_packet so as to report the amount of memory
> needed and passing to lavf demux_packet's buffer?
> or maybe something more good looking

And don't forget about subtitles. There is no subtitle support in demux_lavf.c 
and very little (it seems) in libavformat.



More information about the MPlayer-dev-eng mailing list