Bug#717112: libreoffice: Insert Movie and Sound, and Media Player not working

2013-10-14 Thread Rene Engelhard
Hi,

On Sun, Oct 13, 2013 at 01:16:41AM +0200, Raphael Wimmer wrote:
[...]
> Therefore, I resorted to removing package gstreamer1.0-plugins-bad
> which contains 'eglglessink'.
> 
> Video playback in LibreOffice worked afterwards.
> 
> Can anyone confirm this?

Will try, but it's a hackaround at it's best, especially as removing this
doesn't work in some cases ...

(sid)root@frodo:/# dpkg -P gstreamer1.0-plugins-bad
dpkg: dependency problems prevent removal of gstreamer1.0-plugins-bad:amd64:
 libcheese7:amd64 depends on gstreamer1.0-plugins-bad.
 libfarstream-0.2-2:amd64 depends on gstreamer1.0-plugins-bad.

dpkg: error processing gstreamer1.0-plugins-bad:amd64 (--purge):
 dependency problems - not removing
Errors were encountered while processing:
 gstreamer1.0-plugins-bad:amd64
(sid)root@frodo:/# dpkg -P gstreamer1.0-plugins-bad libcheese7 
libfarstream-0.2-2
dpkg: dependency problems prevent removal of libcheese7:amd64:
 gnome-control-center depends on libcheese7 (>= 3.0.1).
 libcheese-gtk23:amd64 depends on libcheese7 (>= 3.4.0).
 gnome-contacts depends on libcheese7 (>= 3.0.1).

dpkg: error processing libcheese7:amd64 (--purge):
 dependency problems - not removing
dpkg: dependency problems prevent removal of libfarstream-0.2-2:amd64:
 libtelepathy-farstream3:amd64 depends on libfarstream-0.2-2 (>= 0.1.91).
 empathy depends on libfarstream-0.2-2 (>= 0.1.91).

dpkg: error processing libfarstream-0.2-2:amd64 (--purge):
 dependency problems - not removing
dpkg: dependency problems prevent removal of gstreamer1.0-plugins-bad:amd64:
 libcheese7:amd64 depends on gstreamer1.0-plugins-bad.
 libfarstream-0.2-2:amd64 depends on gstreamer1.0-plugins-bad.

dpkg: error processing gstreamer1.0-plugins-bad:amd64 (--purge):
 dependency problems - not removing
Errors were encountered while processing:
 libcheese7:amd64
 libfarstream-0.2-2:amd64
 gstreamer1.0-plugins-bad:amd64

... unless you want to live without gnome-contacts or empathy...
Or even worse: gnome-control-center...

Regards,

Rene


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



Bug#717112: libreoffice: Insert Movie and Sound, and Media Player not working

2013-10-12 Thread Raphael Wimmer

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



Bug#717112: libreoffice: Insert Movie and Sound, and Media Player not working

2013-08-15 Thread Arnout Boelens
On Saturday, August 10, 2013 23:33:19 Rene Engelhard wrote:
> Hi,
> 
> sorry for the late answer; oversaw your mail.
> 
> On Tue, Aug 06, 2013 at 10:45:58AM -0500, Arnout Boelens wrote:
> >How long did you have to wait before the mp3 loaded? I waited for 45
> >mins
> >and the program was still unresponsive.
> 
> the mp3 played almost instantly; the mpeg video didn't play at all

I would like to help to debug this problem. Is there anything I can do?

Thanks,

Arnout

> Regards,
> 
> Rene


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



Bug#717112: libreoffice: Insert Movie and Sound, and Media Player not working

2013-08-10 Thread Rene Engelhard
Hi,

sorry for the late answer; oversaw your mail.

On Tue, Aug 06, 2013 at 10:45:58AM -0500, Arnout Boelens wrote:
>How long did you have to wait before the mp3 loaded? I waited for 45 mins
>and the program was still unresponsive.

the mp3 played almost instantly; the mpeg video didn't play at all

Regards,

Rene


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



Bug#717112: libreoffice: Insert Movie and Sound, and Media Player not working

2013-08-06 Thread Arnout Boelens
How long did you have to wait before the mp3 loaded? I waited for 45 mins
and the program was still unresponsive.

Kind regards,

Arnout
On Aug 1, 2013 5:01 PM, "Rene Engelhard"  wrote:

