[MPlayer-dev-eng] MPlayer G2

Ivan Szanto szivan at duticai.TWI.TUDelft.NL
Wed Apr 9 23:46:48 CEST 2003


On Wed, 9 Apr 2003, D Richard Felker III wrote:

> On Wed, Apr 09, 2003 at 12:40:49AM +0200, Arpi wrote:
> > i'll port some demuxers (probably asf and real will be the first, since they
> > do work ok now and i have files with multiple streams for testing)
> > i'll rewrite avi and mpeg demuxers, mostly from scratch. teh new avi demuxer
> > will do runtime index building, and will support opendml.
>
> IMO the runtime index building should be a separate layer of the
> demuxer code, so that it can work with ANY demuxer, not just AVI. I
> don't see how it's at all AVI-specific.
>
> Rich

 runtime index building and multiple streams support
  sound really cool!

I imagine this can then be used for the following multiple streams:

1. encoding video and sound from TV-card to an avi file
2. playing the same file in a window

   - with seek support, because the index of the file is being built
     runtime. The question is where this index will reside, because
     afaict the index always goes to the end of the avi file, which
     would imo not be handy in such a case. Maybe the index should
     be kept in memory, so that the second stream can access it?

3. maybe playing other parts of the same file in other windows,
   but this I don't insist on (hab a tortan=topping on the cake)

A'rpi, do you think this will be possible with G2? It would be
really cool...

Ivan

ps. Maybe this is not the inteded use (or maybe totally obvious),
    but I already use mencoder and mplayer at the same time in
    separate processes to do 1 and 2. Only I can not seek with
    mplayer, since there is no idx (forceidx can only build the
    index of the existing part of the file made by mencoder)



More information about the MPlayer-dev-eng mailing list