I am running a comparison on a 720p HD video of running it directly:
omxplayer Shame.mkv
and off of a vlc server configured like so:
new channel1 broadcast enabled
setup channel1 input /path/to/Shame.mkv loop
setup channel1 output #rtp{access=udp,mux=ts,dst=raspi1,port=1234,sdp=sap,sap,group="Video",name="Shame"}
control channel1 play
executed on the server like so:
vlc -I telnet --vlm-conf ~/vlc.streaming.conf
and called like so on the client:
omxplayer udp://192.168.1.102:1235
Now bear in mind that the file Shame.mkv
is stored on the server and accessed by the client via NFS
, so it is identical in both cases, and is using the same physical cat5e cable in both cases. When I run it locally on the client, it works flawlessly, not a single problem. When I try to run it via the udp stream, it is terrible. There are big digital boxes everywhere, the bottom half of the screen is sometimes green boxes, other times completely white, sometimes it looks like that RGB effect on old TVS, sometimes it hangs for 5-10 seconds... It's a nightmare
Question:
Why is this happening?
Motivation:
In case anyone is wondering why I am even bothering with this stream it is because I want to synchronize multiple raspi/TVs (see here) which omxplayer can't do. I tried installing vlc as mentioned here and described here but building it was a nightmare, and I still have not got it to work in any meaningful way, and even if I do get it to work, even the guy who hacked it admits that the raspi has to be overclocked for it to work. Finally, xiaobai suggested (here) I modify omxplayer's source code to allow for synchronization, but it just should not have to be this difficult. It seems like everytime I get close to a solution, raspi manages to shut me down.
http
, though not with that config file, and it had similar problems. I don't know what rtsp is, nor what 'incorrect MUX' means.mpegts over UDP
)