Hi.
I had the same issue, and at least for me it was kind of a gstreamer bug:

Short version: install gstreamer1.0-libav, and possibly remove gstreamer1.0-plugins-bad to get rid of 'eglglessink' which might get incorrectly used for video output.

Long story:
First, gstreamer1.0-libav was missing (a post in the Arch Linux forum tipped me off [1]). After installing this package (from testing), a preview, i.e., the first frame of the video, was shown for videos inserted on a slide.

However, playback did not work yet - there was just a white empty window, and Libreoffice locked up. LibreOffice uses the gstreamer 'playbin' module(?), which offers an easy way to play media files.

One can also run it as follows:
gst-launch-1.0 playbin uri=file:///path/to/vid.webm

However, this command failed for me, giving an error message about EGL and no access to DRM2. Theoretically, playbin should automatically select the best video output (e.g., Xvideo), as documented in [2]:

"By default, if no audio sink or video sink has been specified via the "audio-sink" or "video-sink" property, playbin will use the autoaudiosink and autovideosink elements to find the first-best available output method. "

This was apparently not entirely correct, as playbin automatically used 'eglglessink' - which was the first video sink listed when running 'gst-inspect-1.0'. However, as my desktop system does not support EGL, no video was output.

Strangely, the explicitly setting 'autovideosink' as the video sink correctly selects xvimagesink as video output:
gst-launch-1.0 playbin uri=file:///path/to/vid.webm video-sink=autovideosink

This is either a bug in gstreamer or misconfiguration in my gstreamer setup.

There is no way of selecting the video sink for LibreOffice playback without changing the source code. Therefore, I resorted to removing package gstreamer1.0-plugins-bad which contains 'eglglessink'.

Video playback in LibreOffice worked afterwards.

Can anyone confirm this?

Best,

Raphael


[1] https://bbs.archlinux.org/viewtopic.php?id=165774
[2] http://www.freedesktop.org/software/gstreamer-sdk/data/docs/latest/gst-plugins-base-plugins-0.10/gst-plugins-base-plugins-playbin2.html


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to