Inconsistency in input syntax ?

Xavier Marchesini xav at via.ecp.fr
Mon Mar 18 21:17:54 CET 2002


Hey, 

Ipkiss and I have noticed that the syntax that should be used for
udpstream is : "vlc udpstream://host", whereas the syntax for dvd
is "vlc dvd:device at ...", and http input, as an example, is "vlc
http://url".

As a consequence, at the moment, network input doesn't work if you
use "vlc udp://host" or if you use the interface to specify an host.
(Alexis, could you confirm please ? :)) - we got an error like that one :

input: access 'udp', demux '', name '//138.195.156.148'
input: opening server=//138.195.156.148 local=:0
BuildLocalAddr: unknown host //138.195.156.148

So, I see two options :

 - get rid of the '//' (not a good idea because url IS usually
foo://bar) ;

 - use '//' for dvd input (yeah, but not really pretty : vlc
dvd:///dev/dvd@...) ;

To my mind, the second solution is the best.

Any ideas, opinions, solutions ?

-- 
xav


-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list