We need to stream a number of live feeds to multiple type of clients. (web, mobile, ...) This means we have to transcode our feeds into multiple formats.
This works fine if we only generate 1 stream, like this
Code: Select all
vlc -vvv --reset-config INPUTSTREAM --sout #transcode:rtp --sout-transcode-vcodec=mp4v --sout-transcode-width=128 --sout-transcode-height=96 --sout-transcode-vb=16 --sout-transcode-acodec=mp4a --sout-transcode-ab=16 --sout-transcode-channels=1 --sout-transcode-venc=ffmpeg{keyint=6,strict=1,strict-rc=1} --sout-rtp-dst=127.0.0.1 --sout-rtp-port=1230 --sout-rtp-ttl=127 --sout-rtp-sdp=OUTPUT.sdp
Code: Select all
vlc -vvv --reset-config INPUTSTREAM2 --sout #transcode:rtp --sout-transcode-vcodec=mp4v --sout-transcode-width=128 --sout-transcode-height=96 --sout-transcode-vb=16 --sout-transcode-acodec=mp4a --sout-transcode-ab=16 --sout-transcode-channels=1 --sout-transcode-venc=ffmpeg{keyint=6,strict=1,strict-rc=1} --sout-rtp-dst=127.0.0.1 --sout-rtp-port=1234 --sout-rtp-ttl=127 --sout-rtp-sdp=OUTPUT2.sdp
Thanks in advance