> tag 717112 + moreinfo
> thanks
>
> Hi,
>
> On Tue, Jul 16, 2013 at 05:56:50PM -0500, Arnout Boelens wrote:
> > When trying to insert mp3 files libreoffice hangs, and when inserting a
> movie a
> > black square with a speaker is shown. Both audio and video work fine
> with 4.1.0
> > packages from libreoffice.org.
>
> Hmm.
>
> Tried today with LO 4.1.0-3 from sid (in my sid chroot).
> Downloaded some random, free mp3 from the web, added it. And it *did* play
> in the slideshow...
>
> Took a long time to insert it, (and when opening the file again...)
> though...
> Maybe that's what you saw as a hang?
> ("I see shm_open() failed: Function not implemented" on the console...)
>
> Then tried to insert a .mpg I had around here (taken myself) and that
> didn't
> play (even after installing gstreamer1.0-libav)...
>
> Uptodate sid.
>
> Regards,
>
> Rene
>


Bug#717112: libreoffice: Insert Movie and Sound, and Media Player not working

2013-08-01 Thread Rene Engelhard
tag 717112 + moreinfo
thanks

Hi,

On Tue, Jul 16, 2013 at 05:56:50PM -0500, Arnout Boelens wrote:
> When trying to insert mp3 files libreoffice hangs, and when inserting a movie 
> a
> black square with a speaker is shown. Both audio and video work fine with 
> 4.1.0
> packages from libreoffice.org.

Hmm.

Tried today with LO 4.1.0-3 from sid (in my sid chroot).
Downloaded some random, free mp3 from the web, added it. And it *did* play
in the slideshow...

Took a long time to insert it, (and when opening the file again...) though...
Maybe that's what you saw as a hang?
("I see shm_open() failed: Function not implemented" on the console...)

Then tried to insert a .mpg I had around here (taken myself) and that didn't
play (even after installing gstreamer1.0-libav)...

Uptodate sid.

Regards,

Rene


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



Bug#717112: libreoffice: Insert Movie and Sound, and Media Player not working

2013-07-17 Thread Arnout Boelens
On Wednesday, July 17, 2013 09:47:47 Rene Engelhard wrote:
> Hi,
> 
> On Tue, Jul 16, 2013 at 05:56:50PM -0500, Arnout Boelens wrote:
> > When trying to insert mp3 files libreoffice hangs, and when inserting a
> > movie a black square with a speaker is shown.
> 
> Never saw that but then again I don't do such things.
> 
> I re,e,ber some problems discussed *before* 4.0.0.x, but without
> clear outcome.
> 
> > Both audio and video work fine with 4.1.0 packages from 
libreoffice.org.
> 
> The only difference here is that they use the old gstremer 0.10 version
> and we use 1.0 (which is officially supported by upstreams build system
> itself, nothing patched by us...)
> 
> And no, I am *NOT* going back to a obsolete library version. Especially
> as above discussions also showed the problem with 0.10 afaicr.

Since it was working with the libreoffice.org packages I thought it was a 
Debian packaging bug, but should I report upstream instead? BTW I did 
test with Totem (which also uses gstreamer, right?) whether my sound and 
movie files worked, and Totem played them just fine.

Thanks,

Arnout

> Regards,
> 
> Rene


Bug#717112: libreoffice: Insert Movie and Sound, and Media Player not working

2013-07-17 Thread Rene Engelhard
Hi,

On Tue, Jul 16, 2013 at 05:56:50PM -0500, Arnout Boelens wrote:
> When trying to insert mp3 files libreoffice hangs, and when inserting a movie 
> a
> black square with a speaker is shown.

Never saw that but then again I don't do such things.

I re,e,ber some problems discussed *before* 4.0.0.x, but without
clear outcome.

> Both audio and video work fine with 4.1.0 packages from libreoffice.org.

The only difference here is that they use the old gstremer 0.10 version
and we use 1.0 (which is officially supported by upstreams build system
itself, nothing patched by us...)

And no, I am *NOT* going back to a obsolete library version. Especially
as above discussions also showed the problem with 0.10 afaicr.

Regards,

Rene


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



Bug#717112: libreoffice: Insert Movie and Sound, and Media Player not working

2013-07-16 Thread Arnout Boelens
Package: libreoffice
Version: 1:4.1.0~rc2-2
Severity: normal

