Skip to content

Instantly share code, notes, and snippets.

View tchakabam's full-sized avatar

Stephan Hesse tchakabam

View GitHub Profile
@tchakabam
tchakabam / gist:11d1bb0f76d669a196ee
Created March 31, 2015 12:36
Using MediaCodec through GStreamer (gst-amcaudiodec) crashes in SoftFFmpegAudioDecoder::openDecoder
D/SoftFFmpegAudio(16716): SoftFFmpegAudio component: OMX.ffmpeg.mp3.decoder mMode: 2 mHighResAudioEnabled: 1
D/GStreamer+amcaudiodec(16716): 0:00:03.098108904 0x77ebb380 gstamcaudiodec.c:391:gst_amc_audio_dec_open:<amcaudiodec-omxffmpegmp3decoder0> Opened decoder
I/GStreamer+hlsdemux(16716): 0:00:03.098907446 0x77ebb380 gsthlsdemux.c:554:gst_hls_demux_src_query:<hlsdemux0> GST_QUERY_DURATION returns FALSE with duration 99:99:99.999999999
I/GStreamer+hlsdemux(16716): 0:00:03.099356196 0x77ebb380 gsthlsdemux.c:571:gst_hls_demux_src_query:<hlsdemux0> Received GST_QUERY_SEEKING with format 2
I/GStreamer+hlsdemux(16716): 0:00:03.099506612 0x77ebb380 gsthlsdemux.c:554:gst_hls_demux_src_query:<hlsdemux0> GST_QUERY_DURATION returns TRUE with duration 0:02:51.203588000
D/GStreamer+amcaudiodec(16716): 0:00:03.100511716 0x77ebb430 gstamcaudiodec.c:926:gst_amc_audio_dec_set_format:<amcaudiodec-omxffmpegmp3decoder0> Setting new caps audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, ch