Problem useing VLM with FreeBSD. No Stream.

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
turbo23
New Cone
New Cone
Posts: 2
Joined: 14 Jan 2007 13:06

Problem useing VLM with FreeBSD. No Stream.

Postby turbo23 » 14 Jan 2007 13:28

Hi

I used the description in the Wiki for vod with VLM. But I cant stream any file. VLC or Quicktime doesn't play anything. There is no firewall between this two machines.

Environment:
Streaming Server:
FreeBSD 6.2 with vlc 0.8.6a, compiled with livemedia support (2007-1-11), xvid etc.

Client:
OSX with VLC 0.8.6a.

file sample.avi:
sample.avi: RIFF (little-endian) data, AVI, 576 x 320, 23.98 fps, video: XviD, audio: MPEG-1 Layer 3 (stereo, 48000 Hz).

I start the server with:

vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host 0.0.0.0:5554

VLC media player 0.8.6a Janus
[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file /home/thomas/.vlc/cache/plugins-04041e.dat
[00000001] main private warning: This doesn't look like a valid plugins cache
[00000001] main private debug: recursively browsing `modules'
[00000001] main private debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main private warning: cannot load module `/usr/local/lib/vlc/access/libcddax_plugin.so' (/usr/local/lib/vlc/access/libcddax_plugin.so: Undefined symbol "cdio_paranoia_modeset")
[00000001] main private warning: cannot load module `/usr/local/lib/vlc/codec/libquicktime_plugin.so' (/usr/local/lib/vlc/codec/libquicktime_plugin.so: Undefined symbol "NewHandleClear")
[00000001] main private debug: recursively browsing `plugins'
[00000001] main private debug: module bank initialized, found 216 modules
[00000001] main private debug: opening config file /home/thomas/.vlc/vlcrc
[00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main private debug: looking for memcpy module: 3 candidates
[00000001] main private debug: using memcpy module "memcpymmxext"
[00000277] main playlist debug: waiting for thread completion
[00000277] main playlist debug: thread 136463872 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000278] main private debug: waiting for thread completion
[00000278] main private debug: thread 135979520 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000279] main interface debug: looking for interface module: 1 candidate
[00000279] main interface debug: using interface module "hotkeys"
[00000279] main interface debug: thread 137736704 (interface) created at priority 0 (interface/interface.c:231)
[00000280] main interface debug: looking for interface module: 1 candidate
[00000280] main interface debug: using interface module "screensaver"
[00000280] main interface debug: thread 137737728 (interface) created at priority 0 (interface/interface.c:231)
[00000281] main interface debug: looking for interface module: 3 candidates
[00000281] main interface: creating VLM
[00000282] main vlm debug: thread 137738240 (vlm thread) created at priority 0 (misc/vlm.c:105)
[00000281] telnet interface: using the VLM interface plugin...
[00000281] main interface debug: net: listening to port 4212
[00000281] telnet interface: telnet interface started on interface 4212
[00000281] main interface debug: using interface module "telnet"
[00000281] main interface debug: thread 137738752 (manager) created at priority 0 (interface/interface.c:216)


Then I used telnet on my client to create a vod:
Escape character is '^]'.
Password:
Welcome, Master
> new Test vod enabled
> setup Test input /home/thomas/sample.avi


The server response with:

