Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mike Looijmans <mike.looijmans@topic.nl>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: gst-ffmpeg is broken since the libav-9 introduction
Date: Mon, 09 Mar 2015 19:13:43 +0100	[thread overview]
Message-ID: <54FDE2D7.4050409@topic.nl> (raw)
In-Reply-To: <CAJTo0LaCP4mqxdKEnd-mB3sTGCC8PhbkYQgz-kdc9NoLceGMyQ@mail.gmail.com>

On 09-03-15 16:24, Burton, Ross wrote:
>
> On 6 March 2015 at 17:51, Mike Looijmans <mike.looijmans@topic.nl
> <mailto:mike.looijmans@topic.nl>> wrote:
>
>     Commit 4ceff7d0a1f28eb1ce5d288111015b__ff8d5e9a7e "libav: drop older
>     0.8.* and use libav-9 by default" removed libav 0.8 in favor of the
>     "9" edition. However, after compiling this for a MIPS box, the
>     gst-ffmpeg plugin now refuses to load and displays the following at
>     runtime:
>
>
> Hm, bad testing, sorry.  This would be why gstreamer-libav 1.0 defaults
> to using it's own internal copy of libav then. :/

There's actually a page long rant that displays on screen if you link 
externally, like we do...

> I see that gstreamer-ffmpeg_0.10 defaults to using the internal libav,
> and as the API clearly changed we need to do that.  Can you verify that
> removing external-libav from the PACKAGECONFIG fixes this problem?

Tried that, it required a small patch to the configure.ac script to make 
it past the configure stage:

Index: gst-ffmpeg-0.10.13/configure.ac
===================================================================
--- gst-ffmpeg-0.10.13.orig/configure.ac
+++ gst-ffmpeg-0.10.13/configure.ac
@@ -385,7 +385,7 @@ else
       if test -z "$srcdir" -o "$srcdir" = .; then
         confcmd=./configure
       else
-       confcmd="$origdir"/"$ac_top_srcdir"/gst-libs/ext/libav/configure
+       confcmd="$ac_top_srcdir"/gst-libs/ext/libav/configure
       fi

       AS_MKDIR_P(["$ac_top_build_prefix"gst-libs/ext/libav])


Then it at least gets a bit further, but then you get bombed by a load 
of missing includes/headers/classes/andwhatnots during compile.

I guess some of the 50 or so patches are intented to make it work with 
the external library, and hence break building against the included one.

-- 
Mike Looijmans


      parent reply	other threads:[~2015-03-09 18:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-06 17:51 gst-ffmpeg is broken since the libav-9 introduction Mike Looijmans
2015-03-06 19:54 ` Gary Thomas
2015-03-07 13:29   ` Gary Thomas
2015-03-09 15:24 ` Burton, Ross
2015-03-09 15:26   ` Burton, Ross
2015-03-09 18:18     ` Mike Looijmans
2015-03-09 20:02       ` Burton, Ross
2015-03-09 18:13   ` Mike Looijmans [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54FDE2D7.4050409@topic.nl \
    --to=mike.looijmans@topic.nl \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox