Quantcast
Viewing all articles
Browse latest Browse all 4871

Graphics, sound and multimedia • omxplayer replacement with vlc

Am I the only one that still find vlc can't quite replace omxplayer?

I am trying to display two RTSP streams (h264) alongside another application (under X11) and on a Pi3B running I have been able to do this by using Raspbian "Buster" and omxplayer by running omxplayer with the --win argument to position it and running the X11 app in a virtual display area created by Xephyr. It runs under 60ºC with no active cooling. (The only problem I was never able to solve is if the stream drops for any reason omxplayer restarts and sometimes blanks the other elements on the display)

I have tried to replicate this with (c)vlc but can't get it to work acceptably at all.

There is no equivalent to --win that I can see so the only way I was able to get it to fit in the same sort of tiled arrangement was downgrading Wayland back to X11 and running it within Xephyr.

The latency is much poorer than omxplayer, from looking elsewhere it seems that using mmal would perhaps solve this, but it seems that the current version of VLC in Raspbian doesn't support this either.

What's worse is that the pi runs > 80ºC and therefore is then throttled.

Essentially I'm struggling with two things;

- Firstly, Is there any way (on a recent version of Raspbian) to control VLC in a similar way to omxplayer's --win parameters to place a video stream at a specific point on the screen?

- Secondly, what am I missing to get the same performance in terms of latency (and heat!) out of VLC as omxplayer offered before?

Any advice anyone can offer would be much appreciated.

Statistics: Posted by rshenm — Mon May 06, 2024 10:03 pm



Viewing all articles
Browse latest Browse all 4871

Trending Articles