[00000283] main private debug: looking for vod server module: 1 candidate
[00000283] vod_rtsp private debug: allowing up to 0 connections
[00000283] main private: creating httpd
[00000283] main private debug: net: listening to 0.0.0.0 port 5554
[00000285] main http server debug: thread 137739264 (httpd host thread) created at priority 0 (network/httpd.c:1078)
[00000283] main private debug: using vod server module "vod_rtsp"
[00000285] main http server debug: creating statistics handler
[00000287] [Media: Test] main input debug: waiting for thread completion
[00000288] [Media: Test] main stream output debug: stream=`description'
[00000289] [Media: Test] main private debug: looking for sout stream module: 1 candidate
[00000289] [Media: Test] main private debug: using sout stream module "stream_out_description"
[00000287] [Media: Test] main input debug: `/home/thomas/sample.avi' gives access `' demux `' path `/home/thomas/sample.avi'
[00000287] [Media: Test] main input debug: creating demux: access='' demux='' path='/home/thomas/sample.avi'
[00000290] [Media: Test] main demuxer debug: looking for access_demux module: 1 candidate
[00000287] [Media: Test] main input debug: creating access '' path='/home/thomas/sample.avi'
[00000291] [Media: Test] main access debug: looking for access2 module: 6 candidates
[00000291] [Media: Test] vcd access debug: trying .cue file: /home/thomas/sample.cue
[00000291] [Media: Test] vcd access debug: could not find .cue file
[00000291] [Media: Test] access_file access debug: opening file `/home/thomas/sample.avi'
[00000287] [Media: Test] main input debug: thread 137739776 (input) created at priority 0 (input/input.c:265)
[00000291] [Media: Test] main access debug: using access2 module "access_file"
[00000292] [Media: Test] main private debug: pre-buffering...
[00000292] [Media: Test] main private debug: received first data for our buffer
[00000292] [Media: Test] main private debug: pre-buffering done 1408981 bytes in 0s - 193062 kbytes/s
[00000287] [Media: Test] main input debug: creating demux: access='' demux='' path='/home/thomas/sample.avi'
[00000293] [Media: Test] main demuxer debug: looking for demux2 module: 44 candidates
[00000292] [Media: Test] avi private debug: found Chunk fourcc:46464952 (RIFF) size:367505800 pos:0
[00000292] [Media: Test] avi private debug: found LIST chunk: 'AVI '
[00000292] [Media: Test] avi private debug: <list 'AVI '>
[00000292] [Media: Test] avi private debug: found Chunk fourcc:5453494c (LIST) size:8830 pos:12
[00000292] [Media: Test] avi private debug: found LIST chunk: 'hdrl'
[00000292] [Media: Test] avi private debug: <list 'hdrl'>
[00000292] [Media: Test] avi private debug: found Chunk fourcc:68697661 (avih) size:56 pos:24
[00000292] [Media: Test] avi private debug: avih: streams:2 flags: HAS_INDEX IS_INTERLEAVED 576x320
[00000292] [Media: Test] avi private debug: found Chunk fourcc:5453494c (LIST) size:4244 pos:88
[00000292] [Media: Test] avi private debug: found LIST chunk: 'strl'
[00000292] [Media: Test] avi private debug: <list 'strl'>
[00000292] [Media: Test] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:100
[00000292] [Media: Test] avi private debug: strh: type:vids handler:0x64697678 samplesize:0 23.98fps
[00000292] [Media: Test] avi private debug: found Chunk fourcc:66727473 (strf) size:40 pos:164
[00000292] [Media: Test] avi private debug: strf: video:XVID 576x320 planes:1 12bpp
[00000292] [Media: Test] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:212
[00000292] [Media: Test] avi private debug: </list 'strl'>
[00000292] [Media: Test] avi private debug: found Chunk fourcc:5453494c (LIST) size:4234 pos:4340
[00000292] [Media: Test] avi private debug: found LIST chunk: 'strl'
[00000292] [Media: Test] avi private debug: <list 'strl'>
[00000292] [Media: Test] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:4352
[00000292] [Media: Test] avi private debug: strh: type:auds handler:0x00000000 samplesize:0 41.67fps
[00000292] [Media: Test] avi private debug: found Chunk fourcc:66727473 (strf) size:30 pos:4416
[00000292] [Media: Test] avi private debug: strf: audio:0x0055 channels:2 48000Hz 0bits/sample 114kb/s
[00000292] [Media: Test] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:4454
[00000292] [Media: Test] avi private debug: </list 'strl'>
[00000292] [Media: Test] avi private debug: found Chunk fourcc:5453494c (LIST) size:260 pos:8582
[00000292] [Media: Test] avi private debug: found LIST chunk: 'odml'
[00000292] [Media: Test] avi private debug: <list 'odml'>
[00000292] [Media: Test] avi private debug: found Chunk fourcc:686c6d64 (dmlh) size:248 pos:8594
[00000292] [Media: Test] avi private warning: unknown chunk (not loaded)
[00000292] [Media: Test] avi private debug: </list 'odml'>
[00000292] [Media: Test] avi private debug: </list 'hdrl'>
[00000292] [Media: Test] avi private debug: found Chunk fourcc:5453494c (LIST) size:34 pos:8850
[00000292] [Media: Test] avi private debug: found LIST chunk: 'INFO'
[00000292] [Media: Test] avi private debug: <list 'INFO'>
[00000292] [Media: Test] avi private debug: found Chunk fourcc:54465349 (ISFT) size:21 pos:8862
[00000292] [Media: Test] avi private debug: ISFT: software : VirtualDubMod 1.4.13
[00000292] [Media: Test] avi private debug: </list 'INFO'>
[00000292] [Media: Test] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:1340 pos:8892
[00000292] [Media: Test] avi private debug: found Chunk fourcc:5453494c (LIST) size:364784096 pos:10240
[00000292] [Media: Test] avi private debug: skipping movi chunk
[00000292] [Media: Test] avi private debug: found Chunk fourcc:31786469 (idx1) size:2711456 pos:364794344
[00000292] [Media: Test] avi private debug: idx1: index entry:169466
[00000292] [Media: Test] avi private debug: </list 'AVI '>
[00000292] [Media: Test] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:1640 pos:367505808
[00000292] [Media: Test] avi private debug: * LIST-root size:367507456 pos:0
[00000292] [Media: Test] avi private debug: + RIFF-AVI size:367505800 pos:0
[00000292] [Media: Test] avi private debug: | + LIST-hdrl size:8830 pos:12
[00000292] [Media: Test] avi private debug: | | + avih size:56 pos:24
[00000292] [Media: Test] avi private debug: | | + LIST-strl size:4244 pos:88
[00000292] [Media: Test] avi private debug: | | | + strh size:56 pos:100
[00000292] [Media: Test] avi private debug: | | | + strf size:40 pos:164
[00000292] [Media: Test] avi private debug: | | | + JUNK size:4120 pos:212
[00000292] [Media: Test] avi private debug: | | + LIST-strl size:4234 pos:4340
[00000292] [Media: Test] avi private debug: | | | + strh size:56 pos:4352
[00000292] [Media: Test] avi private debug: | | | + strf size:30 pos:4416
[00000292] [Media: Test] avi private debug: | | | + JUNK size:4120 pos:4454
[00000292] [Media: Test] avi private debug: | | + LIST-odml size:260 pos:8582
[00000292] [Media: Test] avi private debug: | | | + dmlh size:248 pos:8594
[00000292] [Media: Test] avi private debug: | + LIST-INFO size:34 pos:8850
[00000292] [Media: Test] avi private debug: | | + ISFT size:21 pos:8862
[00000292] [Media: Test] avi private debug: | + JUNK size:1340 pos:8892
[00000292] [Media: Test] avi private debug: | + LIST-movi size:364784096 pos:10240
[00000292] [Media: Test] avi private debug: | + idx1 size:2711456 pos:364794344
[00000292] [Media: Test] avi private debug: + JUNK size:1640 pos:367505808
[00000293] [Media: Test] avi demuxer debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED
[00000293] [Media: Test] avi demuxer debug: stream[0] rate:2997 scale:125 samplesize:0
[00000293] [Media: Test] avi demuxer debug: stream[0] video(XVID) 576x320 12bpp 23.976000fps
[00000287] [Media: Test] main input debug: selecting program id=0
[00000293] [Media: Test] avi demuxer debug: stream[1] rate:48000 scale:1152 samplesize:0
[00000293] [Media: Test] avi demuxer debug: stream[1] audio(0x55) 2 channels 48000Hz 0bits
[00000293] [Media: Test] avi demuxer debug: stream[0] created 61898 index entries
[00000293] [Media: Test] avi demuxer debug: stream[1] created 107568 index entries
[00000293] [Media: Test] avi demuxer debug: stream[0] length:2581 (based on index)
[00000293] [Media: Test] avi demuxer debug: stream[1] length:2581 (based on index)
[00000293] [Media: Test] main demuxer debug: using demux2 module "avi"
[00000287] [Media: Test] main input debug: looking for a subtitle file in /home/thomas/
[00000294] [Media: Test] main packetizer debug: looking for packetizer module: 16 candidates
[00000294] [Media: Test] main packetizer debug: using packetizer module "packetizer_mpeg4video"
[00000287] [Media: Test] main input debug: stream out mode -> no decoder thread
[00000295] [Media: Test] main packetizer debug: looking for packetizer module: 16 candidates
[00000295] [Media: Test] main packetizer debug: using packetizer module "mpeg_audio"
[00000287] [Media: Test] main input debug: stream out mode -> no decoder thread
[00000287] [Media: Test] main input debug: starting in async mode
[00000287] [Media: Test] main input debug: meta information:
[00000287] [Media: Test] main input debug: - 'Setting' = ' HAS_INDEX IS_INTERLEAVED'
[00000287] [Media: Test] main input debug: `/home/thomas/sample.avi' successfully opened
[00000293] [Media: Test] avi demuxer debug: old:0 < new 0
[00000293] [Media: Test] avi demuxer debug: old:0 < new 0
[00000295] [Media: Test] mpeg_audio packetizer debug: MPGA channels:2 samplerate:48000 bitrate:128
[00000288] [Media: Test] main stream output debug: adding a new input
[00000294] [Media: Test] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000294] [Media: Test] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000288] [Media: Test] main stream output debug: adding a new input
[00000287] [Media: Test] main input debug: control type=0
[00000287] [Media: Test] main input debug: control: stopping input
[00000287] [Media: Test] main input debug: closing input
[00000292] [Media: Test] avi private debug: free chunk avih
[00000292] [Media: Test] avi private debug: free chunk strh
[00000292] [Media: Test] avi private debug: free chunk strf
[00000292] [Media: Test] avi private debug: free chunk JUNK
[00000292] [Media: Test] avi private debug: free chunk LIST
[00000292] [Media: Test] avi private debug: free chunk strh
[00000292] [Media: Test] avi private debug: free chunk strf
[00000292] [Media: Test] avi private debug: free chunk JUNK
[00000292] [Media: Test] avi private debug: free chunk LIST
[00000292] [Media: Test] avi private warning: unknown chunk (not unloaded)
[00000292] [Media: Test] avi private debug: free chunk LIST
[00000292] [Media: Test] avi private debug: free chunk LIST
[00000292] [Media: Test] avi private debug: free chunk ISFT
[00000292] [Media: Test] avi private debug: free chunk LIST
[00000292] [Media: Test] avi private debug: free chunk JUNK
[00000292] [Media: Test] avi private debug: free chunk LIST
[00000292] [Media: Test] avi private debug: free chunk idx1
[00000292] [Media: Test] avi private debug: free chunk RIFF
[00000292] [Media: Test] avi private debug: free chunk JUNK
[00000292] [Media: Test] avi private debug: free chunk LIST
[00000293] [Media: Test] main demuxer debug: removing module "avi"
[00000291] [Media: Test] main access debug: removing module "access_file"
[00000294] [Media: Test] main packetizer debug: removing module "packetizer_mpeg4video"
[00000294] [Media: Test] main packetizer debug: killing decoder fourcc `XVID', 0 PES in FIFO
[00000288] [Media: Test] main stream output debug: removing an input
[00000295] [Media: Test] main packetizer debug: removing module "mpeg_audio"
[00000295] [Media: Test] main packetizer debug: killing decoder fourcc `mpga', 0 PES in FIFO
[00000288] [Media: Test] main stream output debug: removing an input
[00000287] [Media: Test] main input debug: destroying sout
[00000289] main private debug: destroying chain... (name=description)
[00000289] main private debug: removing module "stream_out_description"
[00000289] main private debug: destroying chain done
[00000287] [Media: Test] main input debug: thread 137739776 joined (input/input.c:412)
[00000283] vod_rtsp private debug: created RTSP url: /Test
[00000283] vod_rtsp private debug: media has 2 declared ES
[00000283] vod_rtsp private debug: - ES mpga (/Test/trackID=0)
[00000283] vod_rtsp private debug: - ES mp4v (/Test/trackID=1)


