Hardware decoder availability on exynos CPU

jeremi.wojcicki jeremi.wojcicki at gmail.com
Thu Jul 20 21:07:19 UTC 2017


Hi all,

I am working on an application where I capture an RTP h264 encoded video
stream with udpsrc and then grab frames with appsink for further processing.
The device I am developing for is Samsung Galaxy S8 with Exynos 8895. I use
prebuild gstreamer libraries form 1.12.0 built. My pipeline looks like this:

udpsrc port=7481 ! application/x-rtp, media=video, payload=127,
clock-rate=90000, encoding-name=H264 ! rtpjitterbuffer latency=50 !
rtph264depay ! h264parse ! decodebin ! videoconvert n-threads=8 !
video/x-raw,format=RGB ! appsink sync=true max-buffers=5 drop=true

The problem is that, as far as I know, decodebin should choose an apropriate
decoder with highest priority, typically a hardware one. It seems however
that openh264 (software, with poor performance) is autoplugged instead.
Looking into gstreamer register, there is nothing like amc* available.

I use $(GSTREAMER_PLUGINS_CODECS) in the Android.mk which includes
androidmedia (I guess from where the hw codec should come from) but no
effect. Instead during startup I receive following error then
(non-blocking):

07-20 23:13:26.421 8341-8341/org.freedesktop.gstreamer.tutorials.tutorial_1
E/GStreamer+default: 0:00:00.011406731 0x771cdc6520
gstjniutils.c:671:initialize_classes Could not find application class loader
provider
07-20 23:13:26.422 8341-8341/org.freedesktop.gstreamer.tutorials.tutorial_1
W/GStreamer+GST_PLUGIN_LOADING: 0:00:00.011534538 0x771cdc6520
gstplugin.c:527:gst_plugin_register_func plugin "(NULL)" failed to
initialise
07-20 23:13:26.422 8341-8341/org.freedesktop.gstreamer.tutorials.tutorial_1
I/GStreamer: GStreamer initialization complete

I used a simplest "Android Tutorial-1" here, to be sure its the simplest
possible case, but no amc* blocks can be found. Am I missing something here?
I believed that amc* are somewhat given for granted on android. Do I need to
compile manually some plugins or is it a matter of my device?

Thanks,
Jeremi



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Hardware-decoder-availability-on-exynos-CPU-tp4683878.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list