Page 1 of 1

how to keep the http output stream open?

Posted: 19 Jan 2009 12:39
by micml
Hi,

I am testing the new 0.9.8a vlc on Ubuntu 8.10.
I can call the VLM using the telnet interface and prepare the streams. However, I can't make the stream output keep open when looping.

My scripts are
new c1 broadcast enabled
setup c1 input /testfile.ts
setup c1 output #duplicate{dst=std{access=http,mux=ts,dst=192.168.208.128:8080},dst=nodisplay}:sout-keep
control c1 play

My question is
1. I tried several style of the sout-keep but failed. I don't know if it is working or anyone has better suggestion?
2. I tried setup c1 output #std{access=http,mux=ts,dst=192.168.208.128:8080} , but vlc keep telling me wrong command syntax, Is that the only way to call http stream is using #duplicate?

Thanks for your kind attention
Michael

Re: how to keep the http output stream open?

Posted: 19 Jan 2009 13:33
by songoo
Try
Add to vlc shorcut properties ,to target area --sout-keep ** , and also for make sure in http control center in option for channel sout-keep (setup channel1 option sout-keep)

Re: how to keep the http output stream open?

Posted: 19 Jan 2009 16:49
by micml
Try
Add to vlc shorcut properties ,to target area --sout-keep ** , and also for make sure in http control center in option for channel sout-keep (setup channel1 option sout-keep)
Hi songoo,

I checked out that there are an example to add the option

setup c1 option sout-keep

This helped to solve the problem , thanks. However, I am still wonder if I have to use #duplicate instead of #std inorder to stream using http.

Michael