Android HW+ decoding problem

rrazavi reza at userful.com
Thu Jun 15 16:09:45 UTC 2017


Does problems does not have anything to do with HW decoder support, I just
wanted to bring attention to some other issues that I faced, sorry that I
confused you by bringing them up here. using available gstreamer SDK should
be enough to use HW acceleration. once again I'm using Amlogic S912 chip and
hardware decoder element name will be different for other chips. as I told
before I'm not writing any code and I'm just using 
https://github.com/sdroege/gst-launch-remote
<https://github.com/sdroege/gst-launch-remote>   for my experiments.
you should be able to compile and install gst-remote-launch using android
studio.
These are the two pipelines that I run:
nc 192.168.120.27 9123
filesrc location=/mnt/sdcard/Movies/bbb_sunflower_1080p_30fps_normal.mp4 !
decodebin ! queue ! glupload ! glimagesink
OK
+PLAY
OK
filesrc location=/mnt/sdcard/Movies/bbb_sunflower_1080p_30fps_normal.mp4 !
qtdemux ! h264parse ! amcviddec-omxamlogicavcdecoderawesome ! queue !
glupload ! glimagesink
OK
+PLAY
OK

The first pipeline put average CPU usage to 30% and playback is not smooth
The second one average CPU usage is below 10% and it gives you smooth
playback




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Android-HW-decoding-problem-tp4683293p4683402.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list