After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 769809 - libgstlibav fails on Linux
libgstlibav fails on Linux
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
1.9.1
Other Linux
: Normal major
: 1.9.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-08-12 18:38 UTC by Gregoire
Modified: 2016-08-16 18:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
config.log file (13.50 KB, application/zip)
2016-08-16 15:42 UTC, Gregoire
Details
Build log files (23.86 KB, application/zip)
2016-08-16 15:45 UTC, Gregoire
Details

Description Gregoire 2016-08-12 18:38:28 UTC
I have compiled on Linux 64bit Ubuntu 12.04 through Cerbero 1.9.1.

gst-libav compiles fine but when it's run in a cerbero shell, it gives the following error:

(gst-plugin-scanner:8579): GStreamer-WARNING **: Failed to load plugin '/home/gregoire/cerbero/build/dist/linux_x86_64/lib/gstreamer-1.0/libgstlibav.so': /home/gregoire/cerbero/build/dist/linux_x86_64/lib/gstreamer-1.0/libgstlibav.so: undefined symbol: DtsStopDecoder
Comment 1 Sebastian Dröge (slomo) 2016-08-13 10:32:53 UTC
From where did you get the external ffmpeg/libav? It seems like a bug in its pkg-config file.
Comment 2 Gregoire 2016-08-13 13:41:43 UTC
As I said, I have Ubuntu Linux 64 bit. I have just done:

git clone git://anongit.freedesktop.org/gstreamer/cerbero
cd cerbero
git checkout 1.9.1
./cerbero-uninstalled -c config/linux.config bootstrap
./cerbero-uninstalled -c config/linux.cbc package gstreamer-1.0
./cerbero-uninstalled -c config/linux.cbc shell
gst-inspect-1.0

and I'm getting the error.

I misspelled in my first comment, I have Ubuntu Ubuntu 14.04.5 LTS.

dpkg -l | grep libavcodec-dev
ii  libavcodec-dev                                              6:9.18-0ubuntu0.14.04.1                             amd64        Development files for libavcodec
Comment 3 Sebastian Dröge (slomo) 2016-08-13 14:08:48 UTC
That's surprising, it should not link to any external libraries when building gst-libav then and also use the internal ffmpeg snapshot.
Comment 4 Sebastian Dröge (slomo) 2016-08-16 06:47:47 UTC
Can you upload the corresponding config.log of gst-libav and the build log?
Comment 5 Gregoire 2016-08-16 15:42:11 UTC
Created attachment 333428 [details]
config.log file
Comment 6 Gregoire 2016-08-16 15:45:28 UTC
Created attachment 333429 [details]
Build log files
Comment 7 Sebastian Dröge (slomo) 2016-08-16 18:13:11 UTC
The fix will also go into 1.8.3. You should nonetheless ensure to build everything (with cerbero) in a clean system.

commit 490e98913d50728fe1cc1ecba594111dcd45ff81
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Tue Aug 16 21:11:35 2016 +0300

    configure: Explicitly disable CrystalHD decoder
    
    Otherwise it will pick it up when the system has the relevant headers,
    and then linking produces an unusable plugin later as we don't ensure
    that the plugin also links against the crystalhd library.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769809