[Buildroot] [PATCH v10 00/13] add Gstreamer 1.X for gst-omx support
Spenser Gilliland
spenser at gillilanding.com
Fri Jun 7 23:18:45 UTC 2013
This patch adds gst-omx support to buildroot. Thus, making it possible to use
gstreamer applications which utilize hardware acceleration on OpenMAX supported
systems.
To add gst-omx, libglib2 is bumped to 2.36.1 and gstreamer1 is added.
In addition, the patches include the libvpx library and enablement in gstreamer.
This is meant to give an example of how to add support in the future.
To test this patch series on the Raspberry Pi, select the eglgles plugin in
gst1-plugins-bad and select gst-omx. To decode a 720p h264 encoded .mov file,
the following gst-launch pipeline can be used.
Sample file: http://download.blender.org/peach/trailer/trailer_720p.mov
# gst-launch-1.0 filesrc location=/path/to/file \
# ! qtdemux ! h264parse ! omx264dec ! eglglessink
v9 -> v10:
- Bump to gstreamer version 1.1.1 which due to poor packaging required a
patch to reinclude some header files.
- Add licensing information.
- Cleanup headers and whitespace changes.
v8 -> v9:
- Fix webkit build failures due to libglib2 bump.
- bump gdk-pixbuf to 2.28.1
- bump libgtk2 to 2.24.18
- bump libsoup to 2.43.1
- bump webkit to 1.9.6
v7 -> v8:
- Incoporate threads patch and rebase on top of master.
v6 -> v7:
- Additional verification complete with both RPi and Bellagio.
- Moved additional includes to the gst-omx and gst-plugins bad packages for
openmax and eglgles.
- A patch was added that ensures that the config files point to the correct
location.
v5 -> v6:
- Combined libglib patches to allow git-bisect
- added libopenmax virtual package for gst-omx (and future omx packages)
v4 -> v5:
- added gst-omx as a new package
- combined glib bump to 2.36.1 with gstreamer 1.x and gst-omx (libglib
2.32.1 is required for gstreamer 1.X)
v3 -> v4:
- uses new style if/endif syntax and removes depends properties for
config elements in gstreamer1
v2 -> v3:
- fixes issues found while building with all/none plugins enabled
- change naming from gst-plugins-<blah>1 to gst1-plugins-<blah>
- options which require currently unpackged libraries are disabled
v1 -> v2:
- completed patch by adding good/bad/ugly plguins.
Spenser Gilliland (13):
libglib2: Bump libglib2 to 2.36.1
gdk-pixbuf: bump to version 2.28.1
libgtk2: bump to version 2.24.18 and drop DirectFB
libsoup: bump to version 2.43.1
webkit: bump to version 1.9.6
gstreamer1: Add gstreamer version 1.1.1 package
gstreamer: update Config.in with gstreamer1 info.
gst1-plugins-base: add gstreamer1 base plugins
gst1-plugins-good: add gstreamer1 good plugins
gst1-plugins-bad: add gstreamer1 bad plugins
gst1-plugins-ugly: add gstreamer1 ugly plugins
gst1-plugins-good: add libvpx support
gst-omx: add gst-omx package
package/gdk-pixbuf/gdk-pixbuf.mk | 2 +-
package/glib-networking/glib-networking.mk | 4 +-
package/glibmm/glibmm.mk | 2 +-
...ib2-0004-fix-build-when-no-thread-support.patch | 18 +-
...b2-make-codegen-python2-python3-compliant.patch | 192 ------
package/libglib2/libglib2-no-tests.patch | 117 ----
package/libglib2/libglib2.mk | 10 +-
package/libgtk2/Config.in | 13 +-
package/libgtk2/libgtk2-reduce-dependencies.patch | 51 +-
package/libgtk2/libgtk2.mk | 27 +-
package/libsoup/Config.in | 1 +
package/libsoup/libsoup.mk | 6 +-
package/multimedia/Config.in | 6 +
package/multimedia/gst-omx/Config.in | 11 +
.../multimedia/gst-omx/gst-omx-config-files.patch | 127 ++++
package/multimedia/gst-omx/gst-omx.mk | 37 +
package/multimedia/gst1-plugins-bad/Config.in | 325 +++++++++
.../gst1-plugins-bad-dist-opencv-headers.patch | 214 ++++++
.../gst1-plugins-bad-use-gettext-0.18.patch | 17 +
.../gst1-plugins-bad/gst1-plugins-bad.mk | 690 ++++++++++++++++++++
package/multimedia/gst1-plugins-base/Config.in | 106 +++
.../gst1-plugins-base/gst1-plugins-base.mk | 204 ++++++
package/multimedia/gst1-plugins-good/Config.in | 218 ++++++
.../gst1-plugins-good/gst1-plugins-good.mk | 409 ++++++++++++
package/multimedia/gst1-plugins-ugly/Config.in | 49 ++
.../gst1-plugins-ugly/gst1-plugins-ugly.mk | 104 +++
package/multimedia/gstreamer/Config.in | 3 +-
package/multimedia/gstreamer1/Config.in | 41 ++
package/multimedia/gstreamer1/gstreamer1.mk | 38 ++
package/webkit/webkit-bison-2-6-compat.patch | 672 -------------------
package/webkit/webkit-disable-docrebase.patch | 26 +
package/webkit/webkit-disable-tests.patch | 80 +++
package/webkit/webkit-execinfo_h.patch | 28 +
.../webkit-fix-build-issue-with-old-gtk.patch | 22 -
package/webkit/webkit-fix-build-with-gcc-4-6.patch | 45 --
.../webkit-fix-compilation-on-DirectFB-2.patch | 33 -
.../webkit-fix-compilation-on-DirectFB.patch | 144 ----
package/webkit/webkit-fix-pool.patch | 67 --
package/webkit/webkit-pthread_getattr_np.patch | 80 ---
package/webkit/webkit.mk | 31 +-
40 files changed, 2815 insertions(+), 1455 deletions(-)
delete mode 100644 package/libglib2/libglib2-make-codegen-python2-python3-compliant.patch
delete mode 100644 package/libglib2/libglib2-no-tests.patch
create mode 100644 package/multimedia/gst-omx/Config.in
create mode 100644 package/multimedia/gst-omx/gst-omx-config-files.patch
create mode 100644 package/multimedia/gst-omx/gst-omx.mk
create mode 100644 package/multimedia/gst1-plugins-bad/Config.in
create mode 100644 package/multimedia/gst1-plugins-bad/gst1-plugins-bad-dist-opencv-headers.patch
create mode 100644 package/multimedia/gst1-plugins-bad/gst1-plugins-bad-use-gettext-0.18.patch
create mode 100644 package/multimedia/gst1-plugins-bad/gst1-plugins-bad.mk
create mode 100644 package/multimedia/gst1-plugins-base/Config.in
create mode 100644 package/multimedia/gst1-plugins-base/gst1-plugins-base.mk
create mode 100644 package/multimedia/gst1-plugins-good/Config.in
create mode 100644 package/multimedia/gst1-plugins-good/gst1-plugins-good.mk
create mode 100644 package/multimedia/gst1-plugins-ugly/Config.in
create mode 100644 package/multimedia/gst1-plugins-ugly/gst1-plugins-ugly.mk
create mode 100644 package/multimedia/gstreamer1/Config.in
create mode 100644 package/multimedia/gstreamer1/gstreamer1.mk
delete mode 100644 package/webkit/webkit-bison-2-6-compat.patch
create mode 100644 package/webkit/webkit-disable-docrebase.patch
create mode 100644 package/webkit/webkit-disable-tests.patch
create mode 100644 package/webkit/webkit-execinfo_h.patch
delete mode 100644 package/webkit/webkit-fix-build-issue-with-old-gtk.patch
delete mode 100644 package/webkit/webkit-fix-build-with-gcc-4-6.patch
delete mode 100644 package/webkit/webkit-fix-compilation-on-DirectFB-2.patch
delete mode 100644 package/webkit/webkit-fix-compilation-on-DirectFB.patch
delete mode 100644 package/webkit/webkit-fix-pool.patch
delete mode 100644 package/webkit/webkit-pthread_getattr_np.patch
More information about the buildroot
mailing list