[streaming] Streaming from a playlist
Tod
listacctc at gmail.com
Wed Oct 27 19:19:20 CEST 2010
I'm just getting started and getting pretty close but I'm running into a
problem.
I have four files I'd like to stream, two.mov and two .mp3. I generated
and saved a playlist from the VLC GUI listed below. I'm now trying to
test the stream by executing this command:
./vlc -L -vvv --sout-all ./samples/playlist.xspf --sout
"#duplicate{dst=display{delay=3000,noaudio,novideo},dst=std{access=http,dst=:38080/mycasts/podcast_32Bit.mp3,mux=dummy},dst=std{access=http,dst=:38080/mycasts/podcast_64Bit.mp3,mux=dummy},dst=std{access=http,dst=:38080/mycasts/dscn0374.mov,mux=dummy},dst=std{access=http,dst=:38080/mycasts/dscn0375.mov,mux=dummy}}"
This allows me to:
- Watch the status of the stream locally
- Click a link that points to an m3u file to listen to the stream
From the client side I can see the all four streams but the one playing
isn't the one that is highlighted. Also, if I click on any one of the
other three it just continues playing the server's current stream.
What I'd like to do is:
- Watch the status of the stream locally, but not hear it or see it
- Have it loop
- Let the user click a link that points to an m3u file to listen to the
stream
- Let the user click any one of the playlist items at any time to listen
to any of the other three items
I have a feeling I'm trying to play all four items over a single stream,
rather than four individual streams. However, I need to offer the user
the ability to listen to any of the other items, or listen to just a
single stream of all items. I'm not sure how to accomplish this.
If anyone could offer suggestions I would appreciate it.
- Tod
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/"
xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/">
<title>Playlist</title>
<trackList>
<track>
<location>file:///C:/VLC/samples/podcast1.mp3</location>
<extension
application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>0</vlc:id>
</extension>
</track>
<track>
<location>file:///C:/VLC/samples/podcast2.mp3</location>
<extension
application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>1</vlc:id>
</extension>
</track>
<track>
<location>file:///C:/VLC/samples/test1.mov</location>
<duration>25200</duration>
<extension
application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>2</vlc:id>
</extension>
</track>
<track>
<location>file:///C:/VLC/samples/test2.mov</location>
<duration>38600</duration>
<extension
application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>3</vlc:id>
</extension>
</track>
</trackList>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:item tid="0" />
<vlc:item tid="1" />
<vlc:item tid="2" />
<vlc:item tid="3" />
</extension>
</playlist>
More information about the streaming
mailing list