gstreamer-1.0 vs gstreamer-0.10

I have a presentation that contains a mpeg video. It works on some
Linux machines, but not on others. I finally realized that the
difference seems to be in the version of gstreamer installed: version
0.10 works, version 1.0 doesn't.

Other than the obvious installation of both versions (which causes
problems elsewhere, is there a 1.0 version of LO?

Any suggestions?

David

Just a question

Have you tested the mpeg file with the same player (MPlayer) on all linux machines before using in a presentation?

If so, does the results match with presentation?

Also note: you need to make sure that gstreamer-ffmpeg (in my case gstreamer-0_10-ffmpeg) is installed - et voila, it works.

From: http://forums.opensuse.org/showthread.php/466113-Solved-libreoffice-not-playing-video

Hi Paul,

Thanks for the reply. In gstreamer-1.0 gst-ffmpeg has been replaced by
gst-libav (which is installed). My video plays on all machines using
mplayer and things like gst-play-1.0 or totem. When it works (on
gstreamer-0.10 boxes), the presentation is what these external tools
show.

Finally I ran LO under strace on a system that only has 1.0 installed.
I see various gst-0.10 files that came with LO being opened, e.g.,

"/opt/libreoffice4.1/program/../program/libavmediagst_0_10.so"

and failures for -0.10 related libs in the system directories. Nowhere
do I see any attempt (failed or not) to open a 1.0 lib/module.

David

Hi David,

Finally I ran LO under strace on a system that only has 1.0 installed.
I see various gst-0.10 files that came with LO being opened, e.g.,

"/opt/libreoffice4.1/program/../program/libavmediagst_0_10.so"

and failures for -0.10 related libs in the system directories. Nowhere
do I see any attempt (failed or not) to open a 1.0 lib/module.

Long story short, it depends on the compile switch used to build LO. It
is possible to build LO with either 1.0 or 0.10 support, but not both
(apparently, at least from my attempts). For example, on my own master
builds on a Linux Mint 16 Petra 64bit system, I build with the following
compile switch :

--disable-gstreamer-0-10

otherwise, the configure script step fails because somewhere it is coded
to look for gstreamer-1.0, and only finds gstreamer-0-10 (despite my
best attempts at having installed all possible dev libraries). So,
instead of gstreamer, I build with VLC support (which is experimental).

Your version of LO, wherever it might have come from, appears to have
been built against gstreamer-0-10, whereas you only have the
gstreamer-1.0 libs. So, it is either the builder's fault, or the OS'
defaults on which the builder compiled LO.

Alex

Are all versions of Linux the same?

Is it possible to link gstreamer-0-10 to gstreamer-1.0 or vice-versa depending on results if strace?

Not the best way to handle an inconsistency, but may be an answer.

You may have to purge LibreOffice and the install only version that works based on gstreamer.

Ouch

Hi Alex,

Thanks for the reply. From various searches on the net I was starting
to think that that was the problem, but am resistant to the idea of
building my own loclly.

FWIW: I installed/downloaded LO from the official web site. Is there a
link to a 1.0 enabled version?

David

Hello!

I have a presentation that contains a mpeg video. It works on some
Linux machines, but not on others. I finally realized that the
difference seems to be in the version of gstreamer installed: version
0.10 works, version 1.0 doesn't.

  The very similar problem was discussed in Gentoo Bugzilla:
  https://bugs.gentoo.org/show_bug.cgi?id=456980

  It says, the developers fixed this problem in some way.

Sorry, I have no idea. You would probably need to ask a release dev or
just the dev list, I guess.

Alex

Hello!
  I had a somewhat similar problem to the one you described, and
yesterday I installed the
    'media-libs/gst-plugins-bad-1.2.3'
and
    'media-libs/gst-plugins-good-1.2.3'
packages (I am using Gentoo GNU/Linux), and now the video files
embedded into my Impress presentation are played back correctly.
  These are in addition to the 'media-plugins/gst-plugins-libav-1.2.0'
package of course.

  So if your LibreOffice also displays some problems trying to play the
video through the Gstreamer-1.0, I suggest you to search the packages I
mentioned in your distribution also. Maybe, your problem will be solved
just like mine.

  Regards,
    Vladimir

Hi Vladimir,

Thanks for the reply. I have the same versions for the
gst-plugins/libav as you. The only difference may be that I built mine
here, while you may have gotten them from your distribution. (My
distribution is slackware which doesn't officially support gnome any
more).

As I think I wrote, strace clearly shows that my LO is looking ONLY for
gst-0.10 modules--no hint of any 1.0. I downloaded LO from the main LO
site and I suspect that it was built with 0.01 support only. My bet is
that your distribution's LO, assuming that you're using it, supports
1.0.

I've played with building my own LO, and there are configure flags that
allow on to choose the gstreamer versions. Unfortunately, the build
dies in nss-related code. If you're interested, have a look at:

           https://bugs.freedesktop.org/show_bug.cgi?id=75731

Again, thanks for the reply.

David