[MPlayer-G2-dev] Re: Data communication between demuxers and UIs

D Richard Felker III dalias at aerifal.cx
Sat Jan 24 05:42:45 CET 2004


On Sat, Jan 24, 2004 at 04:26:29AM +0200, Fre_ax wrote:
> >> In order to add new DVB channels with any of the guis one would need
> >> to definethings like name, frequency, polarity, satellite no, symbol
> >> rate, vpid, apid.
> >> There are plentty of ways to do this IMHO but id say dynamic config
> >> would stepin at some point.
> >>
> >> And no i dont mean just DVB channels but maybe also https user names,
> >> passwords,
> >> ports and maybe other streaming stuff that just cannot be treated as
> >> normal files.
> >
> > Eh? All of these can be treated as normal files in a playlist. They
> > all have urls. IMO this can be done very easily for DVB channels too,
> > and probably should...then some kind of aliasing/playlist system could
> > sit on top for selecting channels.
> 
> Hmm. Yeah it should be suitable IMHO.
> I think DVB playlists wouldnt even need real playlists as saving this
> "playlist"should get done at demuxer level where reading channels.conf currently takes
> place.

IMO a demuxer should not read config files itself. This is very bad
practice. Instead the DVB playlist code belongs at the playlist level,
in the player. The demuxer should just accept freq/etc. parameters
from the player.

> Implementing opendir, readdir, closedir, mkdir, rmdir ... for urls might just
> do it. Or is it done already ? :)<

Huh? It's not needed. Sometimes a url gives you a playlist (e.g. asx
streams) in which case that gets loaded by the playlist loader and
then played. DVB could do the same if it has a way of reading channel
info from the signal; I have no idea since I've never seen/used DVB.

Rich





More information about the MPlayer-G2-dev mailing list