cpnetserver
Posts: 2
Joined: Sun Jul 07, 2019 4:33 pm

RaspBerryPi 4 - OMXPlayer not work

Sun Jul 07, 2019 6:17 pm

Hi guys!
New PI, same old problem...
I'm trying to watch videos with omxplayer but not work, this is the error that gives me back:
root@RaspBPi4:/home/pi # omxplayer mr_robot_1x1.mkv
Chapter : 0 00:00:00.000 0.00
Chapter : 1 00:06:35.562 395.00
Chapter : 2 00:31:28.637 1888.00
Chapter : 3 00:43:58.845 2638.00
Video codec omx-h264 width 1920 height 1080 profile 100 fps 23.976025
Audio codec ac3 channels 2 samplerate 48000 bitspersample 16
Subtitle count: 3, state: off, index: 1, delay: 0
* failed to add service - already in use?
V:PortSettingsChanged: 1920x1080@23.98 interlace:0 deinterlace:0 anaglyph:0 par:0.90 display:0 layer:0 alpha:255 aspectMode:0
/usr/bin/omxplayer: line 67: 2782 Aborted LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" $OMXPLAYER_BIN "$@"
Can someone help me?
Thanks for reply.

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 7019
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: RaspBerryPi 4 - OMXPlayer not work

Sun Jul 07, 2019 6:36 pm

The subtitle and on screen display of omxplayer use the openvg library which is only present on the older Pi models. The on screen display has been disabled for pi4, but it sounds like subtitles still try to render using it. I haven't got a Pi to hand to check, but there should be an option to disabled the subtitles, and that should then work.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

cpnetserver
Posts: 2
Joined: Sun Jul 07, 2019 4:33 pm

Re: RaspBerryPi 4 - OMXPlayer not work

Sun Jul 07, 2019 6:40 pm

I transformed the mkv video into mp4 and now work rightly.
Thank You very much...! ;)

cjan
Posts: 709
Joined: Sun May 06, 2012 12:00 am

Re: RaspBerryPi 4 - OMXPlayer not work

Sun Jul 07, 2019 9:44 pm

same here, omxplayer can not player anything in buster, Rpi2b.

gkreidl
Posts: 5997
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: RaspBerryPi 4 - OMXPlayer not work

Sun Jul 07, 2019 9:55 pm

cjan wrote:
Sun Jul 07, 2019 9:44 pm
same here, omxplayer can not player anything in buster, Rpi2b.
Are you using the legacy driver or one of the KMS drivers?
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

cjan
Posts: 709
Joined: Sun May 06, 2012 12:00 am

Re: RaspBerryPi 4 - OMXPlayer not work

Sun Jul 07, 2019 10:12 pm

gkreidl wrote:
Sun Jul 07, 2019 9:55 pm
cjan wrote:
Sun Jul 07, 2019 9:44 pm
same here, omxplayer can not player anything in buster, Rpi2b.
Are you using the legacy driver or one of the KMS drivers?
buster default FKMS.

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 7019
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: RaspBerryPi 4 - OMXPlayer not work

Mon Jul 08, 2019 6:33 am

Pi 0-3 should be identical. You'll need to provide any error logs if you want help.
And the default for pi 0-3 is still the legacy driver, not fkms.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

User avatar
Fidelius
Posts: 438
Joined: Wed Jan 01, 2014 8:40 pm
Location: Germany

Re: RaspBerryPi 4 - OMXPlayer not work

Mon Jul 08, 2019 7:10 am

cjan wrote:
Sun Jul 07, 2019 10:12 pm
gkreidl wrote:
Sun Jul 07, 2019 9:55 pm
Are you using the legacy driver or one of the KMS drivers?
buster default FKMS.
Omxplayer won't run on Raspbian 10-Buster when you use the fkms or kms driver, i.e. when your /boot/config.txt file has in it this line:
dtoverlay=vc4-fkms-v3d
or
dtoverlay=vc4-kms-v3d
Remove it and omxplayer works again.

VLC is running nicely on the Pi with HW acceleration in window and fullscreen mode, and is also compatible with an enabled (f)ksm driver.

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 7019
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: RaspBerryPi 4 - OMXPlayer not work

Mon Jul 08, 2019 11:16 am

Fidelius wrote:
Mon Jul 08, 2019 7:10 am
cjan wrote:
Sun Jul 07, 2019 10:12 pm
gkreidl wrote:
Sun Jul 07, 2019 9:55 pm
Are you using the legacy driver or one of the KMS drivers?
buster default FKMS.
Omxplayer won't run on Raspbian 10-Buster when you use the fkms or kms driver, i.e. when your /boot/config.txt file has in it this line:
dtoverlay=vc4-fkms-v3d
or
dtoverlay=vc4-kms-v3d
Remove it and omxplayer works again.
It should, but there's a minor bug in detecting the fkms or kms overlay. I've raised an issue - https://github.com/popcornmix/omxplayer/issues/720
Add "--no-osd" to the command line and it'll run fine.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

User avatar
Fidelius
Posts: 438
Joined: Wed Jan 01, 2014 8:40 pm
Location: Germany

Re: RaspBerryPi 4 - OMXPlayer not work

Mon Jul 08, 2019 11:20 am

Ah, this explains it.
Thanks for the "--no-osd" info and for the bug-report!

piSignage
Posts: 4
Joined: Thu Aug 02, 2018 12:30 pm

Re: RaspBerryPi 4 - OMXPlayer not work

Mon Jul 22, 2019 6:01 am

Thanks for the bug report and the flag!

Return to “General discussion”