q5e-pa
Last Updated: March 21, 2016
·
511
· superboum
Avatar1

Unable to play video with totem, opencv or any gstreamer frontend

If you encounter a problem when you try to play a video on Linux, and have one of the following error :

When playing video with totem :

DtsGetHWFeatures: Create File Failed
DtsGetHWFeatures: Create File Failed
Running DIL (3.22.0) Version
DtsDeviceOpen: Opening HW in mode 0
DtsDeviceOpen: Create File Failed
libva info: VA-API version 0.38.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0

(totem:31636): Cogl-WARNING **: driver/gl/cogl-buffer-gl.c:93: GL error (1280): Invalid enumeration value

When opening video with OpenCV :

libva info: VA-API version 0.38.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0

** CRITICAL **: gst_video_format_get_info: assertion 'format < G_N_ELEMENTS (formats)' failed

It might be because you have the following package installed : gstreamer1-vaapi on fedora or gstreamer1.0-vaapi

You can try to delete it (at your own risk) with apt-get remove gstreamer1-vaapi or dnf remove gstreamer1-vaapi. It worked for me

Source : https://bugs.launchpad.net/ubuntu/+source/gstreamer1.0/+bug/1373978/comments/10

Say Thanks
Respond
Filed Under

Awesome Job

A3e45f3a cade 11e7 83bc 71c9546a2749
Systems Engineer
·
Fulton, Maryland or Remote
·
Full Time