Help with RTSP
Posted: 25 Jul 2007 22:01
Trying to use VLC as video server for VOD on Windows XP.
These are my steps:
1. Start VLC server
vlc -I telnet --telnet-port 4212 --telnet-password pwd --rtsp-host 0.0.0.0:554
2. Use puttytel as telnet client, connect to vlc
3. When connected, in telnet:
new f1 vod enabled
setup f1 input "c:\1\f1.ts"
4. Trying to play on the same machine
vlc.exe rtsp://127.0.0.1/f1
everything looks perfect.
When trying to play from remote machine (like vlc.exe rtsp://ip-address/f1 , here ip-address is ip of the server), it is not playing at all. Can't understand what I am doing wrong. Below are messages on the vlc client:
main debug: creating new input thread
main debug: waiting for thread completion
main debug: `rtsp://206.53.60.107/f1' gives access `rtsp' demux `' path `206.53.60.107/f1'
main debug: creating demux: access='rtsp' demux='' path='206.53.60.107/f1'
main debug: looking for access_demux module: 1 candidate
main debug: thread 4056 (input) created at priority 1 (input/input.c:265)
live555 debug: RTP subsession 'video/MPV'
live555 debug: RTP subsession 'audio/MPA'
main debug: selecting program id=0
main debug: using access_demux module "live555"
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\
main debug: looking for decoder module: 28 candidates
main debug: using decoder module "libmpeg2"
main debug: thread 3988 (decoder) created at priority 0 (input/decoder.c:159)
main debug: looking for decoder module: 28 candidates
main debug: using decoder module "mpeg_audio"
main debug: thread 4120 (decoder) created at priority 2 (input/decoder.c:159)
main debug: `rtsp://206.53.60.107/f1' successfully opened
live555 warning: no data received in 10s. Switching to TCP
live555 debug: RTP subsession 'video/MPV'
live555 debug: RTP subsession 'audio/MPA'
live555 error: no data received in 10s, aborting
main debug: EOF reached
main debug: closing input
main debug: removing module "live555"
main debug: removing module "libmpeg2"
main debug: thread times: real 0m13.375000s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 3988 joined (input/decoder.c:191)
main debug: killing decoder fourcc `mpgv', 0 PES in FIFO
main debug: removing module "mpeg_audio"
main debug: thread times: real 0m13.375000s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 4120 joined (input/decoder.c:191)
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: thread times: real 0m14.875000s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 4056 joined (input/input.c:412)
main: nothing to play
These are my steps:
1. Start VLC server
vlc -I telnet --telnet-port 4212 --telnet-password pwd --rtsp-host 0.0.0.0:554
2. Use puttytel as telnet client, connect to vlc
3. When connected, in telnet:
new f1 vod enabled
setup f1 input "c:\1\f1.ts"
4. Trying to play on the same machine
vlc.exe rtsp://127.0.0.1/f1
everything looks perfect.
When trying to play from remote machine (like vlc.exe rtsp://ip-address/f1 , here ip-address is ip of the server), it is not playing at all. Can't understand what I am doing wrong. Below are messages on the vlc client:
main debug: creating new input thread
main debug: waiting for thread completion
main debug: `rtsp://206.53.60.107/f1' gives access `rtsp' demux `' path `206.53.60.107/f1'
main debug: creating demux: access='rtsp' demux='' path='206.53.60.107/f1'
main debug: looking for access_demux module: 1 candidate
main debug: thread 4056 (input) created at priority 1 (input/input.c:265)
live555 debug: RTP subsession 'video/MPV'
live555 debug: RTP subsession 'audio/MPA'
main debug: selecting program id=0
main debug: using access_demux module "live555"
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\
main debug: looking for decoder module: 28 candidates
main debug: using decoder module "libmpeg2"
main debug: thread 3988 (decoder) created at priority 0 (input/decoder.c:159)
main debug: looking for decoder module: 28 candidates
main debug: using decoder module "mpeg_audio"
main debug: thread 4120 (decoder) created at priority 2 (input/decoder.c:159)
main debug: `rtsp://206.53.60.107/f1' successfully opened
live555 warning: no data received in 10s. Switching to TCP
live555 debug: RTP subsession 'video/MPV'
live555 debug: RTP subsession 'audio/MPA'
live555 error: no data received in 10s, aborting
main debug: EOF reached
main debug: closing input
main debug: removing module "live555"
main debug: removing module "libmpeg2"
main debug: thread times: real 0m13.375000s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 3988 joined (input/decoder.c:191)
main debug: killing decoder fourcc `mpgv', 0 PES in FIFO
main debug: removing module "mpeg_audio"
main debug: thread times: real 0m13.375000s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 4120 joined (input/decoder.c:191)
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: thread times: real 0m14.875000s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 4056 joined (input/input.c:412)
main: nothing to play