Bug #795

omxplayer is deprecated - investigate use of vlc instead

Added by Hammel 2 months ago. Updated 2 months ago.

Status:NewStart date:21 Aug 2020
Priority:HighDue date:
Assignee:Hammel% Done:

0%

Category:Build
Target version:PiBox - 3.0 - Corrino
Severity:02 - High

Description

The omxplayer github site states that omxplayer is deprecated as of 2020/08/21 (or thereabouts). The code is still there but they suggest moving to vlc.

VLC only works if we can drop the use of the UI. However, it may also be much more heavy-weight than oxmplayer because it has a UI, meaning builds could be far more complex and there may be many more dependencies.

Buildroot has VLC but I don't know if it's hardware accelerated for the Raspberry Pi. Even if it is it may require having Buildroot grab the userland tools (EGL, for example) for it's build instead of grabbing them via PiBox. I'm not sure that's how I want to handle this or not.

History

#1 Updated by Hammel 2 months ago

To play VLC without a UI

vlc --intf dummy <url>
Still need to know how to:
  1. Loop playback of single file or playlist
  2. Play a playlist generated from db.
  3. Command vlc via dbus so it doesn't restart but simply starts playing the next video.

#2 Updated by Hammel 2 months ago

VLC supports a dbus interface including playlist management.

Playlists are explained in this superuser.com response.

Also available in: Atom PDF