Skip to contentSkip to conversation

gst-ffmpeg: Use internal libav instead of external ffmpeg

PATCH New Bernd Kuhls 2 participants 2 messages Jan 16, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gst-ffmpeg: Use internal libav instead of external ffmpeg

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

Adding one 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/

---
Changes v1 -> v2:
- replaced gst-ffmpeg-uclibc.patch with configure option --target-os=linux (Peter)
- port libav-supported CPU optimization flags from ffmpeg/ffmpeg.mk (Peter)

 package/gstreamer/gst-ffmpeg/Config.in             |    4 --
 .../gst-ffmpeg/gst-ffmpeg-0.10.13_gcc47.patch      |   65 +++++++++++++++++++
 package/gstreamer/gst-ffmpeg/gst-ffmpeg.mk         |   67 +++++++++++++++++++-
 3 files changed, 130 insertions(+), 6 deletions(-)
 create mode 100644 package/gstreamer/gst-ffmpeg/gst-ffmpeg-0.10.13_gcc47.patch
package/gstreamer/gst-ffmpeg/Config.in +0 -4
index da254ef..d879f5e 100644
@@ -1,10 +1,6 @@
 config BR2_PACKAGE_GST_FFMPEG
 	bool "gst-ffmpeg"
 	select BR2_PACKAGE_GST_PLUGINS_BASE
-	select BR2_PACKAGE_FFMPEG
-	select BR2_PACKAGE_FFMPEG_GPL
-	select BR2_PACKAGE_FFMPEG_POSTPROC
-	select BR2_PACKAGE_FFMPEG_SWSCALE
 	depends on BR2_LARGEFILE
 	depends on BR2_INET_IPV6
 	help
package/gstreamer/gst-ffmpeg/gst-ffmpeg-0.10.13_gcc47.patch new file +65 -0

65 lines not on this page · raw message

package/gstreamer/gst-ffmpeg/gst-ffmpeg.mk +65 -2

76 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v2 1/1 gst-ffmpeg: Use internal libav instead of external ffmpeg

Quoted 12 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

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

Adding one 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/

Quoted 5 lines

---
Changes v1 -> v2:
- replaced gst-ffmpeg-uclibc.patch with configure option --target-os=linux (Peter)
- port libav-supported CPU optimization flags from ffmpeg/ffmpeg.mk (Peter)

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard