Gstreamer hardware decoder not working in android 5.0

Gokul Vellingiri vgokul129 at gmail.com
Tue Jan 27 07:17:46 PST 2015


I had done the changes in gst-bad-plugin in source and tried built the
receipe

gokul at gokul-PC:~/gstreamer-build/cerbero$ ./cerbero-uninstalled -c
config/cross-android.cbc buildone gst-plugins-bad-1.0
WARNING: Using default configuration because
/home/gokul/.cerbero/cerbero.cbc is missing
Building the following recipes: gst-plugins-bad-1.0
[(1/1) gst-plugins-bad-1.0 -> fetch ]
[(1/1) gst-plugins-bad-1.0 -> extract ]
[(1/1) gst-plugins-bad-1.0 -> configure ]
[(1/1) gst-plugins-bad-1.0 -> compile ]
[(1/1) gst-plugins-bad-1.0 -> install ]
[(1/1) gst-plugins-bad-1.0 -> post_install ]

gokul at gokul-PC:~/gstreamer-build/cer
bero$ ./cerbero-uninstalled -c config/cross-android.cbc package
gstreamer-1.0
WARNING: Using default configuration because
/home/gokul/.cerbero/cerbero.cbc is missing
Building the following recipes: libiconv gettext gnustl libffi zlib glib
gtk-doc-lite gstreamer-1.0 libxml2 libogg libpng pixman expat bzip2 freetype
fontconfig cairo harfbuzz pango libvorbis libtheora libvisual orc tremor
gst-plugins-base-1.0 gst-shell libjpeg-turbo speex tiff gdk-pixbuf gmp
nettle libtasn1 bionic-fixup gnutls glib-networking libsoup wavpack flac
taglib libvpx libdv gst-plugins-good-1.0 fribidi libass faad2 libkate
openh264 opus libgpg-error libgcrypt librtmp libsrtp schroedinger libdca
libmms soundtouch vo-aacenc libcroco vala-m4 gobject-introspection-m4
librsvg openjpeg gst-plugins-bad-1.0 a52dec opencore-amr libmpeg2 libmad
x264 lame gst-plugins-ugly-1.0 gst-android-1.0 gstreamer-1.0-static
gst-plugins-base-1.0-static gst-plugins-good-1.0-static
gst-plugins-bad-1.0-static gst-plugins-ugly-1.0-static ca-certificates
libnice gst-rtsp-server-1.0 glib-networking-static libnice-static
gst-libav-1.0 gst-libav-1.0-static gst-validate gst-editing-services-1.0
[(1/86) libiconv -> already built ]
[(2/86) gettext -> already built ]
[(3/86) gnustl -> already built ]
[(4/86) libffi -> already built ]
[(5/86) zlib -> already built ]
[(6/86) glib -> already built ]
[(7/86) gtk-doc-lite -> already built ]
[(8/86) gstreamer-1.0 -> already built ]
[(9/86) libxml2 -> already built ]
[(10/86) libogg -> already built ]
[(11/86) libpng -> already built ]
[(12/86) pixman -> already built ]
[(13/86) expat -> already built ]
[(14/86) bzip2 -> already built ]
[(15/86) freetype -> already built ]
[(16/86) fontconfig -> already built ]
[(17/86) cairo -> already built ]
[(18/86) harfbuzz -> already built ]
[(19/86) pango -> already built ]
[(20/86) libvorbis -> already built ]
[(21/86) libtheora -> already built ]
[(22/86) libvisual -> already built ]
[(23/86) orc -> already built ]
[(24/86) tremor -> already built ]
[(25/86) gst-plugins-base-1.0 -> already built ]
[(26/86) gst-shell -> already built ]
[(27/86) libjpeg-turbo -> already built ]
[(28/86) speex -> already built ]
[(29/86) tiff -> already built ]
[(30/86) gdk-pixbuf -> already built ]
[(31/86) gmp -> already built ]
[(32/86) nettle -> already built ]
[(33/86) libtasn1 -> already built ]
[(34/86) bionic-fixup -> already built ]
[(35/86) gnutls -> already built ]
[(36/86) glib-networking -> already built ]
[(37/86) libsoup -> already built ]
[(38/86) wavpack -> already built ]
[(39/86) flac -> already built ]
[(40/86) taglib -> already built ]
[(41/86) libvpx -> already built ]
[(42/86) libdv -> already built ]
[(43/86) gst-plugins-good-1.0 -> already built ]
[(44/86) fribidi -> already built ]
[(45/86) libass -> already built ]
[(46/86) faad2 -> already built ]
[(47/86) libkate -> already built ]
[(48/86) openh264 -> already built ]
[(49/86) opus -> already built ]
[(50/86) libgpg-error -> already built ]
[(51/86) libgcrypt -> already built ]
[(52/86) librtmp -> already built ]
[(53/86) libsrtp -> already built ]
[(54/86) schroedinger -> already built ]
[(55/86) libdca -> already built ]
[(56/86) libmms -> already built ]
[(57/86) soundtouch -> already built ]
[(58/86) vo-aacenc -> already built ]
[(59/86) libcroco -> already built ]
[(60/86) vala-m4 -> already built ]
[(61/86) gobject-introspection-m4 -> already built ]
[(62/86) librsvg -> already built ]
[(63/86) openjpeg -> already built ]
[(64/86) gst-plugins-bad-1.0 -> already built ]
[(65/86) a52dec -> already built ]
[(66/86) opencore-amr -> already built ]
[(67/86) libmpeg2 -> already built ]
[(68/86) libmad -> already built ]
[(69/86) x264 -> already built ]
[(70/86) lame -> already built ]
[(71/86) gst-plugins-ugly-1.0 -> already built ]
[(72/86) gst-android-1.0 -> already built ]
[(73/86) gstreamer-1.0-static -> already built ]
[(74/86) gst-plugins-base-1.0-static -> already built ]
[(75/86) gst-plugins-good-1.0-static -> already built ]
[(76/86) gst-plugins-bad-1.0-static -> fetch ]
-----> Step done
[(76/86) gst-plugins-bad-1.0-static -> extract ]
-----> Step done
[(76/86) gst-plugins-bad-1.0-static -> configure ]
-----> Step done
[(76/86) gst-plugins-bad-1.0-static -> compile ]
-----> Step done
[(76/86) gst-plugins-bad-1.0-static -> install ]
-----> Step done
[(76/86) gst-plugins-bad-1.0-static -> post_install ]
Recipe 'gst-plugins-bad-1.0-static' failed at the build step 'post_install'
Traceback (most recent call last):
  File "./cerbero/build/oven.py", line 143, in _cook_recipe
    stepfunc()
  File "/home/gokul/gstreamer-build/cerbero/recipes/custom.py", line 93, in
