Hi,
I am trying to decode HEVC video on my tablet. However I keep getting this
error - n*o element amcviddec-omxgooglehevcdecoder*. Going through this
forum an on debugging I found that the amc plugin may not be loaded at all
since when I do the following,
GList *elements = gst_element_factory_list_get_elements
(GST_ELEMENT_FACTORY_TYPE_DECODER, GST_RANK_NONE);
for (l = elements; l; l = l->next) {
GstElementFactory *f = l->data;
g_print ("factory: %s\n", GST_OBJECT_NAME (f));
}
I don't see amc and androidmedia in the output messages.
I have downloaded this binary - gstreamer-1.0-android-universal-1.12.3 and
gst-docs which does contain androidmedia:
examples/tutorials/android-tutorial-3/src/org/freedesktop/gstreamer/androidmedia.
I have also made sure that in Android.mk androidmedia is listed as part of
the GSTREAMER_PLUGINS. My device Verizon Elipsis 10 does contain the
/etc/media_codecs.xml. The media_codecs.xml includes via href
media_codecs_google_video.xml which contains the OMX.google.hevc.decoder
that I am trying to use.
The pipeline is:
data->pipeline = gst_parse_launch("filesrc
location=/storage/emulated/0/hevc/hevcfile.ts "
" ! tsdemux ! queue ! h265parse ! amcviddec-omxgooglehevcdecoder !
autovideosink sync=false", &error);
The application compiles fine and creates an apk. If I use the software
decoder avdev_h265 it works fine. If I use decodebin or playbin it ends up
selecting avdev_h265.
*Do I need to compile the amc plugin from scratch*? I do see these files,
./armv7/lib/gstreamer-1.0/static/libgstandroidmedia.a
./armv7/lib/gstreamer-1.0/static/libgstandroidmedia.la
under gstreamer android binaries.
This posts
https://stackoverflow.com/questions/17659129/hardware-video-decoding-on-android-using-gstreamermentions that "..there are some dependent files which need to be installed
besides the gstreamer application", *what files are needed*?
Please help!
--
Sent from:
http://gstreamer-devel.966125.n4.nabble.com/_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel