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.
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 -
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.