Page 1 of 1

how generated a configuration file?

Posted: 02 Jun 2008 07:55
by bnp322@yandex.ru
hello!

I am
vlc -vvv udp:@224.1.1.1:11111 :program=1 --sout #transcode{vcodec=mp4v,vb=170,fps=12.5,scale=0.5,acodec=mpga,ab=32,samplerate=32000,channels=1}:std{access=file,mux=ts,dst-delay=2000,dst="c:\1.avi"}

vlc -I telnet --vlm-conf <the file> --- how this using, telnet -not need. How name vlm-conf?

Re: how generated a configuration file?

Posted: 02 Jun 2008 19:34
by Squirrelywrath
Not sure what to do with the :program=1 but here is a starting point for you.

Code: Select all

vlc "udp://@224.1.1.1:11111" -vvv --sout '#transcode{vcodec=FLV1,deinterlace=linear,scale=.4,vb=400}:std{access=http,mux=ffmpeg{mux=flv},dst=127.0.0.1:8087/stream.flv}' -I telnet
converts to the below.

Code: Select all

new channel1 broadcast enabled setup channel1 input "udp://@224.1.1.1:11111" setup channel1 output #transcode{vcodec=FLV1,deinterlace=linear,scale=.4,vb=400}:std{access=http,mux=ffmpeg{mux=flv},dst=127.0.0.1:8087/stream.flv} control channel1 play
The channel1 is just an arbitrary name I gave to the stream. This creates a new channel or stream in the vlm configuration and starts the channel automatically. In my case the input is a never ending feed that I want to always stream. Your configuration maybe slightly different but as I stated this should be a starting point.