Pipeline blocked from ready to paused

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Pipeline blocked from ready to paused

Xinheng
I have an app android to play hls streams from Wowza. My pipeline works fine in most cases but when I test it on Android 7 for some special streams, the pipeline just hangs on ready state without any error. It never gets into paused state.

These special streams have low fps (about 5). For now, Android 7 and these special streams is the only condition to make my pipeline hang.

Here is the log when it works fine:

07-18 14:30:33.945 V/GStreamer+tsdemux: 0:00:35.554711642 0xb339ba30 tsdemux.c:2156:gst_ts_demux_queue_data CONTINUITY: Got expected 10
07-18 14:30:33.945 V/GStreamer+tsdemux: 0:00:35.554779434 0xb339ba30 tsdemux.c:2186:gst_ts_demux_queue_data BUFFER: appending data
07-18 14:30:33.945 V/GStreamer+tsdemux: 0:00:35.554845601 0xb339ba30 tsdemux.c:2716:gst_ts_demux_handle_packet current_size:386, expected_size:386
07-18 14:30:33.945 V/GStreamer+tsdemux: 0:00:35.554910517 0xb339ba30 tsdemux.c:2719:gst_ts_demux_handle_packet pushing complete packet
07-18 14:30:33.945 D/GStreamer+tsdemux: 0:00:35.554993767 0xb339ba30 tsdemux.c:2471:gst_ts_demux_push_pending_data:<u:audio_0101> stream:0xae5a4200, pid:0x0101 stream_type:15 state:2
07-18 14:30:33.945 D/GStreamer+tsdemux: 0:00:35.555092809 0xb339ba30 tsdemux.c:2625:gst_ts_demux_push_pending_data:<u:audio_0101> stream->pts 0:00:01.487000000
07-18 14:30:33.945 D/GStreamer+tsdemux: 0:00:35.555187976 0xb339ba30 tsdemux.c:2646:gst_ts_demux_push_pending_data:<u:audio_0101> Pushing buffer with PTS: 0:00:01.487000000 , DTS: 99:99:99.999999999
07-18 14:30:33.975 D/libGLESv2: STS_GLApi : DTS is not allowed for Package : com.interactivelayer.gstreamersampleapp
                               
                                [ 07-18 14:30:34.000 23465:24270 W/         ]
                                GLES OOM error: failed to allocate CPU memory (gles2_queryp_begin_query_internal at hardware/samsung_slsi/Ares-r7p0-DDK/product/gles/src/query/mali_gles2_query_api.c:289)
                               
                               
                                [ 07-18 14:30:34.000 23465:24270 W/         ]
                                GLES OOM error: failed to allocate CPU memory (gles2_queryp_begin_query_internal at hardware/samsung_slsi/Ares-r7p0-DDK/product/gles/src/query/mali_gles2_query_api.c:289)
                               
                               
                                [ 07-18 14:30:34.000 23465:24270 W/         ]
                                GLES OOM error: failed to allocate CPU memory (gles2_queryp_begin_query_internal at hardware/samsung_slsi/Ares-r7p0-DDK/product/gles/src/query/mali_gles2_query_api.c:289)
07-18 14:30:34.010 D/mali_winsys: new_window_surface returns 0x3000,  [1600x1200]-format:2
07-18 14:30:34.045 D/GStreamer+player: 0:00:35.657326726 0x990b5680 jni/player.c:112:set_ui_message Setting message to: State changed to PAUSED
07-18 14:30:34.045 I/GStreamer: GStreamer message: State changed to PAUSED
07-18 14:30:34.045 D/GStreamer+tsdemux: 0:00:35.658348600 0xae61b720 tsdemux.c:529:gst_ts_demux_srcpad_query query latency


Here is the log when it hangs:

07-18 11:08:37.952 V/GStreamer+tsdemux: 0:00:06.979890226 0x7a6478da30 tsdemux.c:2147:gst_ts_demux_queue_data pid: 0x0101 state:2
07-18 11:08:37.952 V/GStreamer+tsdemux: 0:00:06.979928149 0x7a6478da30 tsdemux.c:2156:gst_ts_demux_queue_data CONTINUITY: Got expected 10
07-18 11:08:37.952 V/GStreamer+tsdemux: 0:00:06.979960726 0x7a6478da30 tsdemux.c:2186:gst_ts_demux_queue_data BUFFER: appending data
07-18 11:08:37.952 V/GStreamer+tsdemux: 0:00:06.979997533 0x7a6478da30 tsdemux.c:2716:gst_ts_demux_handle_packet current_size:386, expected_size:386
07-18 11:08:37.952 V/GStreamer+tsdemux: 0:00:06.980028957 0x7a6478da30 tsdemux.c:2719:gst_ts_demux_handle_packet pushing complete packet
07-18 11:08:37.952 D/GStreamer+tsdemux: 0:00:06.980075380 0x7a6478da30 tsdemux.c:2471:gst_ts_demux_push_pending_data:<u:audio_0101> stream:0x7a329f2400, pid:0x0101 stream_type:15 state:2
07-18 11:08:37.953 D/GStreamer+tsdemux: 0:00:06.980128418 0x7a6478da30 tsdemux.c:2625:gst_ts_demux_push_pending_data:<u:audio_0101> stream->pts 0:00:01.487000000
07-18 11:08:37.953 D/GStreamer+tsdemux: 0:00:06.980185572 0x7a6478da30 tsdemux.c:2646:gst_ts_demux_push_pending_data:<u:audio_0101> Pushing buffer with PTS: 0:00:01.487000000 , DTS: 99:99:99.999999999

One continues after "Pushing buffer with PTS: 0:00:01.487000000 , DTS: 99:99:99.999999999" while another one stops from there forever.

Could anyone give me some hints to let me understand it? Thanks in advance.
Loading...