It was time to connect to the stream with VLC (OSX Client):

rtsp://myip:5554/Test


Now I got this response from the server:

[00000285] main http server debug: Connection from myclientip
[00000283] vod_rtsp private debug: RtspCallback query: type=7
[00000283] vod_rtsp private debug: RtspCallback query: type=8
[00000283] vod_rtsp private debug: HTTPD_MSG_SETUP: transport=RTP/AVP;unicast;client_port=49862-49863
[00000283] vod_rtsp private debug: HTTPD_MSG_SETUP: unicast ip=myclientip port=49862
[00000283] vod_rtsp private debug: new session: 16807, connections: 0
[00000283] vod_rtsp private debug: RtspCallback query: type=8
[00000283] vod_rtsp private debug: HTTPD_MSG_SETUP: transport=RTP/AVP;unicast;client_port=49864-49865
[00000283] vod_rtsp private debug: HTTPD_MSG_SETUP: unicast ip=myclientip port=49864
[00000283] vod_rtsp private debug: RtspCallback query: type=9
[00000283] vod_rtsp private debug: HTTPD_MSG_PLAY for session: 16807
[00000296] [Media: Test] main input debug: waiting for thread completion
[00000297] [Media: Test] main stream output debug: stream=`rtp'
[00000298] [Media: Test] main private debug: looking for sout stream module: 1 candidate
[00000298] [Media: Test] main private debug: set sout option: sout-rtp-dst to myclientip
[00000298] [Media: Test] main private debug: set sout option: sout-rtp-port-video to 49864
[00000298] [Media: Test] main private debug: set sout option: sout-rtp-port-audio to 49862
[00000298] [Media: Test] main private debug: using sout stream module "stream_out_rtp"
[00000296] [Media: Test] main input debug: `/home/thomas/sample.avi' gives access `' demux `' path `/home/thomas/sample.avi'
[00000296] [Media: Test] main input debug: creating demux: access='' demux='' path='/home/thomas/sample.avi'
[00000299] [Media: Test] main demuxer debug: looking for access_demux module: 1 candidate
[00000296] [Media: Test] main input debug: creating access '' path='/home/thomas/sample.avi'
[00000300] [Media: Test] main access debug: looking for access2 module: 6 candidates
[00000300] [Media: Test] vcd access debug: trying .cue file: /home/thomas/sample.cue
[00000300] [Media: Test] vcd access debug: could not find .cue file
[00000300] [Media: Test] access_file access debug: opening file `/home/thomas/sample.avi'
[00000300] [Media: Test] main access debug: using access2 module "access_file"
[00000296] [Media: Test] main input debug: thread 137872896 (input) created at priority 0 (input/input.c:265)
[00000301] [Media: Test] main private debug: pre-buffering...
[00000301] [Media: Test] main private debug: received first data for our buffer
[00000301] [Media: Test] main private debug: pre-buffering done 1408981 bytes in 0s - 164529 kbytes/s
[00000296] [Media: Test] main input debug: creating demux: access='' demux='' path='/home/thomas/sample.avi'
[00000302] [Media: Test] main demuxer debug: looking for demux2 module: 44 candidates
[00000301] [Media: Test] avi private debug: found Chunk fourcc:46464952 (RIFF) size:367505800 pos:0
[00000301] [Media: Test] avi private debug: found LIST chunk: 'AVI '
[00000301] [Media: Test] avi private debug: <list 'AVI '>
[00000301] [Media: Test] avi private debug: found Chunk fourcc:5453494c (LIST) size:8830 pos:12
[00000301] [Media: Test] avi private debug: found LIST chunk: 'hdrl'
[00000301] [Media: Test] avi private debug: <list 'hdrl'>
[00000301] [Media: Test] avi private debug: found Chunk fourcc:68697661 (avih) size:56 pos:24
[00000301] [Media: Test] avi private debug: avih: streams:2 flags: HAS_INDEX IS_INTERLEAVED 576x320
[00000301] [Media: Test] avi private debug: found Chunk fourcc:5453494c (LIST) size:4244 pos:88
[00000301] [Media: Test] avi private debug: found LIST chunk: 'strl'
[00000301] [Media: Test] avi private debug: <list 'strl'>
[00000301] [Media: Test] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:100
[00000301] [Media: Test] avi private debug: strh: type:vids handler:0x64697678 samplesize:0 23.98fps
[00000301] [Media: Test] avi private debug: found Chunk fourcc:66727473 (strf) size:40 pos:164
[00000301] [Media: Test] avi private debug: strf: video:XVID 576x320 planes:1 12bpp
[00000301] [Media: Test] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:212
[00000301] [Media: Test] avi private debug: </list 'strl'>
[00000301] [Media: Test] avi private debug: found Chunk fourcc:5453494c (LIST) size:4234 pos:4340
[00000301] [Media: Test] avi private debug: found LIST chunk: 'strl'
[00000301] [Media: Test] avi private debug: <list 'strl'>
[00000301] [Media: Test] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:4352
[00000301] [Media: Test] avi private debug: strh: type:auds handler:0x00000000 samplesize:0 41.67fps
[00000301] [Media: Test] avi private debug: found Chunk fourcc:66727473 (strf) size:30 pos:4416
[00000301] [Media: Test] avi private debug: strf: audio:0x0055 channels:2 48000Hz 0bits/sample 114kb/s
[00000301] [Media: Test] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:4454
[00000301] [Media: Test] avi private debug: </list 'strl'>
[00000301] [Media: Test] avi private debug: found Chunk fourcc:5453494c (LIST) size:260 pos:8582
[00000301] [Media: Test] avi private debug: found LIST chunk: 'odml'
[00000301] [Media: Test] avi private debug: <list 'odml'>
[00000301] [Media: Test] avi private debug: found Chunk fourcc:686c6d64 (dmlh) size:248 pos:8594
[00000301] [Media: Test] avi private warning: unknown chunk (not loaded)
[00000301] [Media: Test] avi private debug: </list 'odml'>
[00000301] [Media: Test] avi private debug: </list 'hdrl'>
[00000301] [Media: Test] avi private debug: found Chunk fourcc:5453494c (LIST) size:34 pos:8850
[00000301] [Media: Test] avi private debug: found LIST chunk: 'INFO'
[00000301] [Media: Test] avi private debug: <list 'INFO'>
[00000301] [Media: Test] avi private debug: found Chunk fourcc:54465349 (ISFT) size:21 pos:8862
[00000301] [Media: Test] avi private debug: ISFT: software : VirtualDubMod 1.4.13
[00000301] [Media: Test] avi private debug: </list 'INFO'>
[00000301] [Media: Test] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:1340 pos:8892
[00000301] [Media: Test] avi private debug: found Chunk fourcc:5453494c (LIST) size:364784096 pos:10240
[00000301] [Media: Test] avi private debug: skipping movi chunk
[00000301] [Media: Test] avi private debug: found Chunk fourcc:31786469 (idx1) size:2711456 pos:364794344
[00000301] [Media: Test] avi private debug: idx1: index entry:169466
[00000301] [Media: Test] avi private debug: </list 'AVI '>
[00000301] [Media: Test] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:1640 pos:367505808
[00000301] [Media: Test] avi private debug: * LIST-root size:367507456 pos:0
[00000301] [Media: Test] avi private debug: + RIFF-AVI size:367505800 pos:0
[00000301] [Media: Test] avi private debug: | + LIST-hdrl size:8830 pos:12
[00000301] [Media: Test] avi private debug: | | + avih size:56 pos:24
[00000301] [Media: Test] avi private debug: | | + LIST-strl size:4244 pos:88
[00000301] [Media: Test] avi private debug: | | | + strh size:56 pos:100
[00000301] [Media: Test] avi private debug: | | | + strf size:40 pos:164
[00000301] [Media: Test] avi private debug: | | | + JUNK size:4120 pos:212
[00000301] [Media: Test] avi private debug: | | + LIST-strl size:4234 pos:4340
[00000301] [Media: Test] avi private debug: | | | + strh size:56 pos:4352
[00000301] [Media: Test] avi private debug: | | | + strf size:30 pos:4416
[00000301] [Media: Test] avi private debug: | | | + JUNK size:4120 pos:4454
[00000301] [Media: Test] avi private debug: | | + LIST-odml size:260 pos:8582
[00000301] [Media: Test] avi private debug: | | | + dmlh size:248 pos:8594
[00000301] [Media: Test] avi private debug: | + LIST-INFO size:34 pos:8850
[00000301] [Media: Test] avi private debug: | | + ISFT size:21 pos:8862
[00000301] [Media: Test] avi private debug: | + JUNK size:1340 pos:8892
[00000301] [Media: Test] avi private debug: | + LIST-movi size:364784096 pos:10240
[00000301] [Media: Test] avi private debug: | + idx1 size:2711456 pos:364794344
[00000301] [Media: Test] avi private debug: + JUNK size:1640 pos:367505808
[00000302] [Media: Test] avi demuxer debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED
[00000302] [Media: Test] avi demuxer debug: stream[0] rate:2997 scale:125 samplesize:0
[00000302] [Media: Test] avi demuxer debug: stream[0] video(XVID) 576x320 12bpp 23.976000fps
[00000296] [Media: Test] main input debug: selecting program id=0
[00000302] [Media: Test] avi demuxer debug: stream[1] rate:48000 scale:1152 samplesize:0
[00000302] [Media: Test] avi demuxer debug: stream[1] audio(0x55) 2 channels 48000Hz 0bits
[00000302] [Media: Test] avi demuxer debug: stream[0] created 61898 index entries
[00000302] [Media: Test] avi demuxer debug: stream[1] created 107568 index entries
[00000302] [Media: Test] avi demuxer debug: stream[0] length:2581 (based on index)
[00000302] [Media: Test] avi demuxer debug: stream[1] length:2581 (based on index)
[00000302] [Media: Test] main demuxer debug: using demux2 module "avi"
[00000296] [Media: Test] main input debug: looking for a subtitle file in /home/thomas/
[00000303] [Media: Test] main packetizer debug: looking for packetizer module: 16 candidates
[00000303] [Media: Test] main packetizer debug: using packetizer module "packetizer_mpeg4video"
[00000296] [Media: Test] main input debug: stream out mode -> no decoder thread
[00000304] [Media: Test] main packetizer debug: looking for packetizer module: 16 candidates
[00000304] [Media: Test] main packetizer debug: using packetizer module "mpeg_audio"
[00000296] [Media: Test] main input debug: stream out mode -> no decoder thread
[00000296] [Media: Test] main input debug: starting in sync mode
[00000296] [Media: Test] main input debug: meta information:
[00000296] [Media: Test] main input debug: - 'Setting' = ' HAS_INDEX IS_INTERLEAVED'
[00000296] [Media: Test] main input debug: `/home/thomas/sample.avi' successfully opened
[00000302] [Media: Test] avi demuxer debug: old:0 < new 0
[00000302] [Media: Test] avi demuxer debug: old:0 < new 0
[00000304] [Media: Test] mpeg_audio packetizer debug: MPGA channels:2 samplerate:48000 bitrate:128
[00000297] [Media: Test] main stream output debug: adding a new input
[00000305] [Media: Test] main private debug: looking for sout access module: 1 candidate
[00000305] [Media: Test] main private debug: set sout option: sout-udp-raw to (null)
[00000305] [Media: Test] main private debug: set sout option: sout-udp-ttl to 12
[00000305] [Media: Test] main private debug: net: connecting to myclientip port 49862
[00000306] [Media: Test] main private debug: thread 137973760 (sout write thread) created at priority 0 (udp.c:268)
[00000305] [Media: Test] access_output_udp private debug: udp access output opened(myclientip:49862)
[00000305] [Media: Test] main private debug: using sout access module "access_output_udp"
[00000298] [Media: Test] stream_out_rtp private debug: access out udp{raw,ttl=12}:myclientip:49862
[00000298] [Media: Test] stream_out_rtp private debug: maximum RTP packet size: 1450 bytes
[00000298] [Media: Test] stream_out_rtp private debug: sdp=v=0
o=- 1168777004526439 1 IN IP4 127.0.0.1
s=NONE
t=0 0
a=tool:vlc 0.8.6a
c=IN IP4 myclientip
m=audio 49862 RTP/AVP 14
a=rtpmap:14 MPA/90000
b=AS:128

