2

These are the commands I'm trying to use

Server side:

ffmpeg -f x11grab -video_size cif -framerate 25 -i :0.0+10,20 -f avi - | nc -l 1500

Client side:

nc <server ip> 1500 | mplayer -vo x11 -cache 3000 - 

It seems to be streaming on the server side but client is not able to view the stream.

alasin
  • 172
  • 3
  • 15

1 Answers1

1

I think you have the server and client confused; try on sending side:

ffmpeg -f x11grab -video_size cif -framerate 25 -i :0.0+10,20 -f avi - \
| nc <server ip> 1500

and on the receiving side:

nc -l 1500 | mplayer -vo x11 -cache 3000 - 
sdaau
  • 36,975
  • 46
  • 198
  • 278