output playlist

About encoding, codec settings, muxers and filter usage
William75
New Cone
New Cone
Posts: 2
Joined: 04 Dec 2007 01:41

output playlist

Postby William75 » 04 Dec 2007 01:51

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: output playlist

Postby Jean-Baptiste Kempf » 04 Dec 2007 05:12

RTFM

--sout-keep is what you are looking for.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

William75
New Cone
New Cone
Posts: 2
Joined: 04 Dec 2007 01:41

Re: output playlist

Postby William75 » 04 Dec 2007 21:44

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.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 28 guests