[vlc] Re: trying to setup vod server through firewall (take 2)
jason at monsterjam.org
jason at monsterjam.org
Sat Nov 4 03:20:29 CET 2006
ok, so now we have another interface on this server hanging directly on the internet.
and I start up the server
jason at badger ~ $ sudo vlc --ttl 34 -vvv --color -I telnet --telnet-password crap --rtsp-host 208.11.172.91
VLC media player 0.8.4a Janus
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main vlc warning: cannot load module `/usr/lib/vlc/stream_out/libstream_out_switcher
_plugin.so' (/usr/lib/vlc/stream_out/libstream_out_switcher_plugin.so: undefined symbol: avcode
c_init)
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 197 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main vlc debug: looking for memcpy module: 3 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000468] main playlist debug: waiting for thread completion
[00000468] main playlist debug: thread 3051723680 (playlist) created at priority 0 (src/playlis
t/playlist.c:183)
[00000469] main private debug: waiting for thread completion
[00000469] main private debug: thread 3043330976 (preparser) created at priority 0 (src/playlis
t/playlist.c:205)
[00000470] main interface debug: looking for interface module: 1 candidate
[00000345] main module debug: using interface module "hotkeys"
[00000470] main interface debug: interface initialized
[00000470] main interface debug: thread 3034938272 (interface) created at priority 0 (src/inter
face/interface.c:211)
[00000471] main interface debug: looking for interface module: 4 candidates
[00000361] main module debug: using interface module "screensaver"
[00000471] main interface debug: interface initialized
[00000471] main interface debug: thread 3026545568 (interface) created at priority 0 (src/inter
face/interface.c:211)
[00000472] main interface debug: looking for interface module: 4 candidates
[00000472] main interface: creating vlm
[00000473] main vlm debug: thread 3018152864 (vlm thread) created at priority 0 (src/misc/vlm.c
:105)
[00000472] telnet interface: Using the VLM interface plugin...
[00000472] main interface debug: net: listening to port 4212
[00000472] telnet interface: Telnet interface started on interface 4212
[00000347] main module debug: using interface module "telnet"
[00000472] main interface debug: interface initialized
[00000472] main interface debug: thread 3009760160 (manager) created at priority 0 (src/interfa
ce/interface.c:196)
[00000474] main private debug: looking for vod server module: 1 candidate
[00000474] main private: creating httpd
[00000474] main private debug: net: listening to 208.11.172.91 port 554
[00000476] main private debug: thread 3001367456 (httpd host thread) created at priority 0 (src
/misc/httpd.c:1189)
[00000351] main module debug: using vod server module "vod_rtsp"
[00000477] main input debug: set input option: sout to #description
[00000477] main input debug: waiting for thread completion
[00000477] main input debug: thread 2992974752 (input) created at priority 0 (src/input/input.c
:230)
[00000478] main stream output debug: stream=`description'
[00000479] main private debug: looking for sout stream module: 1 candidate
[00000425] main module debug: using sout stream module "stream_out_description"
[00000477] main input debug: `snowbaby001.mpeg' gives access `' demux `' path `snowbaby001.mpeg
'
[00000477] main input debug: creating demux: access='' demux='' path='snowbaby001.mpeg'
[00000480] main demuxer debug: looking for access_demux module: 0 candidates
[00000480] main demuxer warning: no access_demux module matched "any"
[00000477] main input debug: creating access '' path='snowbaby001.mpeg'
....
but now when I try to connect with a client, the server says the following.
RtspCallback query: type=7
RtspCallback query: type=8
HTTPD_MSG_SETUP: transport=RTP/AVP;unicast;client_port=1662-1663
HTTPD_MSG_SETUP: unicast ip=66.57.16.135 port=1662
[00000474] vod_rtsp private debug: new session: 69949729
RtspCallback query: type=8
HTTPD_MSG_SETUP: transport=RTP/AVP;unicast;client_port=1668-1669
HTTPD_MSG_SETUP: unicast ip=66.57.16.135 port=1668
RtspCallback query: type=9
[00000474] vod_rtsp private debug: HTTPD_MSG_PLAY for session: 69949729
[00000577] main input debug: set input option: sout to
#rtp{dst=66.57.16.135,port-video=1662,port-audio=1668}
[00000577] main input debug: waiting for thread completion
[00000578] main stream output debug: stream=`rtp'
[00000579] main private debug: looking for sout stream module: 1 candidate
[00000579] main private debug: set sout option: sout-rtp-dst to 66.57.16.135
[00000579] main private debug: set sout option: sout-rtp-port-video to 1662
[00000579] main private debug: set sout option: sout-rtp-port-audio to 1668
[00000420] main module debug: using sout stream module "stream_out_rtp"
[00000577] main input debug: `snowbaby001.mpeg' gives access `' demux `' path `snowbaby001.mpeg'
[00000577] main input debug: creating demux: access='' demux='' path='snowbaby001.mpeg'
[00000580] main demuxer debug: looking for access_demux module: 0 candidates
[00000580] main demuxer warning: no access_demux module matched "any"
[00000577] main input debug: creating access '' path='snowbaby001.mpeg'
[00000581] main access debug: looking for access2 module: 4 candidates
[00000581] access_file access debug: opening file `snowbaby001.mpeg'
[00000404] main module debug: using access2 module "access_file"
[00000582] main private debug: pre buffering
[00000582] main private debug: received first data for our buffer
[00000582] main private debug: prebuffering done 1408981 bytes in 0s - 766977 kbytes/s
[00000577] main input debug: creating demux: access='' demux='' path='snowbaby001.mpeg'
[00000577] main input debug: thread 2992974752 (input) created at priority 0
(src/input/input.c:230)
[00000583] main demuxer debug: looking for demux2 module: 37 candidates
[00000583] ts demuxer warning: TS module discarded (lost sync)
[00000457] main module debug: using demux2 module "ps"
[00000577] main input debug: starting in synch mode
[00000577] main input debug: `snowbaby001.mpeg' successfully opened
[00000577] main input debug: selecting program id=0
[00000584] main packetizer debug: looking for packetizer module: 15 candidates
[00000267] main module debug: using packetizer module "mpeg_audio"
[00000577] main input debug: stream out mode -> no decoder thread
[00000585] main packetizer debug: looking for packetizer module: 15 candidates
[00000372] main module debug: using packetizer module "packetizer_mpegvideo"
[00000577] main input debug: stream out mode -> no decoder thread
[00000585] packetizer_mpegvideo packetizer debug: Size 720x480 fps=29.970
[00000578] main stream output debug: adding a new input
[00000586] main private debug: looking for sout access module: 1 candidate
[00000586] main private debug: set sout option: sout-udp-raw to (null)
[00000587] main private debug: looking for network module: 1 candidate
[00000367] main module debug: using network module "ipv4"
[00000367] main module debug: unlocking module "ipv4"
[00000587] main private debug: thread 2971995040 (sout write thread) created at priority 0
(udp.c:293)
[00000586] access_output_udp private debug: udp access output opened(66.57.16.135:1662)
[00000386] main module debug: using sout access module "access_output_udp"
[00000579] stream_out_rtp private debug: access out udp{raw}:66.57.16.135:1662
[00000579] stream_out_rtp private debug: maximum RTP packet size: 1450 bytes
sdp=v=0
o=- 1162606282796039 1 IN IP4 127.0.0.1
s=NONE
t=0 0
a=tool:vlc 0.8.4a
c=IN IP4 66.57.16.135
m=video 1662 RTP/AVP 32
a=rtpmap:32 MPV/90000
[00000578] main stream output warning: trying to send non-dated packet to stream output!
[00000584] mpeg_audio packetizer debug: MPGA channels:2 samplerate:44100 bitrate:224
[00000578] main stream output debug: adding a new input
[00000588] main private debug: looking for sout access module: 1 candidate
[00000588] main private debug: set sout option: sout-udp-raw to (null)
[00000589] main private debug: looking for network module: 1 candidate
[00000367] main module debug: using network module "ipv4"
[00000367] main module debug: unlocking module "ipv4"
[00000589] main private debug: thread 2963602336 (sout write thread) created at priority 0
(udp.c:293)
[00000588] access_output_udp private debug: udp access output opened(66.57.16.135:1668)
[00000386] main module debug: using sout access module "access_output_udp"
[00000579] stream_out_rtp private debug: access out udp{raw}:66.57.16.135:1668
[00000579] stream_out_rtp private debug: maximum RTP packet size: 1450 bytes
sdp=v=0
o=- 1162606282796039 2 IN IP4 127.0.0.1
s=NONE
t=0 0
a=tool:vlc 0.8.4a
c=IN IP4 66.57.16.135
m=video 1662 RTP/AVP 32
a=rtpmap:32 MPV/90000
m=audio 1668 RTP/AVP 14
a=rtpmap:14 MPA/90000
[00000587] access_output_udp private warning: send error: Connection refused
[00000589] access_output_udp private warning: send error: Connection refused
[00000589] access_output_udp private warning: send error: Connection refused
[00000587] access_output_udp private warning: send error: Connection refused
[00000587] access_output_udp private warning: send error: Connection refused
RtspCallback query: type=11
and the client says:
Sending request: OPTIONS rtsp://208.11.172.91:554/test RTSP/1.0
CSeq: 13
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)
Received OPTIONS response: RTSP/1.0 200 Ok
Cseq: 13
Server: VLC Server
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE
Content-Length: 0
Sending request: DESCRIBE rtsp://208.11.172.91:554/test RTSP/1.0
CSeq: 14
Accept: application/sdp
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)
Received DESCRIBE response: RTSP/1.0 200 OK
Content-type: application/sdp
Server: VLC Server
Content-Length: 308
Cseq: 14
Cache-Control: no-cache
Need to read 308 extra bytes
Read 308 extra bytes: v=0
o=- 1162605574945792 3 IN IP4 208.11.172.91
t=0 0
a=tool:vlc 0.8.4a
c=IN IP4 0.0.0.0
a=range:npt=0-37.141
m=video 0 RTP/AVP 32
a=rtpmap:32 MPV/90000
a=control:rtsp://208.11.172.91:554/test/trackid=0
m=audio 0 RTP/AVP 14
a=rtpmap:14 MPA/90000
a=control:rtsp://208.11.172.91:554/test/trackid=1
Sending request: SETUP rtsp://208.11.172.91:554/test/trackid=0 RTSP/1.0
CSeq: 15
Transport: RTP/AVP;unicast;client_port=1662-1663
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)
Received SETUP response: RTSP/1.0 200 OK
Transport: RTP/AVP/UDP;client_port=1662-1663
Server: VLC Server
Content-Length: 0
Cseq: 15
Cache-Control: no-cache
Session: 69949729
Sending request: SETUP rtsp://208.11.172.91:554/test/trackid=1 RTSP/1.0
CSeq: 16
Transport: RTP/AVP;unicast;client_port=1668-1669
Session: 69949729
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)
Received SETUP response: RTSP/1.0 200 OK
Transport: RTP/AVP/UDP;client_port=1668-1669
Server: VLC Server
Content-Length: 0
Cseq: 16
Cache-Control: no-cache
Session: 69949729
Sending request: PLAY rtsp://208.11.172.91:554/test RTSP/1.0
CSeq: 17
Session: 69949729
Range: npt=0.000-
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)
Received PLAY response: RTSP/1.0 200 OK
Server: VLC Server
Content-Length: 0
Cseq: 17
Cache-Control: no-cache
Session: 69949729;timeout=5
Sending request: TEARDOWN rtsp://208.11.172.91:554/test RTSP/1.0
CSeq: 18
Session: 69949729
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)
Received TEARDOWN response: RTSP/1.0 200 OK
Server: VLC Server
Content-Length: 0
Cseq: 18
Cache-Control: no-cache
Session: 69949729;timeout=5
ideas?
regards,
Jason
On Thu, Nov 02, 2006 at 05:38:26AM -0800, Ross Finlayson wrote:
> >hey, im trying to set up a streaming vod server per the instructions at
> >http://www.videolan.org/doc/streaming-howto/en/ch05.html
> >and I can get it to stream a mpeg from a linux server to a linux
> >client just fine on
> >a local network.
> >
> >but when I run the vod server on a remote linux server thats behind
> >a checkpoint
> >firewall, It just doesnt work. heres the command im running on the server
> >vlc --ttl 34 -vvv --color -I telnet --telnet-password videolan --rtsp-host
> >0.0.0.0:8080
>
> The "--rtsp-host 0.0.0.0:8080" appears to be the problem. You need
> to specify a real server IP address, rather than "0.0.0.0".
> --
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
> --
> This is the vlc mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://www.videolan.org/support/lists.html
>
--
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