Page 1 of 1

VLC/VLM stream playlist

Posted: 05 Dec 2012 06:39
by frostyboy33
Hi All,

I am somewhat new to VLC and using it as a streaming server, I have previously had to use Microsoft Media Server to achieve my outcomes but am now able to move away from it.

My plan is to run VLC on a Linux box, specifically Redhat/CentOS

So what I am trying to do is this
-Stream a live feed to VLC and WMP clients
-When the live feed is "off" stream a offline image/short-video automatically that will repeat until the live stream is available again
-This all needs to be automatic

So my situation dictates that I have:
-2 potential inputs (swapping between each other dependent on their state)
-2 constant output types (have been able to achieve this)

What I have been able to do thus far
-Using the below command to output my live stream

Code: Select all

cvlc -vvv udp://@224.1.1.1:5000 --sout '#transcode{vcodec=DIV3,vb=1024,scale=1,acodec=mp3,ab=32,channels=2,fps=24}:duplicate{dst=rtp{mux=ts,dst=224.1.1.2,port=5000},std{access=mmsh,mux=asfh,dst=:8000}' --loop --sout-mux-caching=5000
From here I am stuck and need your guys help.

I have also had great difficulty in streaming an image via the cmd line and would love to know what I would need to put in place to do that.

Side note: I was partially able to achieve my outcomes by using the VLM GUI on my Redhat box however it involved playing the "offline" stream continuously whilst also playing the live stream. I also found the VLM GUI somewhat buggy

Thanks in advance.

Frosty

Re: VLC/VLM stream playlist

Posted: 05 Dec 2012 10:44
by Jean-Baptiste Kempf
What do you need more?

Re: VLC/VLM stream playlist

Posted: 05 Dec 2012 13:13
by frostyboy33
I would like to be able to achieve my streaming goal by
-using only the cmd line
-not haveing 2 streams playing at once

frosty