Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] gst-ffmpeg: Use internal libav instead of external ffmpeg
Date: Wed, 15 Jan 2014 21:02:30 +0100	[thread overview]
Message-ID: <87lhyht3mx.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <BLU0-SMTP442A9DE801569E9B4917C36D9BE0@phx.gbl> (Bernd Kuhls's message of "Wed, 15 Jan 2014 19:44:21 +0100")

>>>>> "Bernd" == Bernd Kuhls <berndkuhls@hotmail.com> writes:

 > External ffmpeg 1.2.4 is incompatible, gst-ffmpeg suggests
 > to always use internal libav.

 > Adding two patches:
 > Allow uClibc compilation: gst-ffmpeg-uclibc.patch
 > Fixes compiling with gcc-4.7: gst-ffmpeg-0.10.13_gcc47.patch (taken from Slackware)

 > Fixes
 > http://autobuild.buildroot.net/results/ab8/ab8ec4904020ceb848a1e50f1865f594f46b8295//
 > http://autobuild.buildroot.net/results/f0a/f0a420015a92ebb8868c41c0dbf82cf27b2bdd0f//

 > Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
 
 > +GST_FFMPEG_CONF_OPT = --with-ffmpeg-extra-configure="--cross-prefix=$(TARGET_CROSS)"

It seems like we atleast also need to pass --target-os=linux, otherwise
configure fails:

Configuring included Libav instance with args --prefix=/usr
--disable-ffserver --disable-ffplay --disable-ffmpeg --disable-ffprobe
--enable-static --enable-pic --disable-encoder=flac
--disable-decoder=cavs --disable-protocols --disable-devices
--disable-network --disable-hwaccels --disable-filters --disable-doc
--enable-optimizations --enable-postproc --enable-gpl
--enable-cross-compile --target-os=linux-uclibcgnueabi --arch=arm
--cross-prefix=arm-buildroot-linux-uclibcgnueabi-
--cross-prefix=/home/peko/source/buildroot/output/host/usr/bin/arm-linux-
Unknown OS 'linux-uclibcgnueabi'.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
libav-user at libav.org mailing list or IRC #libav on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
config.status: error: Failed to configure embedded Libav tree

But what about all the CPU optimization flags we have in ffmpeg? Don't
we need to reproduce those as well here?

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2014-01-15 20:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-15 18:44 [Buildroot] [PATCH 1/1] gst-ffmpeg: Use internal libav instead of external ffmpeg Bernd Kuhls
2014-01-15 20:02 ` Peter Korsgaard [this message]
2014-01-15 20:08   ` Gustavo Zacarias
2014-01-15 20:14     ` Peter Korsgaard
2014-01-16 13:05       ` Sven Neumann
2014-01-16 13:13         ` Peter Korsgaard
2014-01-16 13:57           ` Sven Neumann
2014-01-29  8:00   ` Thomas Petazzoni
2014-01-29 18:33     ` Bernd Kuhls
2014-01-30 19:20       ` Thomas Petazzoni

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=87lhyht3mx.fsf@dell.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /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