When trying to insert mp3 files libreoffice hangs, and when inserting a movie a
black square with a speaker is shown. Both audio and video work fine with 4.1.0
packages from libreoffice.org.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libreoffice depends on:
ii  fonts-dejavu2.33+svn2514-3
ii  fonts-sil-gentium-basic 1.1-5
ii  libreoffice-base1:4.1.0~rc2-2
ii  libreoffice-calc1:4.1.0~rc2-2
ii  libreoffice-core1:4.1.0~rc2-2
ii  libreoffice-draw1:4.1.0~rc2-2
ii  libreoffice-impress 1:4.1.0~rc2-2
ii  libreoffice-java-common 1:4.1.0~rc2-2
ii  libreoffice-math1:4.1.0~rc2-2
ii  libreoffice-report-builder-bin  1:4.1.0~rc2-2
ii  libreoffice-writer  1:4.1.0~rc2-2
ii  python3-uno 1:4.1.0~rc2-2

Versions of packages libreoffice recommends:
ii  fonts-liberation  1.07.2-6
ii  libpaper-utils1.1.24+nmu2

Versions of packages libreoffice suggests:
ii  cups-bsd 1.6.2-10
ii  graphicsmagick-imagemagick-compat [imagemagick]  1.3.16-1.1
pn  gstreamer1.0-ffmpeg  
pn  gstreamer1.0-plugins-bad 
ii  gstreamer1.0-plugins-base1.0.8-1
ii  gstreamer1.0-plugins-good1.0.8-1
ii  gstreamer1.0-plugins-ugly1.0.8-1
ii  hunspell-en-us [hunspell-dictionary] 20070829-6
pn  hyphen-hyphenation-patterns  
ii  iceweasel17.0.7esr-1
ii  libgl1-mesa-glx [libgl1] 9.1.4-1
pn  libreoffice-grammarcheck 
pn  libreoffice-help-4.1 
ii  libreoffice-kde  1:4.1.0~rc2-2
pn  libreoffice-l10n-4.1 
pn  libreoffice-officebean   
ii  libsane  1.0.23-3
ii  libxrender1  1:0.9.8-1
pn  myspell-dictionary   
pn  mythes-thesaurus 
pn  openclipart-libreoffice  
ii  openjdk-7-jre [java5-runtime]7u25-2.3.10-2
ii  pstoedit 3.62-1
ii  unixodbc 2.2.14p2-5

Versions of packages libreoffice-core depends on:
ii  fontconfig  2.10.2-2
ii  fonts-opensymbol2:102.3+LibO4.1.0~rc2-2
ii  libatk1.0-0 2.8.0-2
ii  libboost-date-time1.53.01.53.0-5
ii  libc6   2.17-7
ii  libcairo2   1.12.14-5
ii  libclucene-contribs12.3.3.4-2
ii  libclucene-core12.3.3.4-2
ii  libcmis-0.3-3   0.3.1-3
ii  libcups21.6.2-10
ii  libcurl3-gnutls 7.31.0-2
ii  libdbus-1-3 1.6.12-1
ii  libdbus-glib-1-20.100.2-1
ii  libexpat1   2.1.0-4
ii  libexttextcat-2.0-0 3.4.0-4
ii  libfontconfig1  2.10.2-2
ii  libfreetype62.4.9-1.1
ii  libgcc1 1:4.8.1-6
ii  libgdk-pixbuf2.0-0  2.28.2-1
ii  libglib2.0-02.36.3-3
ii  libgraphite2-3  1.2.3-1
ii  libgstreamer-plugins-base1.0-0  1.0.8-1
ii  libgstreamer1.0-0   1.0.8-1
ii  libgtk2.0-0 2.24.20-1
ii  libharfbuzz-icu00.9.18-3
ii  libharfbuzz0a   0.9.18-3
ii  libhunspell-1.3-0   1.3.2-4
ii  libhyphen0  2.8.6-3
ii  libice6 2:1.0.8-2
ii  libicu484.8.1.1-12
ii  libjpeg88d-1
ii  liblangtag1 0.5.1-2
ii  liblcms2-2  2.2+git20110628-2.2
ii  libldap-2.4-2   2.4.31-1+nmu2
ii  libmythes-1.2-0 2:1.2.2-1
ii  libneon27-gnutls0.29.6-3
ii  libnspr42:4.10-1
ii  libnspr4-0d 2:4.10-1
ii  libnss3 2:3.15-1
ii  libnss3-1d  2:3.15-1
ii  libpango-1.0-0  1.32.5-5+b1
ii  libpangocairo-1.0-0 1.32.5-5+b1
ii  libpangoft2-1.0-0   1.32.5-5+b1
ii  libpng12-0  1.2.49-4
ii  librdf0 1.0.16-1
ii  libreoffice-common  1:4.1.0~rc2-2
ii  libsm6  2:1.2.1-2
ii  libssl1.0.0