Page 1 of 1

output playlist

Posted: 04 Dec 2007 01:51
by William75
Hi,

I try to create a streaming output (let's say for Windows Media Player) based on video files. But if I can stream 1 video file without problem, each time a new video is sent, the connection is cut (in Windows Media Player). The basic fact is the stream is closed and reopened for the next video.
I recompress all the files to have the same characteristics (width, height, video & audio codecs).

Do you have a solution? I want to create my own TV channel with VLC by sending AVI files. I need also to update my playlist "in live" by adding new videos in the queue (but this can be resolved by using the TELNET interface).

I do my tests with VLC 0.8.6 on Windows2000. But I suppose the problem is the same for other platforms.

Thanks for your help.
William.

Re: output playlist

Posted: 04 Dec 2007 05:12
by Jean-Baptiste Kempf
RTFM

--sout-keep is what you are looking for.

Re: output playlist

Posted: 04 Dec 2007 21:44
by William75
I've found this option (--sout-keep) but not working on Windows2000, vlc 0.8.6.

My command line is:
vlc --sout "#transcode{vcodec=WMV2,vb=384,width=320,height=240,acodec=mp3,ab=64,channels=1,fps=15}:std{mux=asf,access=mmsh,url=127.0.0.1:8080}" %FILE% --loop -vvv --sout-keep

where %FILE% is the playlist filename. The first file is played but not the following files.

For reading the files, I use a Windows Media Player 6.4 (a very old version) with mms://localhost:8080. But, to be sure, I've also used a VLC with the mmsh://localhost:8080 url and the results are the same.

I've also tried to find information on Internet but I can not find tutorials using existing files (AVI, MPEG, etc.) to stream them. Always the stream is based on input devices (webcams) and it works perfect. Using Unix systems, I think I could use a FIFO file in an OpenDML AVI file to create an infinite length video file based on a very special merge of AVI files having the same format, but it is very tricky.

William.