Page 1 of 1

newbie: vlc as a stream multiplier

Posted: 05 Aug 2013 17:08
by tonj
I've got vlc running by command line on a centos 6 server and I've managed to get a stream from an axis ip cam with this command:
cvlc http://username:password@<cam-ip address>/axis-cgi/mjpg/video.cgi? --sout '#transcode{vcodec=FLV1,vb=512,acodec=mpga,ab=64,samplerate=44100}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:8081/stream.flv}'
I'm new to vlc by command line and this is the first command that's ever worked for me. Problem is the resultant video is degraded in quality from the original so I think I need to greatly simplify the output. I don't really need flv transcoding and the like. What's the simplest output command I could use that takes the original stream as it is and duplicates it out again?
The purpose of this is to broadcast the original ip cam video to multiple simultaneous destinations. Thanks for any pointers.