Bug#820181: gstreamer1.0-vaapi: installing vaapi breaks gstreamer video playback

John Kozak jk at thameslighter.net
Wed Apr 6 09:30:47 UTC 2016


Package: gstreamer1.0-vaapi
Version: 0.5.9-2
Severity: important

Dear Maintainer,

Video playback via playbin works somewhat (tearing and frame-drop at 2k)
without vaapi using this command: 

 $ gst-launch-1.0 playbin uri=file:///var/local/incoming/clap3-bobcoecke.avi
 Setting pipeline to PAUSED ...
 Pipeline is PREROLLING ...
 Redistribute latency...
 Pipeline is PREROLLED ...
 Setting pipeline to PLAYING ...
 New clock: GstAudioSinkClock

After apt-get install gstreamer1.0-vaapi get a black frame and this:

 $ gst-launch-1.0 playbin uri=file:///var/local/incoming/clap3-bobcoecke.avi
 Setting pipeline to PAUSED ...
 Pipeline is PREROLLING ...
 libva info: VA-API version 0.36.0
 libva info: va_getDriverName() returns 0
 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
 libva info: Found init function __vaDriverInit_0_35
 libva info: va_openDriver() returns 0
 Got context from element 'vaapidecode0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;
 Redistribute latency...

 ** (gst-launch-1.0:28987): CRITICAL **: gst_vaapi_image_get_plane: assertion 'image != NULL' failed

 ** (gst-launch-1.0:28987): CRITICAL **: gst_vaapi_image_get_pitch: assertion 'image != NULL' failed

 ** (gst-launch-1.0:28987): CRITICAL **: gst_vaapi_image_get_plane: assertion 'image != NULL' failed

 ** (gst-launch-1.0:28987): CRITICAL **: gst_vaapi_image_get_pitch: assertion 'image != NULL' failed

 ** (gst-launch-1.0:28987): CRITICAL **: gst_vaapi_image_get_plane: assertion 'image != NULL' failed

 ** (gst-launch-1.0:28987): CRITICAL **: gst_vaapi_image_get_pitch: assertion 'image != NULL' failed

 ** (gst-launch-1.0:28987): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed

 ** (gst-launch-1.0:28987): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed

 ** (gst-launch-1.0:28987): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed


While some video files do play, others fail differently.  I believe that
this means there isn't a way of playing back video adequately (at 2k at
least) using debian gstreamer.  The VDPAU "bad" plugin might help, but
isn't built by default.

ffplay manages to play the test video files well, i.e. no tearing or
frame-drop that I noticed.

-- System Information:
Debian Release: 8.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gstreamer1.0-vaapi depends on:
ii  libc6                           2.19-18+deb8u4
ii  libglib2.0-0                    2.42.1-1+b1
ii  libgstreamer-plugins-base1.0-0  1.4.4-2
ii  libgstreamer-vaapi1.0-0         0.5.9-2
ii  libgstreamer1.0-0               1.4.4-2
ii  multiarch-support               2.19-18+deb8u4

gstreamer1.0-vaapi recommends no packages.

Versions of packages gstreamer1.0-vaapi suggests:
pn  gstreamer1.0-vaapi-doc  <none>

-- no debconf information

--
John



More information about the pkg-gstreamer-maintainers mailing list