Bug#852160: gstreamer1.0-vaapi: presence breaks totem-video-thumbnailer

Christoph Anton Mitterer calestyo at scientia.net
Sun Jan 22 07:13:59 UTC 2017


Package: gstreamer1.0-vaapi
Severity: important


Hi.

This problem exists since quite a while now, as soon as gstreamer1.0-vaapi
is installed totem-video-thumbnailer fails to create thumbnails for many
formats (I've noticed e.g. WMV, realmead, some mpeg container formats).


For example with the package being installed:

$ totem-video-thumbnailer --verbose video.wmv foo.jpg
TotemVideoThumbnailer-Message: Initialised libraries, about to create video widget
TotemVideoThumbnailer-Message: setting URI file:///tmp/video.wmv
TotemVideoThumbnailer-Message: Video widget created
TotemVideoThumbnailer-Message: About to open video file
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
TotemVideoThumbnailer-Message: Checking whether file has cover
TotemVideoThumbnailer-Message: Opened video file: 'video.wmv'
TotemVideoThumbnailer-Message: About to seek to 0,333333
TotemVideoThumbnailer-Message: About to get frame for iter 0

** (totem-video-thumbnailer:11267): WARNING **: Could not take screenshot: failed to retrieve or convert video frame
TotemVideoThumbnailer-Message: Frame for iter 0 was not interesting
TotemVideoThumbnailer-Message: About to seek to 0,666667
TotemVideoThumbnailer-Message: About to get frame for iter 1

** (totem-video-thumbnailer:11267): WARNING **: Could not take screenshot: failed to retrieve or convert video frame
TotemVideoThumbnailer-Message: Frame for iter 1 was not interesting
TotemVideoThumbnailer-Message: About to seek to 0,100000
TotemVideoThumbnailer-Message: About to get frame for iter 2

** (totem-video-thumbnailer:11267): WARNING **: Could not take screenshot: failed to retrieve or convert video frame
TotemVideoThumbnailer-Message: Frame for iter 2 was not interesting
TotemVideoThumbnailer-Message: About to seek to 0,900000
TotemVideoThumbnailer-Message: About to get frame for iter 3

** (totem-video-thumbnailer:11267): WARNING **: Could not take screenshot: failed to retrieve or convert video frame
TotemVideoThumbnailer-Message: Frame for iter 3 was not interesting
TotemVideoThumbnailer-Message: About to seek to 0,500000
TotemVideoThumbnailer-Message: About to get frame for iter 4

** (totem-video-thumbnailer:11267): WARNING **: Could not take screenshot: failed to retrieve or convert video frame
TotemVideoThumbnailer-Message: Frame for iter 4 was not interesting
totem-video-thumbnailer couldn't get a picture from 'video.wmv'
calestyo at heisenberg:~/data/__todo/.HSA/deletable$ totem-video-thumbnailer --verbose video.wmv foo.jpg --gst-debug
couldn't parse command-line options: Missing argument for --gst-debug




And without it being installed:

$ totem-video-thumbnailer --verbose video.wmv foo.jpg
TotemVideoThumbnailer-Message: Initialised libraries, about to create video widget
TotemVideoThumbnailer-Message: setting URI file:///tmp/video.wmv
TotemVideoThumbnailer-Message: Video widget created
TotemVideoThumbnailer-Message: About to open video file
TotemVideoThumbnailer-Message: Checking whether file has cover
TotemVideoThumbnailer-Message: Opened video file: 'video.wmv'
TotemVideoThumbnailer-Message: About to seek to 0,333333
TotemVideoThumbnailer-Message: About to get frame for iter 0
TotemVideoThumbnailer-Message: Frame for iter 0 is interesting
TotemVideoThumbnailer-Message: Saving captured screenshot



This affects of course any piece of software that uses totem-video-thumbnailer
for creating thumbails (e.g. nautilus).


Cheers,
Chris.


-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)

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



More information about the pkg-gstreamer-maintainers mailing list