[Mplayer-cvslog] CVS: main cfg-common.h,1.89,1.90
Alban Bedel
albeu at free.fr
Fri Mar 28 07:54:32 CET 2003
Hi D Richard Felker III,
on Thu, 27 Mar 2003 22:15:18 -0500 you wrote:
> On Thu, Mar 27, 2003 at 11:18:05PM +0100, Arpi wrote:
> > Hi,
> >
> > > > > cfg-common.h
> > > > > Log Message:
> > > > > New option -audiofile-cache to enable a cache for the stream
> > > > > used by-audiofile
> > > >
> > > > Could this be expanded to work with non-interleaved AVI demuxer?
> > > > Then it would be possible to play ni-avi's from cdrom...
> > >
> > > I think that for the NI avi what we need is rather the possiblity of
> > > having 2 stream reading from the same cache. Here it's 2 different
> > > streams with 2 differents files.
> >
> > yes
> >
> > btw mplayer file.avi -audiofile file.avi -cache 2048 -audiofile-cache
> > 1024 could work
>
> Does that work? Last I checked, -audiofile refused to use demuxers for
> combined a/v and just supported pure audio files...
In theory it can work with any demuxer / stream. But in the real world
there is sowe limitations :(( Some stream (mainly dvd and vcd) use a
global var to enable themself so for the second stream it will just reopen
the same stream again.
There is sometimes the same problem with the demuxers, that's why i changed
rawaudio to enable itself only if the user forced the demuxer type (and
changed the on option to set the demuxer type instead of his dedicated var).
Finnaly the demuxer must be able to perfectly handle the 'demux only the
audio stream' case to be used as audio stream, and it must be 100%
reentrant if you need 2 time the same demuxer.
So as you see that's a lot of if but all well made stream / demuxer
should just work. If you find some demuxer combination that doesn't
work i can take a look it.
Albeu
More information about the MPlayer-cvslog
mailing list