[MPlayer-advusers] playlist parser as a demuxer?

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Jan 12 20:37:44 CET 2005


Hi,
On Wed, Jan 12, 2005 at 04:29:20PM +0100, Diego Biurrun wrote:
> Reimar Döffinger writes:
> > On Sat, Jan 01, 2005 at 03:29:29PM -0500, compn wrote:
> > > i know this has been talked about with automatic playlist parsing
> > > but what was the final verdict? is it possible to have the parser
> > > be called as a demuxer (always the last demuxer) and only for
> > > files under 10k filesize (or if on streaming servers that dont
> > > report size, for asx, pls, ram, smi, smil)?
> > > 
> > > e.g. -playlist becomes -demuxer 99 ?
> > 
> > I am totally against it, for multiple reason. A playlist is something
> > very different than a media file and forcably handling it like one by
> > moving a demuxer will most probably become a bug.
> 
> FYI, handling playlists as/with a demuxer is what Arpi planned for G2.
> 
> > Also there is a security aspect. Playlist can contain any filename
> > located anywhere, they should not be executed "just like that" without
> > the user knowing about it.
> 
> And how is that alleviated by adding -playlist to the command line?
> It will still just play whatever file the playlist points at..

Yes, but I don't use -playlist, I just download that file and look for
the URL.

> For better or worse, -playlist is basically the expected behavior for
> streams and all other players don't need (obscure) options added to
> the command line.

"That's how others do it" is not really a good argument.
More important is making -playlist work with playlists that point to
playlists. But it should not be done with a demuxer, as that demuxer
would have to load the true demuxer for demuxing...
Instead the files should be added to the playtree (although demuxer.c
might be the right place to add the needed code)...

Greetings,
Reimar Döffinger




More information about the MPlayer-advusers mailing list