문제

I'm doing some test for broadcasting a video stream.

I try with:

 avconv -i video.mov -c:v libx264 -f mpegts udp://[destinationIP]:1234

And from "destinationIP" I can play the stream.

But, how can I specify a range of IP and not a single IP?

도움이 되었습니까?

해결책

I found the solution searching on web, especially reading this page.

For transmit video:

avconv -i video.mov -c:v libx264 -f mpegts udp://224.0.0.100:1234

From any client in the lan:

mplayer udp://224.0.0.100:1234

The trick is to trasmit to the multicast group with the ip range:

. from 224.0.0.0   
. to   239.255.255.255

'1234' is the port used to stream.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top