Bug 1192

Summary: FFmpeg version is not correct so gstreamer can't register this plugin
Product: Fedora Reporter: Baris Cicek <baris>
Component: gstreamer-ffmpegAssignee: Hans de Goede <hans>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P5    
Version: 13   
Hardware: All   
OS: GNU/Linux   
namespace:

Description Baris Cicek 2010-04-28 13:28:28 CEST
According to #gstreamer folks, version of ffmpeg is not suitable for gst-ffmpeg to be registered by gst. 

gst-ffmpeg should be compiled against the ffmpeg version stated inside gst-ffmpeg.

[root@arginine ~]# gst-inspect /usr/lib64/gstreamer-0.10/libgstffmpeg.so 

(gst-inspect-0.10:7389): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-0.10/libgstffmpeg.so': /usr/lib64/gstreamer-0.10/libgstffmpeg.so: symbol av_free_packet, version LIBAVCODEC_52 not defined in file libavcodec.so.52 with link time reference
Could not load plugin file: Opening module failed: /usr/lib64/gstreamer-0.10/libgstffmpeg.so: symbol av_free_packet, version LIBAVCODEC_52 not defined in file libavcodec.so.52 with link time reference


[root@arginine ~]# ldd /usr/lib64/gstreamer-0.10/libgstffmpeg.so 
/usr/lib64/gstreamer-0.10/libgstffmpeg.so: /usr/lib/libavutil.so.50: no version information available (required by /usr/lib64/gstreamer-0.10/libgstffmpeg.so)
/usr/lib64/gstreamer-0.10/libgstffmpeg.so: /usr/lib/libavcodec.so.52: no version information available (required by /usr/lib64/gstreamer-0.10/libgstffmpeg.so)
/usr/lib64/gstreamer-0.10/libgstffmpeg.so: /usr/lib/libavformat.so.52: no version information available (required by /usr/lib64/gstreamer-0.10/libgstffmpeg.so)
	linux-vdso.so.1 =>  (0x00007fff0abff000)
	libavformat.so.52 => /usr/lib/libavformat.so.52 (0x00007f8489ae8000)
	libavcodec.so.52 => /usr/lib/libavcodec.so.52 (0x00007f848913b000)
	libavutil.so.50 => /usr/lib/libavutil.so.50 (0x00007f8488f2c000)
	libgstbase-0.10.so.0 => /usr/lib64/libgstbase-0.10.so.0 (0x00007f8488cf0000)
	libgstreamer-0.10.so.0 => /usr/lib64/libgstreamer-0.10.so.0 (0x00007f8488a11000)
	libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007f84887ca000)
	libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007f84885c7000)
	libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007f8488275000)
	libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x00007f8488070000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f8487e67000)
	libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f8487b6b000)
	libgstaudio-0.10.so.0 => /usr/lib64/libgstaudio-0.10.so.0 (0x00007f8487947000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f84876c3000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f84874ae000)
	libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f848729c000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f848707f000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f8486cf8000)
	libmp3lame.so.0 => /usr/lib64/libmp3lame.so.0 (0x00007f8486a7b000)
	libvorbisenc.so.2 => /usr/lib64/libvorbisenc.so.2 (0x00007f84865ad000)
	libvorbis.so.0 => /usr/lib64/libvorbis.so.0 (0x00007f8486381000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f848617c000)
	/lib64/ld-linux-x86-64.so.2 (0x00000031ada00000)
	libgstinterfaces-0.10.so.0 => /usr/lib64/libgstinterfaces-0.10.so.0 (0x00007f8485f6b000)
	libogg.so.0 => /usr/lib64/libogg.so.0 (0x00007f8485d65000)
Comment 1 Hans de Goede 2010-04-28 13:33:16 CEST
If you look closely at the ldd output you'll see that libgstffmpeg.so which is 64 bit is being linked against libs under /usr/lib.

So it seems that you are missing the 64 bit version of the ffmpeg-libs package, or that you somehow have another 64 bit version installed under /usr/lib (maybe you compiled it manually ?)
Comment 2 Baris Cicek 2010-04-28 13:43:05 CEST
You're right. Funny that guys in #gstreamer didn't get it from the ldd. Removing the files inside /usr/lib/libav* fixed the issue. I have no idea where did they came, probably left from old install (ie. FC11).