I'm trying to live-stream my full screen application and to view it from another machine in the same network.
I'm using this command to start the streaming, it works well and I can see the livestream with 2/3 seconds of delay:
ffmpeg -video_size 1920x1080 -r 10 -f x11grab -i :0.0 -f mpegts -b:v 4096k udp://othermachineaddress:8554
But when I try to play the video sometimes I can see some graphics artifacts with the desktop background (some portion of it) of the streaming machine (which has my application in full screen modality, you can't see the desktop background on the real machine).
I suppose that is not a problem related with the UDP stream but with screen capture (there is no other graphic artifact like green screen that suggests packet loss). During the streaming the CPU and the RAM load is minimal.
I'm using Ubuntu 16.04 on both machines.
There are some flags that I can try to resolve the "Desktop background artifact"?