[00000303] [Media: Test] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000303] [Media: Test] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000297] [Media: Test] main stream output debug: adding a new input
[00000307] [Media: Test] main private debug: looking for sout access module: 1 candidate
[00000307] [Media: Test] main private debug: set sout option: sout-udp-raw to (null)
[00000307] [Media: Test] main private debug: set sout option: sout-udp-ttl to 12
[00000307] [Media: Test] main private debug: net: connecting to myclientip port 49864
[00000308] [Media: Test] main private debug: thread 137976320 (sout write thread) created at priority 0 (udp.c:268)
[00000307] [Media: Test] access_output_udp private debug: udp access output opened(myclientip:49864)
[00000307] [Media: Test] main private debug: using sout access module "access_output_udp"
[00000298] [Media: Test] stream_out_rtp private debug: access out udp{raw,ttl=12}:myclientip:49864
[00000298] [Media: Test] stream_out_rtp private debug: maximum RTP packet size: 1450 bytes
[00000298] [Media: Test] stream_out_rtp private debug: sdp=v=0
o=- 1168777004526439 2 IN IP4 127.0.0.1
s=NONE
t=0 0
a=tool:vlc 0.8.6a
c=IN IP4 myclientip
m=audio 49862 RTP/AVP 14
a=rtpmap:14 MPA/90000
b=AS:128
m=video 49864 RTP/AVP 96
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=3; config=000001200086c7ffff0aad8902140a31;

