0.9.9a RTSP (TCP) relay to multicast fails.

*nix specific usage questions
oscord
Blank Cone
Blank Cone
Posts: 13
Joined: 12 Sep 2007 23:17

0.9.9a RTSP (TCP) relay to multicast fails.

Postby oscord » 15 Jun 2009 18:40

Hi all.

I use 0.9.9a on RHEL 4 32bit machine. It works fine most of the time, and I'm trying to repeat a task I can still do fine with 0.8.6h build, but it fails on 0.9.9a for some reason.

I have live radio feed, RTSP over TCP; VLC opens it and all I ask is leave it as is and RTP it out over multicast. For some reason it has a hard time doing it.

COMMAND:
# vlc "rtsp://192.168.1.22/ckfm56.sdp" --sout '#rtp{port-audio=17008,dst=229.1.1.10,ttl=2,sdp=file:///root/chumradio_01.sdp}' -d


The feed comes in from DSS, and vlc can play it, save it as file, transcode it if necessary, but not relay it.

-vvv reveals no errors:

Code: Select all

/vlc1.0/bin/vlc "rtsp://192.168.1.22/ckfm56.sdp" --sout '#rtp{port-audio=17008,dst=229.1.1.10,ttl=2,sdp=file:///root/chumradio_01.sdp}' -vvv --color VLC media player 0.9.9a Grishenko [00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team [00000001] main libvlc debug: libvlc was configured with ./configure '--prefix=/vlc1.0' '--disable-rpath' '--disable-testsuite' '--enable-static' '--enable-release' '--disable-arts' '--disable-gnomevfs' '--disable-pvr' '--disable-dc1394' '--enable-dvbpsi' '--disable-dvdnav' '--disable-fribidi' '--disable-qt4' '--disable-skins2' '--disable-x11' '--disable-opengl' '--disable-sdl' '--disable-fluidsynth' '--enable-libcdio' '--enable-cddax' '--enable-vcdx' '--disable-libcddb' '--disable-telx' '--disable-zvbi' '--disable-snapshot' '--disable-caca' '--disable-aa' '--disable-galaktos' '--disable-flac' '--disable-shout' '--disable-schroedinger' '--enable-live555' '--with-live555-tree=/vlc_source/live/' '--disable-speex' '--enable-x264' '--with-x264-tree=/vlc_source/x264-snapshot-20090526-2245' '--enable-a52' '--with-a52-tree=/vlc_source/a52dec-0.7.4' '--disable-dca' '--enable-faad' '--with-faad-tree=/vlc_source/faad2-2.7' '--enable-twolame' '--with-twolame-tree=/vlc_source/twolame-0.3.12' '--disable-ogg' '--disable-vorbis' '--disable-theora' '--enable-avcodec' '--enable-avformat' '--disable-xvideo' '--disable-glx' '--disable-xinerama' '--disable-visual' '--disable-bonjour' '--enable-swscale' '--disable-svgalib' 'AVCODEC_LIBS=-lavcodec -lbz2 -lz -lamrnb -lmp3lame -lfaac -ldl -lavutil -lm' 'AVCODEC_CFLAGS=' '--disable-debug' '--enable-run-as-root' '--disable-hal' '--disable-dbus' '--disable-dbus-control' '--disable-remoteosd' '--disable-v4l' '--disable-v4l2' '--disable-libv4l2' '--disable-esd' '--disable-libxml2' 'CFLAGS=-O2 -fPIC -march=i486 -mtune=i686 -I/vlc/usr/include' 'LDFLAGS=-L/vlc/usr/lib' 'CPPFLAGS=-I/vlc/usr/include' 'CXXFLAGS=-O2 -fPIC -march=i486 -mtune=i686 -I/vlc/usr/include' 'PKG_CONFIG_PATH=/vlc/usr/lib/pkgconfig' [00000001] main libvlc debug: translation test: code is "C" [00000001] main libvlc debug: checking builtin modules [00000001] main libvlc debug: checking plugin modules [00000001] main libvlc debug: loading plugins cache file /root/.cache/vlc/plugins-04041e.dat [00000001] main libvlc debug: recursively browsing `/vlc1.0/lib/vlc' [00000001] main libvlc debug: module bank initialized, found 231 modules [00000001] main libvlc debug: opening config file (/root/.config/vlc/vlcrc) [00000001] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU [00000001] main libvlc debug: looking for memcpy module: 3 candidates [00000001] main libvlc debug: using memcpy module "memcpymmxext" [00000311] main interaction debug: thread 3084520352 (Interaction control) created at priority 0 (interface/interaction.c:382) [00000313] main input debug: Creating an input for 'Media Library' [00000313] main input debug: Input is a meta file: disabling unneeded options [00000313] main input debug: `file/xspf-open:///root/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/root/.local/share/vlc/ml.xspf' [00000313] main input debug: creating access 'file' path='/root/.local/share/vlc/ml.xspf' [00000314] main access debug: looking for access module: 3 candidates [00000311] main interaction debug: thread started [00000314] access_file access debug: opening file `/root/.local/share/vlc/ml.xspf' [00000314] main access debug: using access module "access_file" [00000314] main access debug: TIMER module_Need() : 0.513 ms - Total 0.513 ms / 1 intvls (Avg 0.513 ms) [00000319] main stream debug: Using AStream*Stream [00000319] main stream debug: pre-buffering... [00000319] main stream debug: received first data for our buffer [00000313] main input debug: creating demux: access='file' demux='xspf-open' path='/root/.local/share/vlc/ml.xspf' [00000320] main demux debug: looking for demux module: 1 candidate [00000320] playlist demux debug: using XSPF playlist reader [00000320] main demux debug: using demux module "playlist" [00000320] main demux debug: TIMER module_Need() : 0.304 ms - Total 0.304 ms / 1 intvls (Avg 0.304 ms) [00000313] main input debug: `file/xspf-open:///root/.local/share/vlc/ml.xspf' successfully opened [00000335] main xml debug: looking for xml module: 1 candidate [00000335] main xml debug: using xml module "xtag" [00000335] main xml debug: TIMER module_Need() : 0.167 ms - Total 0.167 ms / 1 intvls (Avg 0.167 ms) [00000320] playlist demux debug: parsed 0 tracks successfully [00000335] main xml debug: removing module "xtag" [00000313] main input debug: EOF reached [00000313] main input debug: control type=1 [00000320] main demux debug: removing module "playlist" [00000314] main access debug: removing module "access_file" [00000313] main input debug: TIMER input launching for 'Media Library' : 2.532 ms - Total 2.532 ms / 1 intvls (Avg 2.532 ms) [00000337] main preparser debug: waiting for thread initialization [00000337] main preparser debug: thread started [00000337] main preparser debug: thread 3072326560 (preparser) created at priority 0 (playlist/thread.c:79) [00000338] main fetcher debug: waiting for thread initialization [00000338] main fetcher debug: thread started [00000338] main fetcher debug: thread 3061836704 (fetcher) created at priority 0 (playlist/thread.c:108) [00000312] main playlist debug: waiting for thread initialization [00000312] main playlist debug: thread started [00000312] main playlist debug: thread 3051346848 (playlist) created at priority 0 (playlist/thread.c:117) [00000339] main interface debug: looking for interface module: 1 candidate [00000339] main interface debug: using interface module "hotkeys" [00000339] main interface debug: TIMER module_Need() : 0.186 ms - Total 0.186 ms / 1 intvls (Avg 0.186 ms) [00000312] main playlist debug: rebuilding array of current - root Playlist [00000312] main playlist debug: rebuild done - 0 items, index -1 [00000339] main interface debug: thread started [00000339] main interface debug: thread 3040856992 (interface) created at priority 0 (interface/interface.c:168) [00000341] main interface debug: looking for interface module: 1 candidate [00000341] main interface debug: using interface module "screensaver" [00000341] main interface debug: TIMER module_Need() : 0.210 ms - Total 0.210 ms / 1 intvls (Avg 0.210 ms) [00000341] main interface debug: thread 3030367136 (interface) created at priority 0 (interface/interface.c:168) [00000341] main interface debug: thread started [00000312] main playlist debug: adding item `rtsp://192.168.1.22/ckfm56.sdp' ( rtsp://192.168.1.22/ckfm56.sdp ) [00000343] main interface debug: looking for interface module: 13 candidates [00000343] main interface debug: using interface module "signals" [00000343] main interface debug: TIMER module_Need() : 0.117 ms - Total 0.117 ms / 1 intvls (Avg 0.117 ms) [00000343] main interface debug: thread 3009387424 (interface) created at priority 0 (interface/interface.c:168) [00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [00000345] main interface debug: looking for interface module: 1 candidate Remote control interface initialized. Type `help' for help. [00000345] main interface debug: using interface module "rc" [00000345] main interface debug: TIMER module_Need() : 0.272 ms - Total 0.272 ms / 1 intvls (Avg 0.272 ms) [00000345] main interface debug: thread 2998893472 (interface) created at priority 0 (interface/interface.c:168) [00000343] main interface debug: thread started [00000345] main interface debug: thread started [00000312] main playlist debug: starting new item [00000312] main playlist debug: processing request item null node Playlist skip 0 [00000312] main playlist debug: rebuilding array of current - root Playlist [00000312] main playlist debug: rebuild done - 1 items, index -1 [00000312] main playlist debug: creating new input thread [00000347] main input debug: Creating an input for 'rtsp://192.168.1.22/ckfm56.sdp' [00000347] main input debug: waiting for thread initialization [00000347] main input debug: thread started [00000347] main input debug: thread 2988403616 (input) created at priority 10 (input/input.c:370) [00000348] main stream output debug: stream=`rtp' [00000349] main stream out debug: looking for sout stream module: 1 candidate [00000349] main stream out debug: set config option: sout-rtp-port-audio to 17008 [00000349] main stream out debug: set config option: sout-rtp-dst to 229.1.1.10 [00000349] main stream out debug: set config option: sout-rtp-ttl to 2 [00000349] main stream out debug: set config option: sout-rtp-sdp to file:///root/chumradio_01.sdp [00000349] main stream out debug: using sout stream module "stream_out_rtp" [00000349] main stream out debug: TIMER module_Need() : 2.338 ms - Total 2.338 ms / 1 intvls (Avg 2.338 ms) [00000347] main input debug: `rtsp://192.168.1.22/ckfm56.sdp' gives access `rtsp' demux `' path `192.168.1.22/ckfm56.sdp' [00000347] main input debug: creating demux: access='rtsp' demux='' path='192.168.1.22/ckfm56.sdp' [00000351] main demux debug: looking for access_demux module: 1 candidate Sending request: OPTIONS rtsp://192.168.1.22/ckfm56.sdp RTSP/1.0 CSeq: 1 User-Agent: VLC media player (LIVE555 Streaming Media v2009.06.02) Received OPTIONS response: RTSP/1.0 200 OK Server: DSS/5.5.4 (Build/489.13; Platform/Linux; Release/Darwin; ) Cseq: 1 Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD Sending request: DESCRIBE rtsp://192.168.1.22/ckfm56.sdp RTSP/1.0 CSeq: 2 Accept: application/sdp User-Agent: VLC media player (LIVE555 Streaming Media v2009.06.02) Received DESCRIBE response: RTSP/1.0 200 OK Server: DSS/5.5.4 (Build/489.13; Platform/Linux; Release/Darwin; ) Cseq: 2 Cache-Control: no-cache Content-length: 321 Date: Mon, 15 Jun 2009 16:35:55 GMT Expires: Mon, 15 Jun 2009 16:35:55 GMT Content-Type: application/sdp x-Accept-Retransmit: our-retransmit x-Accept-Dynamic-Rate: 1 Content-Base: rtsp://192.168.1.22/ckfm56.sdp/ Need to read 321 extra bytes Read 321 extra bytes: v=0 o=- 226657790 1184281622 IN IP4 127.0.0.1 s=name i=desc c=IN IP4 0.0.0.0 t=0 0 a=x-qt-text-cmt:Orban Opticodec-PC a=x-qt-text-nam:name a=x-qt-text-inf:desc a=control:* m=audio 0 RTP/AVP 96 b=AS:56 a=rtpmap:96 MP4A-LATM/32000/2 a=fmtp:96 cpresent=0;config=400025200000;SBR-enabled=0 a=control:trackid=1 [00000351] live555 demux debug: RTP subsession 'audio/MP4A-LATM' Sending request: SETUP rtsp://192.168.1.22/ckfm56.sdp/trackid=1 RTSP/1.0 CSeq: 3 Transport: RTP/AVP;unicast;client_port=32852-32853 User-Agent: VLC media player (LIVE555 Streaming Media v2009.06.02) Received SETUP response: RTSP/1.0 200 OK Server: DSS/5.5.4 (Build/489.13; Platform/Linux; Release/Darwin; ) Cseq: 3 Cache-Control: no-cache Session: 8496570938435118133 Date: Mon, 15 Jun 2009 16:35:55 GMT Expires: Mon, 15 Jun 2009 16:35:55 GMT Transport: RTP/AVP;unicast;source=192.168.1.22;client_port=32852-32853;server_port=6970-6971 [00000347] main input debug: selecting program id=0 [00000351] live555 demux debug: setup start: 0 stop:0 Sending request: PLAY rtsp://192.168.1.22/ckfm56.sdp/ RTSP/1.0 CSeq: 4 Session: 8496570938435118133 Range: npt=0.000- User-Agent: VLC media player (LIVE555 Streaming Media v2009.06.02) Received PLAY response: RTSP/1.0 200 OK Server: DSS/5.5.4 (Build/489.13; Platform/Linux; Release/Darwin; ) Cseq: 4 Session: 8496570938435118133 Range: npt=now- RTP-Info: url=rtsp://192.168.1.22/ckfm56.sdp/trackid=1 [00000351] live555 demux debug: play start: 0 stop:0 [00000351] main demux debug: using access_demux module "live555" [00000351] main demux debug: TIMER module_Need() : 38.668 ms - Total 38.668 ms / 1 intvls (Avg 38.668 ms) [00000354] main packetizer debug: looking for packetizer module: 15 candidates [00000354] packetizer_mpeg4audio packetizer debug: running MPEG4 audio packetizer [00000354] packetizer_mpeg4audio packetizer debug: AAC 32000Hz 1024 samples/frame [00000354] main packetizer debug: using packetizer module "packetizer_mpeg4audio" [00000354] main packetizer debug: TIMER module_Need() : 0.598 ms - Total 0.598 ms / 1 intvls (Avg 0.598 ms) [00000354] main packetizer debug: thread 2977913760 (decoder) created at priority 5 (input/decoder.c:217) [00000347] main input debug: starting in async mode [00000347] main input debug: `rtsp://192.168.1.22/ckfm56.sdp' successfully opened [00000354] main packetizer debug: thread started [00000347] main input debug: control type=1 [00000348] main stream output debug: adding a new sout input (sout_input:0x97be890) [00000349] stream_out_rtp stream out debug: maximum RTP packet size: 1400 bytes [00000349] main stream out debug: net: connecting to [229.1.1.10]:17008 [00000349] main stream out debug: net: connecting to [229.1.1.10]:17009 from [192.168.1.194]:32855 [00000363] main generic debug: thread 2967423904 (RTP send thread) created at priority 20 (rtp.c:1238) [00000349] stream_out_rtp stream out debug: sdp= v=0 o=- 14835128388590676639 14835128388590676639 IN IP4 dit-research2.quickplay.local s=Unnamed i=N/A c=IN IP4 229.1.1.10/255 t=0 0 a=tool:vlc 0.9.9a a=recvonly a=type:broadcast a=charset:UTF-8 m=audio 17008 RTP/AVP 96 b=RR:0 a=rtpmap:96 mpeg4-generic/32000/2 a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1290000000; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1; [00000354] main packetizer debug: switching to sync mode [00000363] main generic debug: thread started [00000351] live555 demux debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()

If anyone has any advice please let me know. I can not change the input feed to UDP, it has to be TCP due to firewalls and other network "conditions"...

Thanks guys.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: 0.9.9a RTSP (TCP) relay to multicast fails.

Postby Rémi Denis-Courmont » 22 Jun 2009 20:48

Like it or not, TCP sucks for live streaming. There is no magic silver-bullet solution.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

oscord
Blank Cone
Blank Cone
Posts: 13
Joined: 12 Sep 2007 23:17

Re: 0.9.9a RTSP (TCP) relay to multicast fails.

Postby oscord » 22 Jun 2009 23:10

I understand that TCP is not a standard for streaming, but how come it works fine with 0.8.6h and 086i releases?

Thanks.
Dennis.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: 0.9.9a RTSP (TCP) relay to multicast fails.

Postby Rémi Denis-Courmont » 23 Jun 2009 17:49

The hell if I know, there has been about 3 years and 5000 changes between 0.8.6 and 0.9.9...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 26 guests