Hi,<br><br>(this message is different from one I posted several days ago about segmentation fault of vlc 0.8.6c in the same scenario).<br><br>I have compiled vlc-trunk that I have checked out at 20070922 (yesterday).<br><br>
Attempt to stream playlist (<span id="st" name="st" class="st">m3u</span>) as VOD from vlc to vlc does not work, as <span id="st" name="st" class="st">vlc</span> client produces strange error (see below). Here are the steps that I undertook:
<br><br>1) Start <span id="st" name="st" class="st">vlc</span> in daemon mode<br><span id="st" name="st" class="st">vlc</span> --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host <a href="http://0.0.0.0:5554" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
0.0.0.0:5554</a><br><br>2) Create file "b.m3u" in the same directory where vlc in step 1 was started from:<br>music1.mp3<br>music2.mp3<br><br>3) Made sure that files music1.mp3 and music2.mp3 exists in the same directory as
b.m3u<br><br>4) Set up VOD streaming of the b.m3u playlist:<br>telnet 0 4212<br>Trying 0.0.0.0...<br>Connected to 0.<br>Escape character is '^]'.<br>Password: <br>Welcome, Master
<br>> new Test vod enabled<br>> setup Test input a.<span id="st" name="st" class="st">m3u</span><br>> logout<br><br>5) Observe output of the vlc server from start of step 4:<br><br>[00000296] main interface debug: accepted socket 5 (from socket 4)
<br>[00000299] main private debug: looking for vod server module: 1 candidate<br>[00000299] vod_rtsp private debug: allowing up to 0 connections<br>[00000299] main private: creating httpd<br>[00000299] main private debug: net: listening to port 554
<br>[00000302] main http server debug: thread 3012856720 (httpd host thread) created at priority 0 (network/httpd.c:1089)<br>[00000299] main private debug: thread 3004464016 (rtsp vod thread) created at priority 0 (rtsp.c
:298)<br>[00000299] main private debug: using vod server module "vod_rtsp"<br>[00000303] [Media: Test] main input debug: waiting for thread completion<br>[00000304] [Media: Test] main stream output debug: stream=`description'
<br>[00000305] [Media: Test] main private debug: looking for sout stream module: 1 candidate<br>[00000303] [Media: Test] main input debug: thread 2996071312 (input) created at priority 0 (input/input.c:329)<br>[00000305] [Media: Test] main private debug: using sout stream module "stream_out_description"
<br>[00000303] [Media: Test] main input debug: `b.m3u' gives access `' demux `' path `b.m3u'<br>[00000303] [Media: Test] main input debug: creating demux: access='' demux='' path='b.m3u
'<br>[00000307] [Media: Test] main demuxer debug: looking for access_demux module: 1 candidate<br>[00000303] [Media: Test] main input debug: creating access '' path='b.m3u'<br>[00000309] [Media: Test] main access debug: looking for access2 module: 5 candidates
<br>[00000309] [Media: Test] vcd access debug: trying .cue file: b.cue<br>[00000309] [Media: Test] vcd access debug: could not find .cue file<br>[00000309] [Media: Test] access_directory access debug: opening directory `b.m3u'
<br>[00000309] [Media: Test] access_directory access debug: skipping non-directory `b.m3u'<br>[00000309] [Media: Test] access_file access debug: opening file `b.m3u'<br>[00000309] [Media: Test] main access debug: using access2 module "access_file"
<br>[00000314] [Media: Test] main private debug: pre-buffering...<br>[00000314] [Media: Test] main private debug: received first data for our buffer<br>[00000303] [Media: Test] main input debug: creating demux: access='' demux='' path='
b.m3u'<br>[00000315] [Media: Test] main demuxer debug: looking for demux2 module: 51 candidates<br>[00000315] [Media: Test] playlist demuxer debug: found valid M3U playlist<br>[00000315] [Media: Test] main demuxer debug: using demux2 module "playlist"
<br>[00000303] [Media: Test] main input debug: looking for a subtitle file in /var/tmp/vlc_rtsp/<br>[00000303] [Media: Test] main input debug: starting in async mode<br>[00000303] [Media: Test] main input debug: `b.m3u' successfully opened
<br>[00000303] [Media: Test] main input debug: control type=1<br>[00000315] [Media: Test] main demuxer debug: removing module "playlist"<br>[00000309] [Media: Test] main access debug: removing module "access_file"
<br>[00000303] [Media: Test] main input debug: thread 2996071312 joined (input/input.c:466)<br>[00000305] main private debug: destroying chain... (name=description)<br>[00000305] main private debug: removing module "stream_out_description"
<br>[00000305] main private debug: destroying chain done<br>[00000299] vod_rtsp private debug: created RTSP url: /Test<br>[00000299] vod_rtsp private debug: media has 0 declared ES<br><br>6) Start <span id="st" name="st" class="st">
vlc</span> client on the same computer, with the same version of vlc<br>vlc rtsp://127.0.0.1/Test<br><br>7) Observe output of the vlc server during the client connect:<br><br>[00000302] main http server debug: accepted socket 5 (from socket 7)
<br>[00000299] vod_rtsp private debug: RtspCallback query: type=7<br>[00000302] main http server debug: accepted socket 8 (from socket 7)<br><br>8) Observe output of the vlc client (in xterm):<br><br>VLC media player 0.9.0-svn
Grishenko<br>[00000001] main libvlc debug: VLC media player - version 0.9.0-svn Grishenko - (c) 1996-2007 the VideoLAN team<br>[00000001] main libvlc debug: libvlc was configured with ./configure '--enable-ncurses' '--enable-skins2' '--disable-pp' '--enable-gpl' '--enable-realrtsp' '--enable-livedotcom' '--with-livedotcom-tree=/root/vlc/live.2007.02.20' '--with-ffmpeg-mp3lame' '--with-ffmpeg-ogg' '--with-ffmpeg-vorbis' '--with-ffmpeg-theora' '--enable-pvr' '--with-ffmpeg-amrnb' '--with-ffmpeg-amrwb'
<br>[00000001] main libvlc debug: translation test: code is "C"<br>[00000300] live555 demuxer error: Nothing to play for rtsp://arieh-desktop/Test<br>[00000306] access_directory access error: rtsp://arieh-desktop/Test: No such file or directory
<br>[00000306] access_file access error: cannot open file rtsp://arieh-desktop/Test (No such file or directory)<br>[00000299] main input error: open of `rtsp://arieh-desktop/Test' failed: could not create access: no suitable access2 module
<br>[00000289] main playlist: saving Media Library to file /home/arieh/.local/share/vlc/ml.xsp<br>QObject::killTimers: timers cannot be stopped from another thread<br><br>The files b.<span id="st" name="st" class="st">m3u
</span> references exists as well. I have tried both relative and absolute paths in <span id="st" name="st" class="st">m3u</span> file, to no avail.<br><br>rtsp VOD streaming on single mp3 file works properly.
<br><br>What is the problem with VOD streaming of playlists??<br><br>Is there other way I can stream a playlist with metadata for each song?<br><br>-- <br>Arieh