[Ffmpeg-devel] [PATCH] GUID is defined in the Windows API (DirectShow)

Rich Felker dalias
Thu Mar 2 01:38:15 CET 2006


On Thu, Mar 02, 2006 at 12:18:12AM +0100, Michael Niedermayer wrote:
> Hi
> 
> On Wed, Mar 01, 2006 at 04:23:17PM -0500, Rich Felker wrote:
> > On Wed, Mar 01, 2006 at 01:07:45PM -0800, Mike Melanson wrote:
> > > Ivan Kalvachev wrote:
> > > >shouldn't ffmpeg's asf.h be in some __packed__ __nonaligned__ etc... 
> > > >attributes?
> > > 
> > > 	Why? This implies that we intend to read data directly from 
> > > disk/network and into data structures in memory (or vice versa). Not a 
> > > good idea.
> > 
> > Yes, this is always incorrect.
> 
> may i replace libmpdemux by libavformat then? :))))))

Well, I'd be happy if we can do it at some point. Does lavf work
better than libmpdemux for all formats yet? What about performance? Is
there any hope of being able to implement zerocopy demuxing with lavf?
(libmpdemux does not do zerocopy but in theory a zerocopy demuxer with
mmapped stream later and madvise(MADV_SEQUENTIAL) or MADV_WILLNEED
could lead to significant performance gains -- fewer context switches
and much less cache pollution). I'd like to have zerocopy in the
next-gen MPlayer..

Rich





More information about the ffmpeg-devel mailing list