[GH-ISSUE #4978] ffplay fails to play anything #2844

Closed
opened 2026-05-05 09:29:50 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @alkim0 on GitHub (Feb 25, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4978

Description

Playing any video fails with ffplay under firejail's current profile.

Steps to Reproduce

Install ffmpeg and firejail and play a video file after running firecfg.

Expected behavior

It should play the video.

Actual behavior

Errors out with error code 139

Behavior without a profile

Plays video just fine.

Additional context

Adding:

ignore dbus-user
ignore dbus-system

to ffplay.local resolves the problem.

Environment

  • Linux distribution: Arch Linux
  • Firejail version: 0.9.68

Checklist

  • The issues is caused by firejail (i.e. running the program by path (e.g. /usr/bin/vlc) "fixes" it).
  • [x I can reproduce the issue without custom modifications (e.g. globals.local).
  • The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
  • The profile (and redirect profile if exists) hasn't already been fixed upstream.
  • I have performed a short search for similar issues (to avoid opening a duplicate).
    • I'm aware of browser-allow-drm yes/browser-disable-u2f no in firejail.config to allow DRM/U2F in browsers.
  • I used --profile=PROFILENAME to set the right profile. (Only relevant for AppImages)
Originally created by @alkim0 on GitHub (Feb 25, 2022). Original GitHub issue: https://github.com/netblue30/firejail/issues/4978 <!-- See the following links for help with formatting: https://guides.github.com/features/mastering-markdown/ https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax --> ### Description Playing any video fails with ffplay under firejail's current profile. ### Steps to Reproduce Install ffmpeg and firejail and play a video file after running firecfg. ### Expected behavior It should play the video. ### Actual behavior Errors out with error code 139 ### Behavior without a profile Plays video just fine. ### Additional context Adding: ``` ignore dbus-user ignore dbus-system ``` to `ffplay.local` resolves the problem. ### Environment - Linux distribution: Arch Linux - Firejail version: 0.9.68 ### Checklist <!-- Note: Items are checked with an "x", like so: - [x] This is a checked item. --> - [x] The issues is caused by firejail (i.e. running the program by path (e.g. `/usr/bin/vlc`) "fixes" it). - [x I can reproduce the issue without custom modifications (e.g. globals.local). - [x] The program has a profile. (If not, request one in `https://github.com/netblue30/firejail/issues/1139`) - [x] The profile (and redirect profile if exists) hasn't already been fixed [upstream](https://github.com/netblue30/firejail/tree/master/etc). - [x] I have performed a short search for similar issues (to avoid opening a duplicate). - [ ] I'm aware of `browser-allow-drm yes`/`browser-disable-u2f no` in `firejail.config` to allow DRM/U2F in browsers. - [ ] I used `--profile=PROFILENAME` to set the right profile. (Only relevant for AppImages)
Author
Owner

@rusty-snake commented on GitHub (Feb 25, 2022):

I can not reproduce this (Fedora Linux 35).

<!-- gh-comment-id:1050646834 --> @rusty-snake commented on GitHub (Feb 25, 2022): I can not reproduce this (Fedora Linux 35).
Author
Owner

@ghost commented on GitHub (Feb 25, 2022):

Same here, ffplay works fine on my Arch Linux box.

$ pacman -Q ffmpeg
ffmpeg 2:5.0-4

I remember seeing something on issues with ffmpeg 5.x and Firefox on the Arch Linux forums. Do you happen to have ffmpeg4.4 installed?

<!-- gh-comment-id:1050733073 --> @ghost commented on GitHub (Feb 25, 2022): Same here, ffplay works fine on my Arch Linux box. ```console $ pacman -Q ffmpeg ffmpeg 2:5.0-4 ``` I remember seeing something on issues with ffmpeg 5.x and Firefox on the Arch Linux forums. Do you happen to have ffmpeg4.4 installed?
Author
Owner

@alkim0 commented on GitHub (Feb 28, 2022):

I do in fact have both ffmpeg4.4 and ffmpeg 2:5.0-4 installed. I would appreciate a link to the Arch Linux forums if you still have it @glitsj16 .

<!-- gh-comment-id:1053923769 --> @alkim0 commented on GitHub (Feb 28, 2022): I do in fact have both ffmpeg4.4 and ffmpeg 2:5.0-4 installed. I would appreciate a link to the Arch Linux forums if you still have it @glitsj16 .
Author
Owner

@ghost commented on GitHub (Feb 28, 2022):

I do in fact have both ffmpeg4.4 and ffmpeg 2:5.0-4 installed. I would appreciate a link to the Arch Linux forums if you still have it @glitsj16 .

Having ffmpeg4.4 installed alongside ffmpeg is the correct 'fix' for firefox video play on Arch Linux. Here are the links I found:

https://bbs.archlinux.org/viewtopic.php?id=274229
https://bugs.archlinux.org/task/73841

<!-- gh-comment-id:1054133381 --> @ghost commented on GitHub (Feb 28, 2022): > I do in fact have both ffmpeg4.4 and ffmpeg 2:5.0-4 installed. I would appreciate a link to the Arch Linux forums if you still have it @glitsj16 . Having ffmpeg4.4 installed alongside ffmpeg is the correct 'fix' for firefox video play on Arch Linux. Here are the links I found: https://bbs.archlinux.org/viewtopic.php?id=274229 https://bugs.archlinux.org/task/73841
Author
Owner

@alkim0 commented on GitHub (Feb 28, 2022):

Looking through the forums, I did actually have the issue mentioned in the forums, but restarting firefox actually fixed it for me.

However, since no one can reproduce this issue, it seems to be a configuration-specific problem, so I'll close this issue.

Thanks for the help.

<!-- gh-comment-id:1054648635 --> @alkim0 commented on GitHub (Feb 28, 2022): Looking through the forums, I did actually have the issue mentioned in the forums, but restarting firefox actually fixed it for me. However, since no one can reproduce this issue, it seems to be a configuration-specific problem, so I'll close this issue. Thanks for the help.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2844
No description provided.