3

As in the question, I need to share a video in lan by broadcasting.

From server, I've tried with:

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

From client I can play video with:

omxplayer udp://serverIP:1234 

But this works only for one "connection".

What I need is to put the video stream in broadcast that all the clients can read.

Any ideas?

2
  • Have you multiple client machines ? you are sending to only one destinationIP. You probally want to use MULTICAST, (or for a quick try BROADCAST) address at destination and client. Commented Feb 19, 2014 at 11:39
  • I find the solution by my self, I've already answered to this question.. thanks! Commented Feb 19, 2014 at 11:46

1 Answer 1

2

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:

omxplayer 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.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.