Android mediacodec / H265 Support

Kammacher Tobias (kamm) kamm at zhaw.ch
Wed Jul 8 03:18:08 PDT 2015


Thanks for your very quick response!

After applying your patch, the H265 Decoder via androidmedia works! When feeding a mp4/H265 video (4K / 25fps) there are a lot of frame drops. Displayed FPS is about 2 with debug messages enabled and about 10 without debug messages. The hardware is able to display a 4K video in H264 without framedrops, therefore i suspect the problem to be with either the H265 hardware-codec or with the H265-specific gstreamer-software components.

In particular I noticed this message:
D/GStreamer+codecparsers_h265﹕ 0:00:03.985405779 0x79e4ca90 gsth265parser.c:1320:gst_h265_parser_identify_nalu_hevc Can't parse, buffer has too small size 775, offset 775

My rudimentary test application is built on top of the android-tutorial-3 with this pipeline:
data->pipeline = gst_parse_launch("filesrc location=/storage/emulated/legacy/Movies/MB_CLS63_Sony_F65_CINEC_H265_HEVC_RQ.mp4 ! qtdemux ! h265parse ! amcviddec-omxnvidiah265decode ! autovideosink", &error);

A detailed logcat is available here: http://justpaste.it/m814

This was done with the gstreamer-android-sdk-1.5.2. I could not reproduce the problem with 1.5.2 that I originally mentioned.

Thank you very much for your assistance!
Regards
Tobias


More information about the gstreamer-android mailing list