streaming to two destination

About encoding, codec settings, muxers and filter usage
koyaya
Blank Cone
Blank Cone
Posts: 14
Joined: 25 May 2011 11:52

streaming to two destination

Postby koyaya » 25 May 2011 12:59

hi

is it possible to stream rtp (or udp, or whatever) to a broadcast ip address like 192.168.255.255?
i am streaming to two destination on my lan, and want to use as few network bandwitdth as possible
and not doing something like

Code: Select all

% vlc -vvv input_stream --sout '#duplicate{dst=display, dst="transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}: duplicate{dst=rtp{mux=ts,dst=192.168.1.2,port=50008}, dst=rtp{mux=ts,dst=192.168.1.12,port=50010}"}'
if it is possible what will be the command line in the client for receiving such a stream

thanks

Moriquendi
Blank Cone
Blank Cone
Posts: 74
Joined: 31 May 2011 16:22

Re: streaming to two destination

Postby Moriquendi » 09 Jun 2011 16:16

I am not an expert but cant u just multicast the stream? This works for me;

Code: Select all

% vlc -vvv input_stream --sout '#duplicate{dst=display, dst="transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}: duplicate{dst=rtp{mux=ts,dst=224.0.0.0}"}'
For the client side(s), open vlc instance network stream as
rtp://224.0.0.0
Multicast addresses vary from 224.0.0.0 to 239.255.255.255 as far as i know, so you may just use one of those instead.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 14 guests