post_install
    os.path.join(self.config.prefix, f))
  File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory:
'/home/gokul/cerbero/sources/android_arm/gst-plugins-bad-1.0-static-1.5/static-build/home/gokul/cerbero/dist/android_arm/lib/gstreamer-1.0/libgstopenh264.a'
Select an action to proceed:
[0] Enter the shell
[1] Rebuild the recipe from scratch
[2] Rebuild starting from the failed step
[3] Skip recipe
[4] Abort
2
[(76/86) gst-plugins-bad-1.0-static -> fetch ]
-----> Step done
[(76/86) gst-plugins-bad-1.0-static -> extract ]
-----> Step done
[(76/86) gst-plugins-bad-1.0-static -> configure ]
-----> Step done
[(76/86) gst-plugins-bad-1.0-static -> compile ]
-----> Step done
[(76/86) gst-plugins-bad-1.0-static -> install ]
-----> Step done
[(76/86) gst-plugins-bad-1.0-static -> post_install ]
***** Error running 'package' command:
Recipe 'gst-plugins-bad-1.0-static' failed at the build step 'post_install'
Traceback (most recent call last):
  File "./cerbero/build/oven.py", line 143, in _cook_recipe
    stepfunc()
  File "/home/gokul/gstreamer-build/cerbero/recipes/custom.py", line 93, in
post_install
    os.path.join(self.config.prefix, f))
  File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory:
'/home/gokul/cerbero/sources/android_arm/gst-plugins-bad-1.0-static-1.5/static-build/home/gokul/cerbero/dist/android_arm/lib/gstreamer-1.0/libgstopenh264.a'

Want some help to get rid of this..Any idea??



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Hardware-decoder-element-not-working-in-android-5-0-tp4670262p4670476.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list