[00000283] vod_rtsp private debug: RtspCallback query: type=11
[00000283] vod_rtsp private debug: HTTPD_MSG_TEARDOWN for session: 16807
[00000296] [Media: Test] main input debug: control type=0
[00000296] [Media: Test] main input debug: control: stopping input
[00000296] [Media: Test] main input debug: closing input
[00000301] [Media: Test] avi private debug: free chunk avih
[00000301] [Media: Test] avi private debug: free chunk strh
[00000301] [Media: Test] avi private debug: free chunk strf
[00000301] [Media: Test] avi private debug: free chunk JUNK
[00000301] [Media: Test] avi private debug: free chunk LIST
[00000301] [Media: Test] avi private debug: free chunk strh
[00000301] [Media: Test] avi private debug: free chunk strf
[00000301] [Media: Test] avi private debug: free chunk JUNK
[00000301] [Media: Test] avi private debug: free chunk LIST
[00000301] [Media: Test] avi private warning: unknown chunk (not unloaded)
[00000301] [Media: Test] avi private debug: free chunk LIST
[00000301] [Media: Test] avi private debug: free chunk LIST
[00000301] [Media: Test] avi private debug: free chunk ISFT
[00000301] [Media: Test] avi private debug: free chunk LIST
[00000301] [Media: Test] avi private debug: free chunk JUNK
[00000301] [Media: Test] avi private debug: free chunk LIST
[00000301] [Media: Test] avi private debug: free chunk idx1
[00000301] [Media: Test] avi private debug: free chunk RIFF
[00000301] [Media: Test] avi private debug: free chunk JUNK
[00000301] [Media: Test] avi private debug: free chunk LIST
[00000302] [Media: Test] main demuxer debug: removing module "avi"
[00000300] [Media: Test] main access debug: removing module "access_file"
[00000303] [Media: Test] main packetizer debug: removing module "packetizer_mpeg4video"
[00000303] [Media: Test] main packetizer debug: killing decoder fourcc `XVID', 0 PES in FIFO
[00000297] [Media: Test] main stream output debug: removing an input
[00000308] main private debug: thread 137976320 joined (udp.c:316)
[00000307] access_output_udp private debug: udp access output closed
[00000307] main private debug: removing module "access_output_udp"
[00000304] [Media: Test] main packetizer debug: removing module "mpeg_audio"
[00000304] [Media: Test] main packetizer debug: killing decoder fourcc `mpga', 0 PES in FIFO
[00000297] [Media: Test] main stream output debug: removing an input
[00000306] main private debug: thread 137973760 joined (udp.c:316)
[00000305] access_output_udp private debug: udp access output closed
[00000305] main private debug: removing module "access_output_udp"
[00000296] [Media: Test] main input debug: destroying sout
[00000298] main private debug: destroying chain... (name=rtp)
[00000298] main private debug: removing module "stream_out_rtp"
[00000298] main private debug: destroying chain done
[00000296] [Media: Test] main input debug: thread 137872896 joined (input/input.c:412)
[00000283] vod_rtsp private debug: closing session: 16807, connections: 0
[00000285] main http server debug: Connection from myclientip
[00000283] vod_rtsp private debug: RtspCallback query: type=7
[00000283] vod_rtsp private debug: RtspCallback query: type=8
[00000283] vod_rtsp private debug: HTTPD_MSG_SETUP: transport=RTP/AVP/TCP;unicast;interleaved=0-1
[00000283] vod_rtsp private debug: RtspCallback query: type=8
[00000283] vod_rtsp private debug: HTTPD_MSG_SETUP: transport=RTP/AVP/TCP;unicast;interleaved=2-3

