Bug 2120747 - Please enable XV (XVideo) output device
Summary: Please enable XV (XVideo) output device
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ffmpeg
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Schneider
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-23 16:30 UTC by Andrew
Modified: 2023-02-24 04:11 UTC (History)
5 users (show)

Fixed In Version: ffmpeg-5.1.2-9.fc37 ffmpeg-5.1.2-12.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-16 02:03:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andrew 2022-08-23 16:30:31 UTC
Description of problem:

Currently it's not possible to use xv output format in ffmpeg:

  $ ffmpeg -i in.mkv /tmp/out.mkv -f xv display
  <skip>
  [NULL @ 0x557889c4cec0] Requested output format 'xv' is not a suitable output format
  display: Invalid argument

It's absent in ffmpeg formats list:

  $ ffmpeg -formats 2>/dev/null | grep -i xv
   D  xvag            Sony PS3 XVAG

I see `#define CONFIG_XV_OUTDEV 0` in build log:
  https://kojipkgs.fedoraproject.org//packages/ffmpeg/5.0.1/3.fc36/data/logs/x86_64/build.log

Seems like it's produced by these commands in configure, not sure about the exact reason:

  xv_outdev_deps="X11_extensions_Xvlib_h XvGetPortAttribute"
  xv_outdev_extralibs="-lXv"
  check_func_headers "X11/Xlib.h X11/extensions/Xvlib.h" XvGetPortAttribute -lXv


Version-Release number of selected component (if applicable):
  ffmpeg-5.0.1-3.fc36.x86_64
  libavdevice-5.0.1-3.fc36.x86_64


Additional info:
Why I need it: my task is to play and record video stream from /dev/video0 simultaneously.
Low play latency is important and xv output is much better in this sense than some other ways available for me.

Comment 1 Fedora Update System 2023-02-14 00:11:58 UTC
FEDORA-EPEL-2023-46c778698e has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-46c778698e

Comment 2 Fedora Update System 2023-02-14 00:11:59 UTC
FEDORA-2023-0bc1ca0d48 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-0bc1ca0d48

Comment 3 Fedora Update System 2023-02-15 01:34:10 UTC
FEDORA-2023-0bc1ca0d48 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-0bc1ca0d48`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-0bc1ca0d48

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2023-02-15 01:37:04 UTC
FEDORA-EPEL-2023-46c778698e has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-46c778698e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Andrew 2023-02-15 14:44:39 UTC
Have this installed but seems like no changes: ffmpeg-5.1.2-9.fc37.x86_64
Still can't use xv output

Comment 6 Yaakov Selkowitz 2023-02-15 19:04:36 UTC
Unfortunately, right now there is an NVR clash between Fedora and RPMFusion builds.  The Fedora -9.el37 build definitely shows a dependency on libXv, and "xv" shows up in ffmpeg/ffplay -formats/-devices.  Are you sure you're using only Fedora's builds?

Comment 7 Andrew 2023-02-15 21:37:29 UTC
Thank you, you are right and I missed it completely.
Now I see xv out in ffmpeg from ffmpeg-free package, so this ticket can be closed. I don't see proper description for "closed" status (like done/fixed) so guessing it's available only for you.
Thank you for your help!

Comment 8 Yaakov Selkowitz 2023-02-15 21:38:55 UTC
If you could give "karma" (thumbs up) to the update linked above, that would help move this along.

Comment 9 Fedora Update System 2023-02-16 02:03:25 UTC
FEDORA-2023-0bc1ca0d48 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2023-02-17 02:22:25 UTC
FEDORA-EPEL-2023-46c778698e has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-46c778698e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2023-02-24 04:11:55 UTC
FEDORA-EPEL-2023-46c778698e has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.