Hello Everyone,
We're facing trouble in accessing hardware codecs (encoders as well as decoders) for example amcviddec-omxqcomvideodecoderavc,amcviddec-omxexynosavcdec amcviddec-omxgoogleh264decoder amcvidenc-omxqcomvideoencoderavc amcvidenc-omxgoogleh264encoder amcvidenc-omxexynosavcenc on Android 5.0 smart phones specifically Samsung Android phones with exynos and qualcomm hardware chipsets. We're able to access hardware codecs without any issue on Android 4.3 and 4.4 Please note we've developed app on Android 4.2 using gstreamer release(cerbero SDK) 1.3 and recently we have updated our app with gstreamer release 1.5 and everything works fine. But now we are facing serious issue of accessing hardware codecs on Android 5.0 and higher. Not accessing hardware codecs for decoding and encoding is affecting performance of our app very badly, Spl in cases of HD videos 720P and 1080P. So far we've done below experiments to resolve Android 5.0 hardware codec issue. 1) We captured androidmedia plugin debug logs using gst_debug_set_threshold_for_name("amc",GST_LEVEL_DEBUG); It has been found there is issue with color format. Also hardware codecs missing in codec_list Please find below logs. I/VideoCapabilities( 396): Unsupported profile 4 for video/mp4v-es W/AudioCapabilities( 396): Unsupported mime audio/ac3 W/GStreamer+amc( 396): 0:00:00.371694479 0xb3943c00 gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f000789 W/GStreamer+amc( 396): 0:00:00.371757656 0xb3943c00 gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f420888 E/GStreamer+amc( 396): 0:00:00.371974271 0xb3943c00 gstamc.c:4063:gst_amc_codec_info_to_caps Unable to map H264 profile 0x7f000001 W/GStreamer+amc( 396): 0:00:00.372920313 0xb3943c00 gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f000789 W/GStreamer+amc( 396): 0:00:00.372999427 0xb3943c00 gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f420888 W/GStreamer+amc( 396): 0:00:00.373784427 0xb3943c00 gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f000789 W/GStreamer+amc( 396): 0:00:00.373964219 0xb3943c00 gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f420888 W/GStreamer+amc( 396): 0:00:00.374539167 0xb3943c00 gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f000789 W/GStreamer+amc( 396): 0:00:00.374598802 0xb3943c00 gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f420888 W/GStreamer+amc( 396): 0:00:00.375664219 0xb3943c00 gstamc.c:3872:gst_amc_codec_info_to_caps Unsupported mimetype 'audio/mpeg-L1' W/GStreamer+amc( 396): 0:00:00.376823489 0xb3943c00 gstamc.c:3872:gst_amc_codec_info_to_caps Unsupported mimetype 'audio/x-ms-wma' W/GStreamer+amc( 396): 0:00:00.377263802 0xb3943c00 gstamc.c:3872:gst_amc_codec_info_to_caps Unsupported mimetype 'audio/x-ima' W/GStreamer+amc( 396): 0:00:00.377736771 0xb3943c00 gstamc.c:3872:gst_amc_codec_info_to_caps Unsupported mimetype 'audio/amr-wb-plus' W/GStreamer+amc( 396): 0:00:00.378046041 0xb3943c00 gstamc.c:3872:gst_amc_codec_info_to_caps Unsupported mimetype 'audio/qcelp' W/GStreamer+amc( 396): 0:00:00.378564219 0xb3943c00 gstamc.c:3872:gst_amc_codec_info_to_caps Unsupported mimetype 'audio/evrc' W/GStreamer+amc( 396): 0:00:00.379034635 0xb3943c00 gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f420888 W/GStreamer+amc( 396): 0:00:00.379286198 0xb3943c00 gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f000789 W/GStreamer+amc( 396): 0:00:00.379938437 0xb3943c00 gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f420888 W/GStreamer+amc( 396): 0:00:00.380031823 0xb3943c00 gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f000789 W/GStreamer+amc( 396): 0:00:00.381360000 0xb3943c00 gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f420888 W/GStreamer+amc( 396): 0:00:00.381445000 0xb3943c00 gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f000789 W/GStreamer+amc( 396): 0:00:00.382223438 0xb3943c00 gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f420888 W/GStreamer+amc( 396): 0:00:00.382325208 0xb3943c00 gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f000789 W/GStreamer+amc( 396): 0:00:00.384140365 0xb3943c00 gstamc.c:3872:gst_amc_codec_info_to_caps Unsupported mimetype 'audio/opus' W/GStreamer+amc( 396): 0:00:00.384546094 0xb3943c00 gstamc.c:3872:gst_amc_codec_info_to_caps Unsupported mimetype 'audio/gsm' W/GStreamer+amc( 396): 0:00:00.385039427 0xb3943c00 gstamc.c:3872:gst_amc_codec_info_to_caps Unsupported mimetype 'audio/ac3' But we can see the supporting color format for 4.3 is different when we captured debug logs for Android 4.3 version. Please see below logs E/OMX-VDEC-1080P( 338): omx_vdec: Async thread start E/OMX-VDEC-1080P( 338): fmt: description: Y/CbCr 4:2:0, fmt: 3231564e, flags = 0 E/OMX-VDEC-1080P( 338): fmt: description: Mpeg4 compressed format, fmt: 3447504d, flags = 1 E/OMX-VDEC-1080P( 338): fmt: description: Mpeg2 compressed format, fmt: 3247504d, flags = 1 E/OMX-VDEC-1080P( 338): fmt: description: H263 compressed format, fmt: 33363248, flags = 1 E/OMX-VDEC-1080P( 338): fmt: description: VC-1 compressed format, fmt: 47314356, flags = 1 E/OMX-VDEC-1080P( 338): fmt: description: VC-1 compressed format G, fmt: 4c314356, flags = 1 E/OMX-VDEC-1080P( 338): fmt: description: H264 compressed format, fmt: 34363248, flags = 1 E/OMX-VDEC-1080P( 338): fmt: description: HEVC compressed format, fmt: 43564548, flags = 1 E/OMX-VDEC-1080P( 338): fmt: description: VP8 compressed format, fmt: 30385056, flags = 1 E/OMX-VDEC-1080P( 338): fmt: description: DIVX 311 compressed format, fmt: 33564944, flags = 1 E/OMX-VDEC-1080P( 338): fmt: description: DIVX 4/5/6 compressed format, fmt: 58564944, flags = 1 E/OMX-VDEC-1080P( 338): NOTE_CIF: W/H 320 (0), 240 (0) E/OMX-VDEC-1080P( 338): E/OMX-VDEC-1080P( 338): Set Format was successful 2) Similar issue has been discussed in the past http://gstreamer-devel.966125.n4.nabble.com/Hardware-decoder-element-not-working-in-android-5-0-tc4670262.html#none Hence it's confirm running hardware codecs has issue with Android 5.0 However we found patches to handle more color format in RESOLVED FIXED bug https://bugzilla.gnome.org/show_bug.cgi?id=747126 we ran these patches but still issue persists 3) As suggested in http://gstreamer-devel.966125.n4.nabble.com/Hardware-decoder-element-not-working-in-android-5-0-tc4670262.html#none we decided to use decodebin and encodebin to access the hardware codecs. First we tried with decodebin as experiment in our pipeline i.e replacing hardware decoder with decodebin and use x264 for encoding. Also captured debug logs with gst_debug_set_threshold_for_name("decodebin",GST_LEVEL_DEBUG). But pipeline uses avdec_h264 for decoding not any hardware decoder. Please find below pipeline and debug logs related to decodebin Pipeline with decodebin and x264 sprintf(gst_launch_pipeline, "filesrc location=%s ! qtdemux name=demux demux.audio_0 ! queue max-size-time=5000000000 ! audio/mpeg,mpegversion=4 ! mp4mux name=mux ! filesink name=sink location=%s demux.video_0 ! h264parse ! decodebin ! queue ! x264enc pass=5 quantizer=23 speed-preset=2 psy-tune=4 vbv-buf-capacity=0 option-string=\"psnr\" ! mux.video_0", input_file, output_file); decodebin_hw_pip.log:9150: D/GStreamer+decodebin(24441): 0:00:01.464531302 0x9f730cf0 gstdecodebin2.c:1697:analyze_new_pad Trying factory avdec_h264 decodebin_hw_pip.log:9302: D/GStreamer+decodebin(24441): 0:00:01.474410156 0x9f730cf0 gstdecodebin2.c:1826:analyze_new_pad:<capsfilter1:src> pad has non-fixed caps delay autoplugging Detail Log: decodebin_hw_pip.log:954: I/GStreamer+GST_PIPELINE(24441): 0:00:00.900951562 0xaecf6e60 gstparse.c:323:gst_parse_launch_full parsing pipeline description 'filesrc location=/storage/emulated/0/DCIM/Camera/20160212_161317.mp4 ! qtdemux name=demux demux.audio_0 ! queue max-size-time=5000000000 ! audio/mpeg,mpegversion=4 ! mp4mux name=mux ! filesink name=sink location=/storage/emulated/0/DCIM/Camera/20160212_161317_transcoded.mp4 demux.video_0 ! h264parse ! decodebin ! queue ! x264enc pass=5 quantizer=23 speed-preset=2 psy-tune=4 vbv-buf-capacity=0 option-string="psnr" ! mux.video_0' decodebin_hw_pip.log:2628: D/GStreamer+GST_PIPELINE(24441): 0:00:01.042466719 0xaecf6e60 parse.l:123:priv_gst_parse_yylex flex: IDENTIFIER: decodebin decodebin_hw_pip.log:2669: V/GStreamer+GST_ELEMENT_FACTORY(24441): 0:00:01.044556146 0xaecf6e60 gstelementfactory.c:439:gst_element_factory_make gstelementfactory: make "decodebin" "(NULL)" decodebin_hw_pip.log:2670: V/GStreamer+GST_ELEMENT_FACTORY(24441): 0:00:01.044636302 0xaecf6e60 gstelementfactory.c:445:gst_element_factory_make:<decodebin> found factory 0xb4d9d000 decodebin_hw_pip.log:2671: D/GStreamer+GST_PLUGIN_LOADING(24441): 0:00:01.044708854 0xaecf6e60 gstpluginfeature.c:106:gst_plugin_feature_load loading plugin for feature 0xb4d9d000; 'decodebin' decodebin_hw_pip.log:2672: I/GStreamer+GST_ELEMENT_FACTORY(24441): 0:00:01.044780469 0xaecf6e60 gstelementfactory.c:364:gst_element_factory_create creating element "decodebin" decodebin_hw_pip.log:2734: D/GStreamer+GST_ELEMENT_FACTORY(24441): 0:00:01.051207708 0xaecf6e60 gstelementfactory.c:390:gst_element_factory_create created element "decodebin" decodebin_hw_pip.log:5197: V/GStreamer+decodebin(24441): 0:00:01.225598021 0xaecf6e60 gstdecodebin2.c:4516:gst_decode_bin_change_state:<decodebin0> expose locking from thread 0xaecf6e60 decodebin_hw_pip.log:5198: V/GStreamer+decodebin(24441): 0:00:01.225685938 0xaecf6e60 gstdecodebin2.c:4516:gst_decode_bin_change_state:<decodebin0> expose locked from thread 0xaecf6e60 decodebin_hw_pip.log:5199: V/GStreamer+decodebin(24441): 0:00:01.225866094 0xaecf6e60 gstdecodebin2.c:4521:gst_decode_bin_change_state:<decodebin0> expose unlocking from thread 0xaecf6e60 decodebin_hw_pip.log:5201: V/GStreamer+decodebin(24441): 0:00:01.225956823 0xaecf6e60 gstdecodebin2.c:4522:gst_decode_bin_change_state:<decodebin0> dynlocking from thread 0xaecf6e60 decodebin_hw_pip.log:5202: V/GStreamer+decodebin(24441): 0:00:01.226041927 0xaecf6e60 gstdecodebin2.c:4522:gst_decode_bin_change_state:<decodebin0> dynlocked from thread 0xaecf6e60 decodebin_hw_pip.log:5203: V/GStreamer+decodebin(24441): 0:00:01.226124271 0xaecf6e60 gstdecodebin2.c:4523:gst_decode_bin_change_state:<decodebin0> clearing shutdown flag decodebin_hw_pip.log:5204: V/GStreamer+decodebin(24441): 0:00:01.226208437 0xaecf6e60 gstdecodebin2.c:4525:gst_decode_bin_change_state:<decodebin0> dynunlocking from thread 0xaecf6e60 decodebin_hw_pip.log:7819: D/GStreamer+decodebin(24441): 0:00:01.381848907 0x9f730cf0 gstdecodebin2.c:2507:type_found:<decodebin0> typefind found caps video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)4, profile=(string)high, codec_data=(buffer)01640028ffe1001067640028acd201e0089f9601b4284d4001000568ce06e2c0, width=(int)1920, height=(int)1080, framerate=(fraction)18000/601, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true decodebin_hw_pip.log:7822: D/GStreamer+decodebin(24441): 0:00:01.382025729 0x9f730cf0 gstdecodebin2.c:3046:gst_decode_chain_new:<decodebin0> Creating new chain 0x9f743ee0 with parent group 0x0 decodebin_hw_pip.log:7825: D/GStreamer+decodebin(24441): 0:00:01.382261615 0x9f730cf0 gstdecodebin2.c:1493:analyze_new_pad:<decodebin0> Pad typefind:src caps:video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)4, profile=(string)high, codec_data=(buffer)01640028ffe1001067640028acd201e0089f9601b4284d4001000568ce06e2c0, width=(int)1920, height=(int)1080, framerate=(fraction)18000/601, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true decodebin_hw_pip.log:7826: D/GStreamer+decodebin(24441): 0:00:01.382319896 0x9f730cf0 gstdecodebin2.c:4381:gst_decode_pad_new:<decodebin0> making new decodepad decodebin_hw_pip.log:7871: D/GStreamer+decodebin(24441): 0:00:01.385587083 0x9f730cf0 gstdecodebin2.c:1451:copy_sticky_events:<'':decodepad0> store sticky event stream-start event: 0x9f743c58, time 99:99:99.999999999, seq-num 55, GstEventStreamStart, stream-id=(string)7784f1417f5f64d5a54b789b9a791e6d1e0b68710c486b02f0dfcf0aca84300e/001, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)0; decodebin_hw_pip.log:7875: D/GStreamer+decodebin(24441): 0:00:01.385908177 0x9f730cf0 gstdecodebin2.c:1451:copy_sticky_events:<'':decodepad0> store sticky event caps event: 0x9f743e98, time 99:99:99.999999999, seq-num 67, GstEventCaps, caps=(GstCaps)"video/x-h264\,\ stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\ level\=\(string\)4\,\ profile\=\(string\)high\,\ codec_data\=\(buffer\)01640028ffe1001067640028acd201e0089f9601b4284d4001000568ce06e2c0\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ framerate\=\(fraction\)18000/601\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ parsed\=\(boolean\)true"; decodebin_hw_pip.log:7878: D/GStreamer+decodebin(24441): 0:00:01.386115469 0x9f730cf0 gstdecodebin2.c:1346:gst_decode_bin_autoplug_continue:<decodebin0> autoplug-continue returns TRUE decodebin_hw_pip.log:7881: V/GStreamer+decodebin(24441): 0:00:01.386340104 0x9f730cf0 gstdecodebin2.c:2778:are_final_caps:<decodebin0> Checking with caps video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)4, profile=(string)high, codec_data=(buffer)01640028ffe1001067640028acd201e0089f9601b4284d4001000568ce06e2c0, width=(int)1920, height=(int)1080, framerate=(fraction)18000/601, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true decodebin_hw_pip.log:7882: V/GStreamer+decodebin(24441): 0:00:01.386402187 0x9f730cf0 gstdecodebin2.c:2785:are_final_caps:<decodebin0> Caps are not final caps decodebin_hw_pip.log:7883: D/GStreamer+decodebin(24441): 0:00:01.386476719 0x9f730cf0 gstdecodebin2.c:1360:gst_decode_bin_autoplug_factories:<decodebin0> finding factories decodebin_hw_pip.log:8531: D/GStreamer+decodebin(24441): 0:00:01.426296823 0x9f730cf0 gstdecodebin2.c:1382:gst_decode_bin_autoplug_factories:<decodebin0> autoplug-factories returns 0x9f04ea80 decodebin_hw_pip.log:8532: V/GStreamer+decodebin(24441): 0:00:01.426391562 0x9f730cf0 gstdecodebin2.c:1741:analyze_new_pad:<typefind:src> Let's continue discovery on this pad decodebin_hw_pip.log:8535: D/GStreamer+decodebin(24441): 0:00:01.426664687 0x9f730cf0 gstdecodebin2.c:1903:connect_pad:<decodebin0> pad typefind:src , chain:0x9f743ee0, 2 factories, caps video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)4, profile=(string)high, codec_data=(buffer)01640028ffe1001067640028acd201e0089f9601b4284d4001000568ce06e2c0, width=(int)1920, height=(int)1080, framerate=(fraction)18000/601, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true decodebin_hw_pip.log:8583: D/GStreamer+decodebin(24441): 0:00:01.429817864 0x9f730cf0 gstdecodebin2.c:1451:copy_sticky_events:<'':decodepad0> store sticky event stream-start event: 0x9f743c58, time 99:99:99.999999999, seq-num 55, GstEventStreamStart, stream-id=(string)7784f1417f5f64d5a54b789b9a791e6d1e0b68710c486b02f0dfcf0aca84300e/001, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)0; decodebin_hw_pip.log:8586: D/GStreamer+decodebin(24441): 0:00:01.430077604 0x9f730cf0 gstdecodebin2.c:1451:copy_sticky_events:<'':decodepad0> store sticky event caps event: 0x9f743e98, time 99:99:99.999999999, seq-num 67, GstEventCaps, caps=(GstCaps)"video/x-h264\,\ stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\ level\=\(string\)4\,\ profile\=\(string\)high\,\ codec_data\=\(buffer\)01640028ffe1001067640028acd201e0089f9601b4284d4001000568ce06e2c0\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ framerate\=\(fraction\)18000/601\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ parsed\=\(boolean\)true"; decodebin_hw_pip.log:8587: V/GStreamer+decodebin(24441): 0:00:01.430145468 0x9f730cf0 gstdecodebin2.c:1939:connect_pad:<typefind> trying factory <h264parse> decodebin_hw_pip.log:8588: V/GStreamer+decodebin(24441): 0:00:01.430212291 0x9f730cf0 gstdecodebin2.c:1998:connect_pad:<decodebin0> locking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:8589: V/GStreamer+decodebin(24441): 0:00:01.430270000 0x9f730cf0 gstdecodebin2.c:1998:connect_pad:<decodebin0> locked chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:8590: V/GStreamer+decodebin(24441): 0:00:01.430325468 0x9f730cf0 gstdecodebin2.c:2017:connect_pad:<decodebin0> unlocking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:8591: D/GStreamer+decodebin(24441): 0:00:01.430392812 0x9f730cf0 gstdecodebin2.c:1398:gst_decode_bin_autoplug_select:<decodebin0> default autoplug-select returns TRY decodebin_hw_pip.log:8592: D/GStreamer+decodebin(24441): 0:00:01.430454687 0x9f730cf0 gstdecodebin2.c:2033:connect_pad:<decodebin0> autoplug select requested try decodebin_hw_pip.log:8614: D/GStreamer+decodebin(24441): 0:00:01.431923438 0x9f730cf0 gstdecodebin2.c:1440:clear_sticky_events:<'':decodepad0> clearing sticky event stream-start event: 0x9f743c58, time 99:99:99.999999999, seq-num 55, GstEventStreamStart, stream-id=(string)7784f1417f5f64d5a54b789b9a791e6d1e0b68710c486b02f0dfcf0aca84300e/001, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)0; decodebin_hw_pip.log:8617: D/GStreamer+decodebin(24441): 0:00:01.432178021 0x9f730cf0 gstdecodebin2.c:1440:clear_sticky_events:<'':decodepad0> clearing sticky event caps event: 0x9f743e98, time 99:99:99.999999999, seq-num 67, GstEventCaps, caps=(GstCaps)"video/x-h264\,\ stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\ level\=\(string\)4\,\ profile\=\(string\)high\,\ codec_data\=\(buffer\)01640028ffe1001067640028acd201e0089f9601b4284d4001000568ce06e2c0\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ framerate\=\(fraction\)18000/601\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ parsed\=\(boolean\)true"; decodebin_hw_pip.log:8777: V/GStreamer+decodebin(24441): 0:00:01.443363594 0x9f730cf0 gstdecodebin2.c:2120:connect_pad:<decodebin0> linked on pad typefind:src decodebin_hw_pip.log:8778: V/GStreamer+decodebin(24441): 0:00:01.443420104 0x9f730cf0 gstdecodebin2.c:2122:connect_pad:<decodebin0> locking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:8779: V/GStreamer+decodebin(24441): 0:00:01.443476250 0x9f730cf0 gstdecodebin2.c:2122:connect_pad:<decodebin0> locked chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:8780: V/GStreamer+decodebin(24441): 0:00:01.443540938 0x9f730cf0 gstdecodebin2.c:2149:connect_pad:<decodebin0> unlocking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:8781: D/GStreamer+decodebin(24441): 0:00:01.443599688 0x9f730cf0 gstdecodebin2.c:2326:connect_element:<decodebin0> Attempting to connect element h264parse1 [chain:0x9f743ee0] further decodebin_hw_pip.log:8782: D/GStreamer+decodebin(24441): 0:00:01.443656823 0x9f730cf0 gstdecodebin2.c:2339:connect_element:<decodebin0> got a source pad template src decodebin_hw_pip.log:8784: D/GStreamer+decodebin(24441): 0:00:01.443770365 0x9f730cf0 gstdecodebin2.c:2350:connect_element:<decodebin0> got the pad for always template src decodebin_hw_pip.log:8798: D/GStreamer+decodebin(24441): 0:00:01.444739583 0x9f730cf0 gstdecodebin2.c:1493:analyze_new_pad:<decodebin0> Pad h264parse1:src caps:video/x-h264, parsed=(boolean)true, stream-format=(string){ avc, avc3, byte-stream }, alignment=(string){ au, nal } decodebin_hw_pip.log:8827: V/GStreamer+decodebin(24441): 0:00:01.446598854 0x9f730cf0 gstdecodebin2.c:2778:are_final_caps:<decodebin0> Checking with caps video/x-h264, parsed=(boolean)true, stream-format=(string){ avc, avc3, byte-stream }, alignment=(string){ au, nal } decodebin_hw_pip.log:8828: V/GStreamer+decodebin(24441): 0:00:01.446660208 0x9f730cf0 gstdecodebin2.c:2785:are_final_caps:<decodebin0> Caps are not final caps decodebin_hw_pip.log:8829: D/GStreamer+decodebin(24441): 0:00:01.446730364 0x9f730cf0 gstdecodebin2.c:1360:gst_decode_bin_autoplug_factories:<decodebin0> finding factories decodebin_hw_pip.log:9147: D/GStreamer+decodebin(24441): 0:00:01.464348021 0x9f730cf0 gstdecodebin2.c:1382:gst_decode_bin_autoplug_factories:<decodebin0> autoplug-factories returns 0x9f04ed30 decodebin_hw_pip.log:9148: D/GStreamer+decodebin(24441): 0:00:01.464439688 0x9f730cf0 gstdecodebin2.c:1697:analyze_new_pad Trying factory h264parse decodebin_hw_pip.log:9149: D/GStreamer+decodebin(24441): 0:00:01.464485729 0x9f730cf0 gstdecodebin2.c:1700:analyze_new_pad Skipping factory decodebin_hw_pip.log:9150: D/GStreamer+decodebin(24441): 0:00:01.464531302 0x9f730cf0 gstdecodebin2.c:1697:analyze_new_pad Trying factory avdec_h264 decodebin_hw_pip.log:9302: D/GStreamer+decodebin(24441): 0:00:01.474410156 0x9f730cf0 gstdecodebin2.c:1826:analyze_new_pad:<capsfilter1:src> pad has non-fixed caps delay autoplugging decodebin_hw_pip.log:9303: V/GStreamer+decodebin(24441): 0:00:01.474469636 0x9f730cf0 gstdecodebin2.c:1840:analyze_new_pad:<decodebin0> locking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:9304: V/GStreamer+decodebin(24441): 0:00:01.474527604 0x9f730cf0 gstdecodebin2.c:1840:analyze_new_pad:<decodebin0> locked chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:9305: V/GStreamer+decodebin(24441): 0:00:01.474583646 0x9f730cf0 gstdecodebin2.c:1842:analyze_new_pad:<decodebin0> Chain 0x9f743ee0 has now 0 dynamic pads decodebin_hw_pip.log:9308: V/GStreamer+decodebin(24441): 0:00:01.474777656 0x9f730cf0 gstdecodebin2.c:1852:analyze_new_pad:<decodebin0> unlocking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:9647: V/GStreamer+decodebin(24441): 0:00:01.500569739 0x9f730cf0 gstdecodebin2.c:4342:gst_decode_pad_query:<decodebin0> locking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:9648: V/GStreamer+decodebin(24441): 0:00:01.500627656 0x9f730cf0 gstdecodebin2.c:4342:gst_decode_pad_query:<decodebin0> locked chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:9653: D/GStreamer+decodebin(24441): 0:00:01.501043333 0x9f730cf0 gstdecodebin2.c:4350:gst_decode_pad_query:<decodebin0> calling autoplug-query for decodepad0 (element h264parse1): caps query: 0x9f032ec0, GstQueryCaps, filter=(GstCaps)"video/x-h264\,\ alignment\=\(string\)au\,\ stream-format\=\(string\)\{\ avc\,\ byte-stream\ \}\,\ parsed\=\(boolean\)true\,\ level\=\(string\)4\,\ profile\=\(string\)high\,\ codec_data\=\(buffer\)01640028ffe1001067640028acd201e0089f9601b4284d4001000568ce06e2c0\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ framerate\=\(fraction\)18000/601\,\ pixel-aspect-ratio\=\(fraction\)1/1\;\ video/x-h264\,\ parsed\=\(boolean\)true\,\ stream-format\=\(string\)\{\ avc\,\ avc3\,\ byte-stream\ \}\,\ alignment\=\(string\)\{\ au\,\ nal\ \}\,\ level\=\(string\)4\,\ profile\=\(string\)high\,\ codec_data\=\(buffer\)01640028ffe1001067640028acd201e0089f9601b4284d4001000568ce06e2c0\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ framerate\=\(fraction\)18000/601\,\ pixel-aspect-rat decodebin_hw_pip.log:9654: D/GStreamer+decodebin(24441): 0:00:01.501128073 0x9f730cf0 gstdecodebin2.c:4359:gst_decode_pad_query:<decodebin0> autoplug-query returned 0 decodebin_hw_pip.log:9655: V/GStreamer+decodebin(24441): 0:00:01.501189062 0x9f730cf0 gstdecodebin2.c:4361:gst_decode_pad_query:<decodebin0> unlocking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:9841: V/GStreamer+decodebin(24441): 0:00:01.515070469 0x9f730cf0 gstdecodebin2.c:4342:gst_decode_pad_query:<decodebin0> locking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:9842: V/GStreamer+decodebin(24441): 0:00:01.515128125 0x9f730cf0 gstdecodebin2.c:4342:gst_decode_pad_query:<decodebin0> locked chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:9843: D/GStreamer+decodebin(24441): 0:00:01.515246615 0x9f730cf0 gstdecodebin2.c:4350:gst_decode_pad_query:<decodebin0> calling autoplug-query for decodepad0 (element h264parse1): caps query: 0x9f032e00, GstQueryCaps, filter=(GstCaps)"video/x-h264\,\ alignment\=\(string\)au\,\ stream-format\=\(string\)\{\ avc\,\ byte-stream\ \}\,\ parsed\=\(boolean\)true\;\ video/x-h264\,\ parsed\=\(boolean\)true\,\ stream-format\=\(string\)\{\ avc\,\ avc3\,\ byte-stream\ \}\,\ alignment\=\(string\)\{\ au\,\ nal\ \}", caps=(GstCaps)"NULL"; decodebin_hw_pip.log:9844: D/GStreamer+decodebin(24441): 0:00:01.515326563 0x9f730cf0 gstdecodebin2.c:4359:gst_decode_pad_query:<decodebin0> autoplug-query returned 0 decodebin_hw_pip.log:9845: V/GStreamer+decodebin(24441): 0:00:01.515384063 0x9f730cf0 gstdecodebin2.c:4361:gst_decode_pad_query:<decodebin0> unlocking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:9930: V/GStreamer+decodebin(24441): 0:00:01.521350468 0x9f730cf0 gstdecodebin2.c:4342:gst_decode_pad_query:<decodebin0> locking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:9931: V/GStreamer+decodebin(24441): 0:00:01.521408333 0x9f730cf0 gstdecodebin2.c:4342:gst_decode_pad_query:<decodebin0> locked chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:9934: D/GStreamer+decodebin(24441): 0:00:01.521686407 0x9f730cf0 gstdecodebin2.c:4350:gst_decode_pad_query:<decodebin0> calling autoplug-query for decodepad0 (element h264parse1): accept-caps query: 0x9f032db0, GstQueryAcceptCaps, caps=(GstCaps)"video/x-h264\,\ stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\ level\=\(string\)4\,\ profile\=\(string\)high\,\ codec_data\=\(buffer\)01640028ffe1001067640028acd201e0089f9601b4284d4001000568ce06e2c0\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ framerate\=\(fraction\)18000/601\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ parsed\=\(boolean\)true", result=(boolean)false; decodebin_hw_pip.log:9935: D/GStreamer+decodebin(24441): 0:00:01.521766615 0x9f730cf0 gstdecodebin2.c:4359:gst_decode_pad_query:<decodebin0> autoplug-query returned 0 decodebin_hw_pip.log:9936: V/GStreamer+decodebin(24441): 0:00:01.521824271 0x9f730cf0 gstdecodebin2.c:4361:gst_decode_pad_query:<decodebin0> unlocking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:9996: V/GStreamer+decodebin(24441): 0:00:01.526115156 0x9f730cf0 gstdecodebin2.c:4342:gst_decode_pad_query:<decodebin0> locking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:9997: V/GStreamer+decodebin(24441): 0:00:01.526172292 0x9f730cf0 gstdecodebin2.c:4342:gst_decode_pad_query:<decodebin0> locked chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:10000: D/GStreamer+decodebin(24441): 0:00:01.526414219 0x9f730cf0 gstdecodebin2.c:4350:gst_decode_pad_query:<decodebin0> calling autoplug-query for decodepad0 (element h264parse1): accept-caps query: 0x9f032d80, GstQueryAcceptCaps, caps=(GstCaps)"video/x-h264\,\ alignment\=\(string\)au\,\ stream-format\=\(string\)avc\,\ parsed\=\(boolean\)true\,\ level\=\(string\)4\,\ profile\=\(string\)high\,\ codec_data\=\(buffer\)01640028ffe1001067640028acd201e0089f9601b4284d4001000568ce06e2c0\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ framerate\=\(fraction\)18000/601\,\ pixel-aspect-ratio\=\(fraction\)1/1", result=(boolean)false; decodebin_hw_pip.log:10001: D/GStreamer+decodebin(24441): 0:00:01.526495365 0x9f730cf0 gstdecodebin2.c:4359:gst_decode_pad_query:<decodebin0> autoplug-query returned 0 decodebin_hw_pip.log:10002: V/GStreamer+decodebin(24441): 0:00:01.526553958 0x9f730cf0 gstdecodebin2.c:4361:gst_decode_pad_query:<decodebin0> unlocking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:10034: V/GStreamer+decodebin(24441): 0:00:01.528817396 0x9f730cf0 gstdecodebin2.c:2678:caps_notify_cb:<capsfilter1:src> Notified caps for pad capsfilter1:src decodebin_hw_pip.log:10035: V/GStreamer+decodebin(24441): 0:00:01.528880000 0x9f730cf0 gstdecodebin2.c:2684:caps_notify_cb:<decodebin0> locking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:10036: V/GStreamer+decodebin(24441): 0:00:01.528937604 0x9f730cf0 gstdecodebin2.c:2684:caps_notify_cb:<decodebin0> locked chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:10038: V/GStreamer+decodebin(24441): 0:00:01.529061718 0x9f730cf0 gstdecodebin2.c:2693:caps_notify_cb:<decodebin0> unlocking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:10039: D/GStreamer+decodebin(24441): 0:00:01.529120104 0x9f730cf0 gstdecodebin2.c:2582:pad_added_cb:<capsfilter1:src> pad added, chain:0x9f743ee0 decodebin_hw_pip.log:10045: D/GStreamer+decodebin(24441): 0:00:01.529567864 0x9f730cf0 gstdecodebin2.c:1493:analyze_new_pad:<decodebin0> Pad capsfilter1:src caps:video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)4, profile=(string)high, codec_data=(buffer)01640028ffe1001067640028acd201e0089f9601b4284d4001000568ce06e2c0, width=(int)1920, height=(int)1080, framerate=(fraction)18000/601, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true decodebin_hw_pip.log:10137: D/GStreamer+decodebin(24441): 0:00:01.535981094 0x9f730cf0 gstdecodebin2.c:1451:copy_sticky_events:<'':decodepad0> store sticky event stream-start event: 0x9f743c58, time 99:99:99.999999999, seq-num 55, GstEventStreamStart, stream-id=(string)7784f1417f5f64d5a54b789b9a791e6d1e0b68710c486b02f0dfcf0aca84300e/001, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)0; decodebin_hw_pip.log:10140: D/GStreamer+decodebin(24441): 0:00:01.536233021 0x9f730cf0 gstdecodebin2.c:1451:copy_sticky_events:<'':decodepad0> store sticky event caps event: 0x9f03da40, time 99:99:99.999999999, seq-num 100, GstEventCaps, caps=(GstCaps)"video/x-h264\,\ stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\ level\=\(string\)4\,\ profile\=\(string\)high\,\ codec_data\=\(buffer\)01640028ffe1001067640028acd201e0089f9601b4284d4001000568ce06e2c0\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ framerate\=\(fraction\)18000/601\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ parsed\=\(boolean\)true"; decodebin_hw_pip.log:10143: D/GStreamer+decodebin(24441): 0:00:01.536442396 0x9f730cf0 gstdecodebin2.c:1346:gst_decode_bin_autoplug_continue:<decodebin0> autoplug-continue returns TRUE decodebin_hw_pip.log:10146: V/GStreamer+decodebin(24441): 0:00:01.536669531 0x9f730cf0 gstdecodebin2.c:2778:are_final_caps:<decodebin0> Checking with caps video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)4, profile=(string)high, codec_data=(buffer)01640028ffe1001067640028acd201e0089f9601b4284d4001000568ce06e2c0, width=(int)1920, height=(int)1080, framerate=(fraction)18000/601, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true decodebin_hw_pip.log:10147: V/GStreamer+decodebin(24441): 0:00:01.536731198 0x9f730cf0 gstdecodebin2.c:2785:are_final_caps:<decodebin0> Caps are not final caps decodebin_hw_pip.log:10148: D/GStreamer+decodebin(24441): 0:00:01.536802864 0x9f730cf0 gstdecodebin2.c:1360:gst_decode_bin_autoplug_factories:<decodebin0> finding factories decodebin_hw_pip.log:10466: D/GStreamer+decodebin(24441): 0:00:01.554724271 0x9f730cf0 gstdecodebin2.c:1382:gst_decode_bin_autoplug_factories:<decodebin0> autoplug-factories returns 0x9f04ecc0 decodebin_hw_pip.log:10467: V/GStreamer+decodebin(24441): 0:00:01.554820365 0x9f730cf0 gstdecodebin2.c:1741:analyze_new_pad:<capsfilter1:src> Let's continue discovery on this pad decodebin_hw_pip.log:10470: D/GStreamer+decodebin(24441): 0:00:01.555077969 0x9f730cf0 gstdecodebin2.c:1903:connect_pad:<decodebin0> pad capsfilter1:src , chain:0x9f743ee0, 2 factories, caps video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)4, profile=(string)high, codec_data=(buffer)01640028ffe1001067640028acd201e0089f9601b4284d4001000568ce06e2c0, width=(int)1920, height=(int)1080, framerate=(fraction)18000/601, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true decodebin_hw_pip.log:10561: D/GStreamer+decodebin(24441): 0:00:01.561365625 0x9f730cf0 gstdecodebin2.c:1451:copy_sticky_events:<'':decodepad0> store sticky event stream-start event: 0x9f743c58, time 99:99:99.999999999, seq-num 55, GstEventStreamStart, stream-id=(string)7784f1417f5f64d5a54b789b9a791e6d1e0b68710c486b02f0dfcf0aca84300e/001, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)0; decodebin_hw_pip.log:10564: D/GStreamer+decodebin(24441): 0:00:01.561657396 0x9f730cf0 gstdecodebin2.c:1451:copy_sticky_events:<'':decodepad0> store sticky event caps event: 0x9f03da40, time 99:99:99.999999999, seq-num 100, GstEventCaps, caps=(GstCaps)"video/x-h264\,\ stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\ level\=\(string\)4\,\ profile\=\(string\)high\,\ codec_data\=\(buffer\)01640028ffe1001067640028acd201e0089f9601b4284d4001000568ce06e2c0\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ framerate\=\(fraction\)18000/601\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ parsed\=\(boolean\)true"; decodebin_hw_pip.log:10565: V/GStreamer+decodebin(24441): 0:00:01.561727396 0x9f730cf0 gstdecodebin2.c:1939:connect_pad:<capsfilter1> trying factory <h264parse> decodebin_hw_pip.log:10566: V/GStreamer+decodebin(24441): 0:00:01.561796250 0x9f730cf0 gstdecodebin2.c:1998:connect_pad:<decodebin0> locking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:10567: V/GStreamer+decodebin(24441): 0:00:01.561855573 0x9f730cf0 gstdecodebin2.c:1998:connect_pad:<decodebin0> locked chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:10568: V/GStreamer+decodebin(24441): 0:00:01.561915157 0x9f730cf0 gstdecodebin2.c:2017:connect_pad:<decodebin0> unlocking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:10569: D/GStreamer+decodebin(24441): 0:00:01.561971511 0x9f730cf0 gstdecodebin2.c:2021:connect_pad:<decodebin0> Skipping factory 'h264parse' because it was already used in this chain decodebin_hw_pip.log:10660: D/GStreamer+decodebin(24441): 0:00:01.568177656 0x9f730cf0 gstdecodebin2.c:1451:copy_sticky_events:<'':decodepad0> store sticky event stream-start event: 0x9f743c58, time 99:99:99.999999999, seq-num 55, GstEventStreamStart, stream-id=(string)7784f1417f5f64d5a54b789b9a791e6d1e0b68710c486b02f0dfcf0aca84300e/001, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)0; decodebin_hw_pip.log:10663: D/GStreamer+decodebin(24441): 0:00:01.568429271 0x9f730cf0 gstdecodebin2.c:1451:copy_sticky_events:<'':decodepad0> store sticky event caps event: 0x9f03da40, time 99:99:99.999999999, seq-num 100, GstEventCaps, caps=(GstCaps)"video/x-h264\,\ stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\ level\=\(string\)4\,\ profile\=\(string\)high\,\ codec_data\=\(buffer\)01640028ffe1001067640028acd201e0089f9601b4284d4001000568ce06e2c0\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ framerate\=\(fraction\)18000/601\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ parsed\=\(boolean\)true"; decodebin_hw_pip.log:10664: V/GStreamer+decodebin(24441): 0:00:01.568500000 0x9f730cf0 gstdecodebin2.c:1939:connect_pad:<capsfilter1> trying factory <avdec_h264> decodebin_hw_pip.log:10665: D/GStreamer+decodebin(24441): 0:00:01.568583750 0x9f730cf0 gstdecodebin2.c:1398:gst_decode_bin_autoplug_select:<decodebin0> default autoplug-select returns TRY decodebin_hw_pip.log:10666: D/GStreamer+decodebin(24441): 0:00:01.568647239 0x9f730cf0 gstdecodebin2.c:2033:connect_pad:<decodebin0> autoplug select requested try decodebin_hw_pip.log:10688: D/GStreamer+decodebin(24441): 0:00:01.570104479 0x9f730cf0 gstdecodebin2.c:1440:clear_sticky_events:<'':decodepad0> clearing sticky event stream-start event: 0x9f743c58, time 99:99:99.999999999, seq-num 55, GstEventStreamStart, stream-id=(string)7784f1417f5f64d5a54b789b9a791e6d1e0b68710c486b02f0dfcf0aca84300e/001, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)0; decodebin_hw_pip.log:10691: D/GStreamer+decodebin(24441): 0:00:01.570355364 0x9f730cf0 gstdecodebin2.c:1440:clear_sticky_events:<'':decodepad0> clearing sticky event caps event: 0x9f03da40, time 99:99:99.999999999, seq-num 100, GstEventCaps, caps=(GstCaps)"video/x-h264\,\ stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\ level\=\(string\)4\,\ profile\=\(string\)high\,\ codec_data\=\(buffer\)01640028ffe1001067640028acd201e0089f9601b4284d4001000568ce06e2c0\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ framerate\=\(fraction\)18000/601\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ parsed\=\(boolean\)true"; decodebin_hw_pip.log:10934: V/GStreamer+decodebin(24441): 0:00:01.589503958 0x9f730cf0 gstdecodebin2.c:2120:connect_pad:<decodebin0> linked on pad capsfilter1:src decodebin_hw_pip.log:10935: V/GStreamer+decodebin(24441): 0:00:01.589563281 0x9f730cf0 gstdecodebin2.c:2122:connect_pad:<decodebin0> locking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:10936: V/GStreamer+decodebin(24441): 0:00:01.589621041 0x9f730cf0 gstdecodebin2.c:2122:connect_pad:<decodebin0> locked chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:10937: V/GStreamer+decodebin(24441): 0:00:01.589688333 0x9f730cf0 gstdecodebin2.c:2149:connect_pad:<decodebin0> unlocking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:10938: D/GStreamer+decodebin(24441): 0:00:01.589748854 0x9f730cf0 gstdecodebin2.c:2326:connect_element:<decodebin0> Attempting to connect element avdec_h264-0 [chain:0x9f743ee0] further decodebin_hw_pip.log:10939: D/GStreamer+decodebin(24441): 0:00:01.589807083 0x9f730cf0 gstdecodebin2.c:2339:connect_element:<decodebin0> got a source pad template src decodebin_hw_pip.log:10941: D/GStreamer+decodebin(24441): 0:00:01.589922343 0x9f730cf0 gstdecodebin2.c:2350:connect_element:<decodebin0> got the pad for always template src decodebin_hw_pip.log:10955: D/GStreamer+decodebin(24441): 0:00:01.590904635 0x9f730cf0 gstdecodebin2.c:1493:analyze_new_pad:<decodebin0> Pad avdec_h264-0:src caps:video/x-raw, format=(string){ I420, YUY2, RGB, BGR, Y42B, Y444, YUV9, Y41B, GRAY8, RGB8P, I420, Y42B, Y444, UYVY, NV12, NV21, ARGB, RGBA, ABGR, BGRA, GRAY16_BE, GRAY16_LE, A420, RGB16, RGB15, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE } decodebin_hw_pip.log:10984: V/GStreamer+decodebin(24441): 0:00:01.592817240 0x9f730cf0 gstdecodebin2.c:2778:are_final_caps:<decodebin0> Checking with caps video/x-raw, format=(string){ I420, YUY2, RGB, BGR, Y42B, Y444, YUV9, Y41B, GRAY8, RGB8P, I420, Y42B, Y444, UYVY, NV12, NV21, ARGB, RGBA, ABGR, BGRA, GRAY16_BE, GRAY16_LE, A420, RGB16, RGB15, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE } decodebin_hw_pip.log:10985: V/GStreamer+decodebin(24441): 0:00:01.592879063 0x9f730cf0 gstdecodebin2.c:2785:are_final_caps:<decodebin0> Caps are final caps decodebin_hw_pip.log:10986: V/GStreamer+decodebin(24441): 0:00:01.592935573 0x9f730cf0 gstdecodebin2.c:1759:analyze_new_pad:<decodebin0> Pad is final. autoplug-continue:1 decodebin_hw_pip.log:10987: D/GStreamer+decodebin(24441): 0:00:01.592995469 0x9f730cf0 gstdecodebin2.c:2427:expose_pad:<decodebin0> pad avdec_h264-0:src, chain:0x9f743ee0 decodebin_hw_pip.log:10989: V/GStreamer+decodebin(24441): 0:00:01.593115156 0x9f730cf0 gstdecodebin2.c:4261:gst_decode_pad_set_blocked:<decodebin0> dynlocking from thread 0x9f730cf0 decodebin_hw_pip.log:10990: V/GStreamer+decodebin(24441): 0:00:01.593171563 0x9f730cf0 gstdecodebin2.c:4261:gst_decode_pad_set_blocked:<decodebin0> dynlocked from thread 0x9f730cf0 decodebin_hw_pip.log:10991: D/GStreamer+decodebin(24441): 0:00:01.593228073 0x9f730cf0 gstdecodebin2.c:4263:gst_decode_pad_set_blocked:<'':decodepad0> blocking pad: 1 decodebin_hw_pip.log:10996: V/GStreamer+decodebin(24441): 0:00:01.593542396 0x9f730cf0 gstdecodebin2.c:4309:gst_decode_pad_set_blocked:<decodebin0> dynunlocking from thread 0x9f730cf0 decodebin_hw_pip.log:10999: V/GStreamer+decodebin(24441): 0:00:01.593725104 0x9f730cf0 gstdecodebin2.c:2449:expose_pad:<decodebin0> expose locking from thread 0x9f730cf0 decodebin_hw_pip.log:11000: V/GStreamer+decodebin(24441): 0:00:01.593781042 0x9f730cf0 gstdecodebin2.c:2449:expose_pad:<decodebin0> expose locked from thread 0x9f730cf0 decodebin_hw_pip.log:11001: V/GStreamer+decodebin(24441): 0:00:01.593840938 0x9f730cf0 gstdecodebin2.c:3404:gst_decode_chain_is_complete:<decodebin0> locking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:11002: V/GStreamer+decodebin(24441): 0:00:01.593897813 0x9f730cf0 gstdecodebin2.c:3404:gst_decode_chain_is_complete:<decodebin0> locked chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:11003: V/GStreamer+decodebin(24441): 0:00:01.593955000 0x9f730cf0 gstdecodebin2.c:3427:gst_decode_chain_is_complete:<decodebin0> unlocking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:11004: D/GStreamer+decodebin(24441): 0:00:01.594011823 0x9f730cf0 gstdecodebin2.c:3428:gst_decode_chain_is_complete:<decodebin0> Chain 0x9f743ee0 is complete: 0 decodebin_hw_pip.log:11005: V/GStreamer+decodebin(24441): 0:00:01.594070573 0x9f730cf0 gstdecodebin2.c:2453:expose_pad:<decodebin0> expose unlocking from thread 0x9f730cf0 decodebin_hw_pip.log:11041: V/GStreamer+decodebin(24441): 0:00:01.598543750 0x9f730cf0 gstdecodebin2.c:2589:pad_added_cb:<decodebin0> expose locking from thread 0x9f730cf0 decodebin_hw_pip.log:11042: V/GStreamer+decodebin(24441): 0:00:01.598598906 0x9f730cf0 gstdecodebin2.c:2589:pad_added_cb:<decodebin0> expose locked from thread 0x9f730cf0 decodebin_hw_pip.log:11043: V/GStreamer+decodebin(24441): 0:00:01.598733541 0x9f730cf0 gstdecodebin2.c:3404:gst_decode_chain_is_complete:<decodebin0> locking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:11044: V/GStreamer+decodebin(24441): 0:00:01.598790729 0x9f730cf0 gstdecodebin2.c:3404:gst_decode_chain_is_complete:<decodebin0> locked chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:11046: V/GStreamer+decodebin(24441): 0:00:01.598846406 0x9f730cf0 gstdecodebin2.c:3427:gst_decode_chain_is_complete:<decodebin0> unlocking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:11047: D/GStreamer+decodebin(24441): 0:00:01.598902656 0x9f730cf0 gstdecodebin2.c:3428:gst_decode_chain_is_complete:<decodebin0> Chain 0x9f743ee0 is complete: 0 decodebin_hw_pip.log:11048: V/GStreamer+decodebin(24441): 0:00:01.598956406 0x9f730cf0 gstdecodebin2.c:2596:pad_added_cb:<decodebin0> expose unlocking from thread 0x9f730cf0 decodebin_hw_pip.log:11064: V/GStreamer+decodebin(24441): 0:00:01.600135625 0x9f730cf0 gstdecodebin2.c:4165:source_pad_blocked_cb:<avdec_h264-0:src> Seeing event 'stream-start' decodebin_hw_pip.log:11074: V/GStreamer+decodebin(24441): 0:00:01.600732604 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<'':decodepad0> stream-start dpad:0x9f0310b8 decodebin_hw_pip.log:11078: V/GStreamer+decodebin(24441): 0:00:01.600977343 0x9f730cf0 gstdecodebin2.c:4186:source_pad_blocked_cb:<avdec_h264-0:src> Letting sticky non-CAPS event through decodebin_hw_pip.log:11094: V/GStreamer+decodebin(24441): 0:00:01.602118177 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<'':decodepad0> stream-start dpad:0x9f0310b8 decodebin_hw_pip.log:11775: V/GStreamer+decodebin(24441): 0:00:01.670335156 0x9f730cf0 gstdecodebin2.c:4165:source_pad_blocked_cb:<avdec_h264-0:src> Seeing event 'caps' decodebin_hw_pip.log:11784: V/GStreamer+decodebin(24441): 0:00:01.670900572 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<'':decodepad0> stream-start dpad:0x9f0310b8 decodebin_hw_pip.log:11793: V/GStreamer+decodebin(24441): 0:00:01.671451666 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<'':decodepad0> caps dpad:0x9f0310b8 decodebin_hw_pip.log:11800: V/GStreamer+decodebin(24441): 0:00:01.671910157 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<'':decodepad0> stream-start dpad:0x9f0310b8 decodebin_hw_pip.log:11806: V/GStreamer+decodebin(24441): 0:00:01.672284584 0x9f730cf0 gstdecodebin2.c:4212:source_pad_blocked_cb:<'':decodepad0> blocked: dpad->chain:0x9f743ee0 decodebin_hw_pip.log:11807: V/GStreamer+decodebin(24441): 0:00:01.672340834 0x9f730cf0 gstdecodebin2.c:4216:source_pad_blocked_cb:<decodebin0> expose locking from thread 0x9f730cf0 decodebin_hw_pip.log:11808: V/GStreamer+decodebin(24441): 0:00:01.672396927 0x9f730cf0 gstdecodebin2.c:4216:source_pad_blocked_cb:<decodebin0> expose locked from thread 0x9f730cf0 decodebin_hw_pip.log:11809: V/GStreamer+decodebin(24441): 0:00:01.672454740 0x9f730cf0 gstdecodebin2.c:3404:gst_decode_chain_is_complete:<decodebin0> locking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:11810: V/GStreamer+decodebin(24441): 0:00:01.672511198 0x9f730cf0 gstdecodebin2.c:3404:gst_decode_chain_is_complete:<decodebin0> locked chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:11811: V/GStreamer+decodebin(24441): 0:00:01.672567813 0x9f730cf0 gstdecodebin2.c:3427:gst_decode_chain_is_complete:<decodebin0> unlocking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:11812: D/GStreamer+decodebin(24441): 0:00:01.672625729 0x9f730cf0 gstdecodebin2.c:3428:gst_decode_chain_is_complete:<decodebin0> Chain 0x9f743ee0 is complete: 1 decodebin_hw_pip.log:11813: D/GStreamer+decodebin(24441): 0:00:01.672679584 0x9f730cf0 gstdecodebin2.c:3954:gst_decode_bin_expose:<decodebin0> Exposing currently active chains/groups decodebin_hw_pip.log:11814: V/GStreamer+decodebin(24441): 0:00:01.672734219 0x9f730cf0 gstdecodebin2.c:3957:gst_decode_bin_expose:<decodebin0> dynlocking from thread 0x9f730cf0 decodebin_hw_pip.log:11815: V/GStreamer+decodebin(24441): 0:00:01.672788750 0x9f730cf0 gstdecodebin2.c:3957:gst_decode_bin_expose:<decodebin0> dynlocked from thread 0x9f730cf0 decodebin_hw_pip.log:11816: V/GStreamer+decodebin(24441): 0:00:01.672843177 0x9f730cf0 gstdecodebin2.c:3963:gst_decode_bin_expose:<decodebin0> dynunlocking from thread 0x9f730cf0 decodebin_hw_pip.log:11817: D/GStreamer+decodebin(24441): 0:00:01.672904271 0x9f730cf0 gstdecodebin2.c:4030:gst_decode_bin_expose:<decodebin0> About to expose dpad decodepad0 as src_0 decodebin_hw_pip.log:11818: D/GStreamer+decodebin(24441): 0:00:01.672963959 0x9f730cf0 gstdecodebin2.c:3940:debug_sticky_event:<'':src_0> sticky event stream-start decodebin_hw_pip.log:11819: D/GStreamer+decodebin(24441): 0:00:01.673023959 0x9f730cf0 gstdecodebin2.c:3940:debug_sticky_event:<'':src_0> sticky event caps decodebin_hw_pip.log:12093: I/GStreamer+decodebin(24441): 0:00:01.693627708 0x9f730cf0 gstdecodebin2.c:4049:gst_decode_bin_expose:<decodebin0:src_0> added new decoded pad decodebin_hw_pip.log:12094: V/GStreamer+decodebin(24441): 0:00:01.693682761 0x9f730cf0 gstdecodebin2.c:4054:gst_decode_bin_expose:<decodebin0> signaling no-more-pads decodebin_hw_pip.log:12095: D/GStreamer+decodebin(24441): 0:00:01.693739792 0x9f730cf0 gstdecodebin2.c:4066:gst_decode_bin_expose:<decodebin0:src_0> unblocking decodebin_hw_pip.log:12096: V/GStreamer+decodebin(24441): 0:00:01.693795573 0x9f730cf0 gstdecodebin2.c:4261:gst_decode_pad_set_blocked:<decodebin0> dynlocking from thread 0x9f730cf0 decodebin_hw_pip.log:12097: V/GStreamer+decodebin(24441): 0:00:01.693852865 0x9f730cf0 gstdecodebin2.c:4261:gst_decode_pad_set_blocked:<decodebin0> dynlocked from thread 0x9f730cf0 decodebin_hw_pip.log:12098: D/GStreamer+decodebin(24441): 0:00:01.693910990 0x9f730cf0 gstdecodebin2.c:4263:gst_decode_pad_set_blocked:<decodebin0:src_0> blocking pad: 0 decodebin_hw_pip.log:12103: V/GStreamer+decodebin(24441): 0:00:01.694224896 0x9f730cf0 gstdecodebin2.c:4309:gst_decode_pad_set_blocked:<decodebin0> dynunlocking from thread 0x9f730cf0 decodebin_hw_pip.log:12104: D/GStreamer+decodebin(24441): 0:00:01.694279115 0x9f730cf0 gstdecodebin2.c:4068:gst_decode_bin_expose:<decodebin0:src_0> unblocked decodebin_hw_pip.log:12149: D/GStreamer+decodebin(24441): 0:00:01.696933646 0x9f730cf0 gstdecodebin2.c:4074:gst_decode_bin_expose:<decodebin0> Exposed everything decodebin_hw_pip.log:12150: V/GStreamer+decodebin(24441): 0:00:01.697041667 0x9f730cf0 gstdecodebin2.c:4221:source_pad_blocked_cb:<decodebin0> expose unlocking from thread 0x9f730cf0 decodebin_hw_pip.log:12161: V/GStreamer+decodebin(24441): 0:00:01.697729062 0x9f730cf0 gstdecodebin2.c:4342:gst_decode_pad_query:<decodebin0> locking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:12162: V/GStreamer+decodebin(24441): 0:00:01.697785989 0x9f730cf0 gstdecodebin2.c:4342:gst_decode_pad_query:<decodebin0> locked chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:12163: V/GStreamer+decodebin(24441): 0:00:01.697842552 0x9f730cf0 gstdecodebin2.c:4361:gst_decode_pad_query:<decodebin0> unlocking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:12242: V/GStreamer+decodebin(24441): 0:00:01.704154583 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> stream-start dpad:0x9f0310b8 decodebin_hw_pip.log:12272: V/GStreamer+decodebin(24441): 0:00:01.706256094 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> caps dpad:0x9f0310b8 decodebin_hw_pip.log:12423: V/GStreamer+decodebin(24441): 0:00:01.718443385 0x9f730cf0 gstdecodebin2.c:4342:gst_decode_pad_query:<decodebin0> locking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:12424: V/GStreamer+decodebin(24441): 0:00:01.718502031 0x9f730cf0 gstdecodebin2.c:4342:gst_decode_pad_query:<decodebin0> locked chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:12425: V/GStreamer+decodebin(24441): 0:00:01.718561979 0x9f730cf0 gstdecodebin2.c:4361:gst_decode_pad_query:<decodebin0> unlocking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:12506: V/GStreamer+decodebin(24441): 0:00:01.724406094 0x9f730cf0 gstdecodebin2.c:4342:gst_decode_pad_query:<decodebin0> locking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:12507: V/GStreamer+decodebin(24441): 0:00:01.724464271 0x9f730cf0 gstdecodebin2.c:4342:gst_decode_pad_query:<decodebin0> locked chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:12508: V/GStreamer+decodebin(24441): 0:00:01.724522760 0x9f730cf0 gstdecodebin2.c:4361:gst_decode_pad_query:<decodebin0> unlocking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:13739: V/GStreamer+decodebin(24441): 0:00:01.875799687 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> segment dpad:0x9f0310b8 decodebin_hw_pip.log:13813: V/GStreamer+decodebin(24441): 0:00:01.880993593 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> tag dpad:0x9f0310b8 decodebin_hw_pip.log:13882: V/GStreamer+decodebin(24441): 0:00:01.887235364 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> tag dpad:0x9f0310b8 decodebin_hw_pip.log:15248: V/GStreamer+decodebin(24441): 0:00:02.164432500 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> tag dpad:0x9f0310b8 decodebin_hw_pip.log:15585: V/GStreamer+decodebin(24441): 0:00:02.204298698 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> tag dpad:0x9f0310b8 decodebin_hw_pip.log:17876: V/GStreamer+decodebin(24441): 0:00:04.104247447 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> tag dpad:0x9f0310b8 decodebin_hw_pip.log:20384: V/GStreamer+decodebin(24441): 0:00:08.062343279 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> tag dpad:0x9f0310b8 decodebin_hw_pip.log:21283: V/GStreamer+decodebin(24441): 0:00:09.806595934 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> tag dpad:0x9f0310b8 decodebin_hw_pip.log:23035: V/GStreamer+decodebin(24441): 0:00:12.507009162 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> tag dpad:0x9f0310b8 decodebin_hw_pip.log:23536: V/GStreamer+decodebin(24441): 0:00:13.050943225 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> tag dpad:0x9f0310b8 decodebin_hw_pip.log:25230: V/GStreamer+decodebin(24441): 0:00:15.944696349 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> tag dpad:0x9f0310b8 decodebin_hw_pip.log:30628: V/GStreamer+decodebin(24441): 0:00:25.875384991 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> tag dpad:0x9f0310b8 decodebin_hw_pip.log:43361: V/GStreamer+decodebin(24441): 0:00:49.296751805 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> tag dpad:0x9f0310b8 decodebin_hw_pip.log:49430: V/GStreamer+decodebin(24441): 0:01:00.834437478 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> tag dpad:0x9f0310b8 decodebin_hw_pip.log:62915: V/GStreamer+decodebin(24441): 0:01:27.294487780 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> tag dpad:0x9f0310b8 decodebin_hw_pip.log:69031: V/GStreamer+decodebin(24441): 0:01:39.451027619 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> tag dpad:0x9f0310b8 decodebin_hw_pip.log:111031: V/GStreamer+decodebin(24441): 0:03:25.364786224 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> tag dpad:0x9f0310b8 decodebin_hw_pip.log:146416: V/GStreamer+decodebin(24441): 0:04:58.675960772 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> tag dpad:0x9f0310b8 decodebin_hw_pip.log:181987: V/GStreamer+decodebin(24441): 0:06:38.684452401 0x9f730cf0 gstdecodebin2.c:4235:source_pad_event_probe:<decodebin0:src_0> eos dpad:0x9f0310b8 decodebin_hw_pip.log:181988: D/GStreamer+decodebin(24441): 0:06:38.684519641 0x9f730cf0 gstdecodebin2.c:4238:source_pad_event_probe:<decodebin0:src_0> we received EOS decodebin_hw_pip.log:181989: V/GStreamer+decodebin(24441): 0:06:38.684588964 0x9f730cf0 gstdecodebin2.c:3578:gst_decode_pad_handle_eos:<decodebin0> pad 0x9f0310b8 decodebin_hw_pip.log:181990: D/GStreamer+decodebin(24441): 0:06:38.684656359 0x9f730cf0 gstdecodebin2.c:3495:drain_and_switch_chains Checking chain 0x9f743ee0 (target pad decodebin0:src_0) decodebin_hw_pip.log:181991: V/GStreamer+decodebin(24441): 0:06:38.684721047 0x9f730cf0 gstdecodebin2.c:3497:drain_and_switch_chains:<decodebin0> locking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:181992: V/GStreamer+decodebin(24441): 0:06:38.684789641 0x9f730cf0 gstdecodebin2.c:3497:drain_and_switch_chains:<decodebin0> locked chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:181993: D/GStreamer+decodebin(24441): 0:06:38.684848182 0x9f730cf0 gstdecodebin2.c:3507:drain_and_switch_chains Found the target chain decodebin_hw_pip.log:181994: V/GStreamer+decodebin(24441): 0:06:38.684912297 0x9f730cf0 gstdecodebin2.c:3554:drain_and_switch_chains:<decodebin0> unlocking chain 0x9f743ee0 from thread 0x9f730cf0 decodebin_hw_pip.log:181995: D/GStreamer+decodebin(24441): 0:06:38.684980005 0x9f730cf0 gstdecodebin2.c:3557:drain_and_switch_chains Chain 0x9f743ee0 (handled:1, last_group:1, drained:1, switched:0) decodebin_hw_pip.log:184914: V/GStreamer+decodebin(24441): 0:06:47.464216564 0xaecf6e60 gstdecodebin2.c:4541:gst_decode_bin_change_state:<decodebin0> dynlocking from thread 0xaecf6e60 decodebin_hw_pip.log:184915: V/GStreamer+decodebin(24441): 0:06:47.464294376 0xaecf6e60 gstdecodebin2.c:4541:gst_decode_bin_change_state:<decodebin0> dynlocked from thread 0xaecf6e60 decodebin_hw_pip.log:184916: V/GStreamer+decodebin(24441): 0:06:47.464369220 0xaecf6e60 gstdecodebin2.c:4542:gst_decode_bin_change_state:<decodebin0> setting shutdown flag decodebin_hw_pip.log:184917: V/GStreamer+decodebin(24441): 0:06:47.464444324 0xaecf6e60 gstdecodebin2.c:4475:unblock_pads:<decodebin0> unblocking pads decodebin_hw_pip.log:184918: V/GStreamer+decodebin(24441): 0:06:47.464522033 0xaecf6e60 gstdecodebin2.c:4545:gst_decode_bin_change_state:<decodebin0> dynunlocking from thread 0xaecf6e60 decodebin_hw_pip.log:185295: V/GStreamer+decodebin(24441): 0:06:47.542835835 0xaecf6e60 gstdecodebin2.c:4564:gst_decode_bin_change_state:<decodebin0> expose locking from thread 0xaecf6e60 decodebin_hw_pip.log:185296: V/GStreamer+decodebin(24441): 0:06:47.542905679 0xaecf6e60 gstdecodebin2.c:4564:gst_decode_bin_change_state:<decodebin0> expose locked from thread 0xaecf6e60 decodebin_hw_pip.log:185297: V/GStreamer+decodebin(24441): 0:06:47.542979324 0xaecf6e60 gstdecodebin2.c:2890:gst_decode_chain_free_internal:<decodebin0> locking chain 0x9f743ee0 from thread 0xaecf6e60 decodebin_hw_pip.log:185298: V/GStreamer+decodebin(24441): 0:06:47.543050106 0xaecf6e60 gstdecodebin2.c:2890:gst_decode_chain_free_internal:<decodebin0> locked chain 0x9f743ee0 from thread 0xaecf6e60 decodebin_hw_pip.log:185299: D/GStreamer+decodebin(24441): 0:06:47.543121668 0xaecf6e60 gstdecodebin2.c:2893:gst_decode_chain_free_internal:<decodebin0> Freeing chain 0x9f743ee0 decodebin_hw_pip.log:185348: V/GStreamer+decodebin(24441): 0:06:47.547478595 0xaecf6e60 gstdecodebin2.c:2958:gst_decode_chain_free_internal:<decodebin0> subtitle locking from thread 0xaecf6e60 decodebin_hw_pip.log:185349: V/GStreamer+decodebin(24441): 0:06:47.547546616 0xaecf6e60 gstdecodebin2.c:2958:gst_decode_chain_free_internal:<decodebin0> subtitle lock from thread 0xaecf6e60 decodebin_hw_pip.log:185350: V/GStreamer+decodebin(24441): 0:06:47.547616303 0xaecf6e60 gstdecodebin2.c:2961:gst_decode_chain_free_internal:<decodebin0> subtitle unlocking from thread 0xaecf6e60 decodebin_hw_pip.log:185431: V/GStreamer+decodebin(24441): 0:06:47.554066928 0xaecf6e60 gstdecodebin2.c:2958:gst_decode_chain_free_internal:<decodebin0> subtitle locking from thread 0xaecf6e60 decodebin_hw_pip.log:185432: V/GStreamer+decodebin(24441): 0:06:47.554137085 0xaecf6e60 gstdecodebin2.c:2958:gst_decode_chain_free_internal:<decodebin0> subtitle lock from thread 0xaecf6e60 decodebin_hw_pip.log:185433: V/GStreamer+decodebin(24441): 0:06:47.554361408 0xaecf6e60 gstdecodebin2.c:2961:gst_decode_chain_free_internal:<decodebin0> subtitle unlocking from thread 0xaecf6e60 decodebin_hw_pip.log:185458: D/GStreamer+decodebin(24441): 0:06:47.556454324 0xaecf6e60 gstdecodebin2.c:3010:gst_decode_chain_free_internal:<decodebin0> Freed chain 0x9f743ee0 decodebin_hw_pip.log:185459: V/GStreamer+decodebin(24441): 0:06:47.556524585 0xaecf6e60 gstdecodebin2.c:3011:gst_decode_chain_free_internal:<decodebin0> unlocking chain 0x9f743ee0 from thread 0xaecf6e60 decodebin_hw_pip.log:185460: V/GStreamer+decodebin(24441): 0:06:47.556595678 0xaecf6e60 gstdecodebin2.c:4569:gst_decode_bin_change_state:<decodebin0> expose unlocking from thread 0xaecf6e60 It would be great if we get some inputs or help to resolve this issue or gstreamer has fixed this issue in any of recent release. Thanks in advance Regards, -Umashankar |
On Do, 2016-03-10 at 17:31 -0800, Chikkamath wrote:
> Hello Everyone, > We're facing trouble in accessing hardware codecs (encoders as well as > decoders) for example > amcviddec-omxqcomvideodecoderavc,amcviddec-omxexynosavcdec > amcviddec-omxgoogleh264decoder amcvidenc-omxqcomvideoencoderavc > amcvidenc-omxgoogleh264encoder amcvidenc-omxexynosavcenc on Android 5.0 > smart phones specifically Samsung Android phones with exynos and qualcomm > hardware chipsets. We're able to access hardware codecs without any issue on > Android 4.3 and 4.4 Please note we've developed app on Android 4.2 using > gstreamer release(cerbero SDK) 1.3 and recently we have updated our app with > gstreamer release 1.5 and everything works fine. But now we are facing > serious issue of accessing hardware codecs on Android 5.0 and higher. Not > accessing hardware codecs for decoding and encoding is affecting performance > of our app very badly, Spl in cases of HD videos 720P and 1080P. Which phones are this specifically? It seems to work just fine here. Which version of GStreamer are you testing? It might also make sense to test with playbin and 1.7.90. In any case, can you get logs with amc*:7 and attach them? With 1.7.90, and using playbin once, and "uridecodebin ! glimagesink" another time? -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Hi Sebastian
We found issue on Samsung Galaxy S4 Model GT-I9506, Android Version 5.0.1 (Original Stock OS of Samsung S4 was 4.3 and it's updated to 5.0.1) Other details Qualcomm Snapdragon800 2.27GHz, Cores 4, Kernel Architecture armv7l. Gstemer version is 1.4.0 (commit 85ecdfbfc8968ae417b798804239c22e50be38df ) As you suggested we'll test with playbin and 1.7.90 and also will share "amc" logs. Thanks, -Umashankar |
In reply to this post by Sebastian Dröge-3
Hi Sebastian,
With gstreamer release 1.7.90 we are able to access hardware codecs on Android 5.0 versions. However our QA found playback issue of media file. Media file generated from gstreamer pipeline will playback smoothly on native player of the device. Here testing device is Samsung Galaxy S4 (Model GT-I9506) but other apps failed to playback the media file for example Google Photos. After debugging it has been found that issue isn't with pipeline but it's related to NALU syntax of video stream generated by Hardware encoder.To confirm this earlier hardware encoder (gstreamer release 1.4) has bitstream syntax where as we can find SPS followed by PPS and CODED_SLICE_IDR and with gstreamer release 1.7.90 we can observe repeated SPS, PPS in first NALU unit i.e AvcSample(0) NALU unit has SPS followed by PPS again SPS followed PPS then CODED_SLICE_IDR. Decoder suppose to ignore repeated SPS and PPS parameters. This could be one of reason gstreamer 1.7.90 Video stream could be not playback with Google Photos app and also failed to playback with most of other apps. Thanks, -Umashankar For your reference I've attached the screen shot of ISO-VIEWER |
On Di, 2016-04-05 at 09:34 -0700, Chikkamath wrote:
> Hi Sebastian, > With gstreamer release 1.7.90 we are able to access hardware codecs on > Android 5.0 versions. However our QA found playback issue of media file. > Media file generated from gstreamer pipeline will playback smoothly on > native player of the device. Here testing device is Samsung Galaxy S4 (Model > GT-I9506) but other apps failed to playback the media file for example > Google Photos. After debugging it has been found that issue isn't with > pipeline but it's related to NALU syntax of video stream generated by > Hardware encoder.To confirm this earlier hardware encoder (gstreamer release > 1.4) has bitstream syntax where as we can find SPS followed by PPS and > CODED_SLICE_IDR and with gstreamer release 1.7.90 we can observe repeated > SPS, PPS in first NALU unit i.e AvcSample(0) NALU unit has SPS followed by > PPS again SPS followed PPS then CODED_SLICE_IDR. Decoder suppose to ignore > repeated SPS and PPS parameters. This could be one of reason gstreamer > 1.7.90 Video stream could be not playback with Google Photos app and also > failed to playback with most of other apps. the beginning, and with 1.8 we duplicate the SPS/PPS before every keyframe? And your decoder is failing because of those duplicated SPS/PPS? Which encoder are you using here again? Are you using h264parse? Please report a bug about this with all those information and ideally also two sample streams here: https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Hi Sebastian,
Bug id 764714 and your understanding is correct i.e 1.4 we generated a stream that only had a single SPS/PPS in the beginning, and with 1.8 we duplicate the SPS/PPS. I'm using the hardware encoder omxqcomvideoencoderavc and h264parse in the pipeline. Thanks, -Umashankar |
Free forum by Nabble | Edit this page |