The logfile from the OSX Client:

main debug: adding playlist item `Test' ( rtsp://myserverip:5554/Test )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 35328512 (input) created at priority 37 (input/input.c:265)
main debug: `rtsp://myserverip:5554/Test' gives access `rtsp' demux `' path `myserverip:5554/Test'
main debug: creating demux: access='rtsp' demux='' path='myserverip:5554/Test'
main debug: looking for access_demux module: 1 candidate
macosx debug: input has changed, refreshing interface
live555 debug: RTP subsession 'audio/MPA'
live555 debug: RTP subsession 'video/MP4V-ES'
main debug: selecting program id=0
main debug: using access_demux module "live555"
main debug: looking for decoder module: 24 candidates
main debug: using decoder module "mpeg_audio"
main debug: thread 36164096 (decoder) created at priority 37 (input/decoder.c:159)
main debug: looking for decoder module: 24 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: postprocessing disabled
ffmpeg debug: using direct rendering
ffmpeg debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "ffmpeg"
main debug: thread 36183552 (decoder) created at priority -47 (input/decoder.c:159)
main debug: `rtsp://myserverip:5554/Test' successfully opened
live555 warning: no data received in 10s. Switching to TCP
live555 debug: RTP subsession 'audio/MPA'
live555 error: SETUP of'audio/MPA' failed SETUP: cannot handle response: RTSP/1.0 461 Unsupported Transport
live555 debug: RTP subsession 'video/MP4V-ES'
live555 error: SETUP of'video/MP4V-ES' failed SETUP: cannot handle response: RTSP/1.0 461 Unsupported Transport
live555 error: Nothing to play for rtsp://myserverip:5554/Test
live555 error: TCP rollover failed, aborting
main debug: EOF reached
macosx debug: input has stopped, refreshing interface
main debug: closing input
main debug: removing module "live555"
main debug: removing module "mpeg_audio"
main debug: thread 36164096 joined (input/decoder.c:191)
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
ffmpeg debug: ffmpeg codec (MPEG-4 Video) stopped
main debug: removing module "ffmpeg"
main debug: thread 36183552 joined (input/decoder.c:191)
main debug: killing decoder fourcc `mp4v', 0 PES in FIFO
main debug: thread 35328512 joined (input/input.c:412)
main: nothing to play

