ffmpeg: bump to version 1.2.4
PATCH v3 1/2 ffmpeg: bump to version 1.2.4
Compile tested the following packages which depend on ffmpeg:
freerdp
mpd
gstreamer
For minidlna please see the separate patch for version bump to 1.1.1
Some compile options were taken from OpenELEC:
https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/multimedia/ffmpeg/build
---
Changes v2 -> v3:
- move sse4 stuff to a separate patch (suggested by Thomas)
Changes v1 -> v2:
- fixed typo regarding --enable-openssl (suggested by Baruch)
- included OpenELEC comment
package/ffmpeg/ffmpeg-sdlconfig.patch | 17 ----- package/ffmpeg/ffmpeg.mk | 118 +++++++++++++++++++++++++++++---- 2 files changed, 106 insertions(+), 29 deletions(-) delete mode 100644 package/ffmpeg/ffmpeg-sdlconfig.patch
package/ffmpeg/ffmpeg-sdlconfig.patch deleted +0 -17
@@ -1,17 +0,0 @@ -We need to pass the location sdl-config so that ffmpeg picks it up. -So just pass the whole string to make things simpler. - -Signed-off-by: Gustavo Zacarias <[email protected]> - -diff -Nura ffmpeg-0.8.7.orig/configure ffmpeg-0.8.7/configure ---- ffmpeg-0.8.7.orig/configure 2011-11-21 16:49:30.000000000 -0300 -+++ ffmpeg-0.8.7/configure 2011-12-02 08:13:36.746619395 -0300 -@@ -2957,7 +2957,7 @@ - enabled libxvid && require libxvid xvid.h xvid_global -lxvidcore - enabled mlib && require mediaLib mlib_types.h mlib_VectorSub_S16_U8_Mod -lmlib - --SDL_CONFIG="${cross_prefix}sdl-config" -+SDL_CONFIG="${SDL_CONFIG}" - if check_pkg_config sdl SDL_version.h SDL_Linked_Version; then - check_cpp_condition SDL.h "(SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8 | SDL_PATCHLEVEL) >= 0x010201" $sdl_cflags && - enable sdl &&
package/ffmpeg/ffmpeg.mk +106 -12
159 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH v3 1/2 ffmpeg: bump to version 1.2.4
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
Compile tested the following packages which depend on ffmpeg:
freerdp
mpd
gstreamer
Quoted 6 lines
For minidlna please see the separate patch for version bump to 1.1.1
Some compile options were taken from OpenELEC:
https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/multimedia/ffmpeg/buildSigned-off-by Bernd Kuhls <[email protected]>
Committed with minor tweaks (see below), thanks.
package/ffmpeg/ffmpeg.mk FFMPEG_CONF_OPT += --disable-armv6 --disable-armv6t2 · line 165
Quoted 7 lines
# Explicitly disable everything that doesn't match for ARM
package/ffmpeg/ffmpeg.mk +0
-2@@ -161,8 +257,6 @@ FFMPEG_CONF_OPT += --disable-armv6 --disable-armv6t2 endif ifeq ($(BR2_arm10)$(BR2_arm1136jf_s)$(BR2_arm1176jz_s)$(BR2_arm1176jzf_s)$(BR2_cortex_a5)$(BR2_cortex_a8)$(BR2_cortex_a9)$(BR2_cortex_a15),y) FFMPEG_CONF_OPT += --enable-armvfp -else -FFMPEG_CONF_OPT += --disable-armvfp
The vfp option seems to have been renamed to just enable/disable-vfp.
package/ffmpeg/ffmpeg.mk define FFMPEG_CONFIGURE_CMDS · line 289
Quoted 11 lines
package/ffmpeg/ffmpeg.mk +2
-2endif ifeq ($(BR2_ARM_CPU_HAS_NEON),y) FFMPEG_CONF_OPT += --enable-neon@@ -191,8 +285,8 @@ define FFMPEG_CONFIGURE_CMDS --sysroot=$(STAGING_DIR) \ --host-cc="$(HOSTCC)" \ --arch=$(BR2_ARCH) \ - --target-os=linux \ - --extra-cflags=-fPIC \ + --target-os="linux" \ + --cpu=$(BR2_GCC_TARGET_TUNE) \
Not all ARCHs provide BR2_GCC_TARGET_TUNE, so we should only pass --cpu= if they do.
package/ffmpeg/ffmpeg.mk define FFMPEG_CONFIGURE_CMDS · line 292
Quoted 3 lines
package/ffmpeg/ffmpeg.mk +0
-0$(SHARED_STATIC_LIBS_OPTS) \ $(FFMPEG_CONF_OPT) \ )
I also had to explicitly pass --enable-pic to get a shared version to link on ARM.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v3 1/2 ffmpeg: bump to version 1.2.4
In reply to Bernd KuhlsBernd,
2014/1/2 Bernd Kuhls <[email protected]>
Quoted 6 lines
Compile tested the following packages which depend on ffmpeg:
freerdp
mpd
gstreamer
Have you tried gst-ffmpeg?
It seems this bump triggers some build failures:
http://autobuild.buildroot.net/results/3cd/3cd2a39bba732a625117aa2941923c200ec55f51/build-end.log
Reverting back to version 0.8.15 fixes the build.
Regards,
Signature · 4 lines
Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140114/d19bacef/attachment.html>
PATCH v3 1/2 ffmpeg: bump to version 1.2.4
Samuel Martin <[email protected]> wrote
in
news:CAHXCMM+SfJ0j1vUTyHv7c2VbL9F1BimMcZD7YcfqXbOPmasssA at mail.gmail.com:
Quoted 6 lines
Have you tried gst-ffmpeg?
It seems this bump triggers some build failures:
http://autobuild.buildroot.net/results/3cd/3cd2a39bba732a625117aa2941923c
200ec55f51/build-end.logReverting back to version 0.8.15 fixes the build.
Hi,
config logfrom gst-ffmpeg says:
configure: Using system-installed FFMpeg code
configure: WARNING:
======================================================================
WARNING: you have chosen to build gst-ffmpeg against a random external version of Libav instead of building it against the tested internal Libav snapshot that is included with gst-ffmpeg.
This is a very bad idea. So bad in fact that words cannot express just how bad it is. Suffice to say that it is BAD.
The GStreamer developers cannot and will not support a gst-ffmpeg built this way. Any bug reports that indicate there is an external version of Libav involved will be closed immediately without further investigation.
The reason such a setup can't be supported is that the Libav API and ABI is in constant flux, yet there aren't any official releases of the Libav library to develop against. This makes it impossible to guarantee that gst-ffmpeg will work reliably, or even compile, with a randomly picked version Libav. Even if gst-ffmpeg compiles and superficially appears to work fine against your chosen external Libav version, that might just not be the case on other systems, or even the same system at a later time, or when using decoders, encoders, demuxers or muxers that have not been tested.
Please do not create or distribute binary packages of gst-Libav that link against an external ffmpeg. Thank you!
======================================================================
configure: creating ./config.status
Currently I am testing a patch for gst-ffmpeg which uses "the tested internal Libav snapshot that is included with gst-ffmpeg". This should fix the problem.
Regards, Bernd
PATCH v3 1/2 ffmpeg: bump to version 1.2.4
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
Hi,
Quoted 10 lines
configure: Using system-installed FFMpeg code
configure: WARNING:
======================================================================
WARNING: you have chosen to build gst-ffmpeg against a random external version of Libav instead of building it against the tested internal Libav snapshot that is included with gst-ffmpeg.Currently I am testing a patch for gst-ffmpeg which uses "the tested internal Libav snapshot that is included with gst-ffmpeg". This should fix the problem.
Yes, we originally used the system ffmpeg to save rootfs space if you needed ffmpeg for anything else - But with gst-ffmpeg (0.10.x) being dead upstream I don't think it makes sense to block ffmpeg upgrades on this.
Signature · 1 line
Bye, Peter Korsgaard