Public bug reported:

For the linked video, if I try to play it through playbin on Jammy
(`gst-launch-1.0 playbin
uri=file:///home/floe/Downloads/big_buck_bunny_720p_surround.mp4`), I
get only a black window with the audio track playing in the background.
This happens for most H.264 encoded videos (which also can't play in
Totem, see
https://bugs.launchpad.net/ubuntu/+source/totem/+bug/1969512).

Running with GST_DEBUG=3 gives a lot of
```
0:00:00.381581482 183712 0x7f5f6c05b640 ERROR vaapivideomemory 
gstvaapivideomemory.c:254:map_vaapi_memory: failed to make image current
0:00:00.381663666 183712 0x7f5f6c05b640 ERROR default 
video-frame.c:168:gst_video_frame_map_id: failed to map video frame plane 0
0:00:00.381711318 183712 0x7f5f6c05b640 WARN xvimagesink 
xvimagesink.c:1038:gst_xv_image_sink_show_frame:<xvimagesink0> could not map 
image
```

This issue can be worked around by uninstalling gstreamer1.0-vaapi
package, or by downgrading to 1.16.2-2.

vlc seems to be using VAAPI on the same machine & distro without issues:

```
$ vlc big_buck_bunny_720p_surround.mp4
VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000055cebcc6f580] main libvlc: Running vlc with the default interface. Use 
'cvlc' to use vlc without interface.
[00007f9b1c003e50] gl gl: Initialized libplacebo v4.192.1 (API v192)
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
[00007f9b39141220] avcodec decoder: Using Intel iHD driver for Intel(R) Gen 
Graphics - 22.3.1 () for hardware decoding
```

[1]
https://archive.org/download/BigBuckBunny_124/Content/big_buck_bunny_720p_surround.mp4

** Affects: gstreamer-vaapi (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971463

Title:
  VAAPI decoding fails on Jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gstreamer-vaapi/+bug/1971463/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to