Can someone tell me whats wrong? Btw I also tried this with a simple mpeg file. It didn't work either.

Regards,
Thomas

g0tcha
Blank Cone
Blank Cone
Posts: 10
Joined: 15 Jan 2007 12:39

Postby g0tcha » 16 Jan 2007 12:29

hi

did you solve this, i am having the same problem on a bsd 5.4 system

exxx
New Cone
New Cone
Posts: 9
Joined: 15 Jan 2007 07:16

Postby exxx » 27 Jan 2007 07:17

i have the same issue on a windows system! please advise

Code: Select all

main debug: `rtsp://myip:8080/34' successfully opened live555 warning: no data received in 10s. Switching to TCP live555 debug: RTP subsession 'video/MP4V-ES' live555 error: SETUP of'video/MP4V-ES' failed SETUP: cannot handle response: RTSP/1.0 461 Unsupported Transport live555 debug: RTP subsession 'audio/MPEG4-GENERIC' live555 error: SETUP of'audio/MPEG4-GENERIC' failed SETUP: cannot handle response: RTSP/1.0 461 Unsupported Transport live555 error: Nothing to play for rtsp://myip:8080/34 live555 error: TCP rollover failed, aborting main debug: EOF reached main debug: closing input main debug: removing module "live555" ffmpeg debug: ffmpeg codec (MPEG-4 Video) stopped main debug: removing module "ffmpeg" main debug: thread times: real 0m13.484375s, kernel 0m0.000000s, user 0m0.000000s main debug: thread 3932 joined (input/decoder.c:191) main debug: killing decoder fourcc `mp4v', 0 PES in FIFO main debug: removing module "faad" main debug: thread times: real 0m13.484375s, kernel 0m0.000000s, user 0m0.000000s main debug: thread 4180 joined (input/decoder.c:191) main debug: killing decoder fourcc `mp4a', 0 PES in FIFO main debug: thread times: real 0m14.781250s, kernel 0m0.062500s, user 0m0.046875s main debug: thread 4056 joined (input/input.c:412) main: nothing to play
It works when I run the client on the server machine but if I run the client from anywhere else it gets the movie size, length, buty doesnt play it :(

marcuschan
Blank Cone
Blank Cone
Posts: 54
Joined: 08 Jul 2006 16:31

Postby marcuschan » 19 Mar 2007 18:04

same problem Live555 error on WinXP ...

any one can help??

exxx
New Cone
New Cone
Posts: 9
Joined: 15 Jan 2007 07:16

Postby exxx » 19 Mar 2007 19:49

You need to open all RTSP ports and enable DMZ for that machine. Sadly some routers simply CANNOT support RTSP. Yes CANNOT. I worked with a lot of users on this and was forced to change the delivery system on my site because of this. Sadly RTSP is simply not good enough. I would suggest HTTP 1.1 streaming (apache or anything), since that is VOD anyways.


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 0 guests