What's the version of libavcodec (ffmpeg) gstreamer 1.4.5 is using

Jing huang jinghuangusc at gmail.com
Wed Apr 15 14:51:15 PDT 2015


Sebastian, thanks for the timely reply!

The issue I am facing is not really a gstreamer issue, but I like to post
it here to see if anyone can give some guidance, thanks in advance!

I am trying to integrated on of my gstreamer project with another open
source library, the other library also has a libavcode.a packaged inside
it's sdk and distributed with cocoapods.

My original project with gstreamer works fine, once I added other sdk
through pods, gstreamer crashes at plugin_init, I went all the way to debug
it , the crash only seems possible if the symbol file is messed up.

It's pretty obviously to me, the issue is because of the libavcodec.a
conflict, though I am not quite sure how to solve it yet.

here is the traceback:

* thread #1: tid = 0x2710de, 0x05d3a660
libsystem_platform.dylib`_platform_strncmp + 32, queue =
'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x05d3a660 libsystem_platform.dylib`_platform_strncmp + 32
  * frame #1: 0x006387d6
myproject`gst_ffmpegdemux_register(plugin=<unavailable>) + 185 at
gstavdemux.c:1909
    frame #2: 0x00633962 myproject `plugin_init(plugin=0x1185ab98) + 131 at
gstav.c:134
    frame #3:
0x00cc7c60 myproject `gst_plugin_register_func(plugin=<unavailable>,
desc=<unavailable>, user_data=<unavailable>) + 895 at gstplugin.c:522
    frame #4:
0x00cc7721 myproject `gst_plugin_register_static(major_version=1,
minor_version=4, name=<unavailable>, description=<unavailable>,
init_func=<unavailable>, version=<unavailable>, license=<unavailable>,
source=<unavailable>, package=<unavailable>, origin=<unavailable>) + 263 at
gstplugin.c:224
    frame #5: 0x006338da myproject `gst_plugin_libav_register + 106 at
gstav.c:148
    frame #6: 0x000028d5 myproject `gst_ios_init + 1237 at
gst_ios_init.m:627
    frame #7: 0x00002b71 myproject `main(argc=1, argv=0xbfffe4f4) + 49 at
main.m:9
    frame #8: 0x05a31ac9 libdyld.dylib`start + 1

On Wed, Apr 15, 2015 at 2:35 PM, Sebastian Dröge <sebastian at centricular.com>
wrote:

> On Mi, 2015-04-15 at 14:27 -0700, Jing huang wrote:
> > Hi Sebastian:
> >
> > I do see commit logs on gst-libav states:
> > libav: Update to v11.3
> >
> > how does v11.3 map to ffmpeg version?  I found ffmpeg libavcodec version
> is
> > formatted as: libavcodec 56. 26.100
>
> It does not correspond to any ffmpeg version. We're using libav
> (www.libav.org) and not ffmpeg (www.ffmpeg.org) for gst-libav.
>
> AFAIK ffmpeg and libav are API compatible if you choose the correct
> versions though, but I don't know which version of ffmpeg would be API
> compatible with libav 11.3.
>
> --
> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150415/8994810b/attachment.html>


More information about the gstreamer-devel mailing list