[vlc] Re: remote command interface

Johann Ransay jransay at synelec.fr
Wed Sep 29 18:13:43 CEST 2004


Benjamin PRACHT wrote:
> 
> On Wed, Sep 29, 2004, Johann Ransay wrote :
> > Hello,
> >
> > Can someone tell me if and how it is possible to configure
> > a vlc player so that it plays a stream sent over another port
> > that the default 1234 with remote command interface, that is
> > with startup command line option: vlc --intf rc
> >
> > I tried:
> > add udp://10.2.0.230:1235
> > but it does not work (nothing happens)
> >
> > if I send the stream over the default port 1234 then the line
> > add udp://10.2.0.230 works perfectly
> >
> 
> UDP streaming is "push" video streaming. That means that the list of
> clients is specified server side, and that a client cannot make any
> request to the server. the only thing it can do is listening on a UDP
> port, waiting for data to be sent.
> 
> Therefore, "udp://10.2.0.230:1235" is a meaningless playlist item, and
> VLC prints a warning message, telling that this url won't be parsed
> completely. As a consequence, the default 1234 port is used.
> 
> try "add udp://:1235" instead.
> 
> --
> BigBen
> 

I tried but it still does not work. Here is the output

add udp://:1235
trying to add udp://:1235 to playlist
[00000189] main playlist debug: adding playlist item `udp://:1235' (
udp://:1235 )
add: returned 0 (no error)
[00000227] main private debug: prebuffering done 0 bytes in 55s - 0
kbytes/s
[00000227] main private error: cannot pre fill buffer
[00000224] main input warning: cannot create a stream_t from access
[00000019] main module debug: unlocking module "access_udp"
[00000224] main input debug: thread -1118069840 joined
(src/input/input.c:290)
[00000189] main playlist debug: creating new input thread
[00000228] main input debug: waiting for thread completion
[00000228] main input debug: `udp://:1235' gives access `udp' demux `'
path `:1235'
[00000228] main input debug: demux2_New: access='udp' demux=''
path=':1235'
[00000229] main demuxer debug: looking for access_demux module
[00000228] main input debug: thread -1118069840 (input) created at
priority 0 (src/input/input.c:228)
[00000229] main demuxer debug: probing 0 candidates
[00000229] main demuxer warning: no access_demux module matched "udp"
[00000228] main input debug: access2_New: access='udp' path=':1235'
[00000230] main access debug: looking for access2 module
[00000230] main access debug: probing 5 candidates
[00000230] access_udp access debug: opening server=:1235 local=:1234
[00000230] main access debug: net: connecting to ':1235@:1234'
[00000230] main access debug: looking for network module
[00000230] main access debug: probing 2 candidates
[00000230] ipv4 access debug: socket buffer size is 0x1fffe instead of
0x80000
[00000141] main module debug: using network module "ipv4"
[00000141] main module debug: unlocking module "ipv4"
[00000019] main module debug: using access2 module "access_udp"
[00000231] main private debug: pre buffering
 
the default 1234 port is still used

Johann

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list