<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
First of all thanks for your fast reply, here's the debug log with
level 6:<br>
<br>
<blockquote><small>D/GStreamer+mpegts(16393): 0:00:05.820160711
0x9e236660 gstmpegtssection.c:657:_parse_pmt Parsing 100 Program
Map Table
</small><br>
<small>D/GStreamer+mpegts(16393): 0:00:05.820202044 0x9e236660
gstmpegtssection.c:694:_parse_pmt [0] Stream type 0x1b found
</small><br>
<small>D/GStreamer+mpegts(16393): 0:00:05.820241711 0x9e236660
gstmpegtssection.c:694:_parse_pmt [1] Stream type 0x0f found
</small><br>
<small>D/GStreamer+mpegtsbase(16393): 0:00:05.820281211 0x9e236660
mpegtsbase.c:840:mpegts_base_apply_pmt Applying PMT
(program_number:100, pid:0x0064)
</small><br>
<small>D/GStreamer+mpegtsbase(16393): 0:00:05.820322253 0x9e236660
mpegtsbase.c:518:mpegts_base_is_same_program Different pcr_pid
(new:0x0065, old:0xffff)
</small><br>
<small>D/GStreamer+mpegtsbase(16393): 0:00:05.820360336 0x9e236660
mpegtsbase.c:636:mpegts_base_activate_program Activating program
100
</small><br>
<small>D/GStreamer+mpegtsbase(16393): 0:00:05.820406336 0x9e236660
mpegtsbase.c:651:mpegts_base_activate_program program 0x0064,
registration_id 00000000 (....)
</small><br>
<small>D/GStreamer+mpegtsbase(16393): 0:00:05.820446461 0x9e236660
mpegtsbase.c:446:mpegts_base_program_add_stream pid:0x0065,
stream_type:0x01b
</small><br>
<small>D/GStreamer+mpegtsbase(16393): 0:00:05.820499044 0x9e236660
mpegtsbase.c:462:mpegts_base_program_add_stream PID 0x0065,
registration_id 00000000 (....)
</small><br>
<small>I/GLib+stdout(16393): 7 - gst_ts_demux_stream_added
</small><br>
<small>I/GLib+stdout(16393): Create a pad
</small><br>
<small>D/GStreamer+mpegtsbase(16393): 0:00:05.820569711 0x9e236660
mpegtsbase.c:276:mpegts_get_descriptor_from_stream Searching for
tag 0x0a in stream 0x0065 (stream_type 0x1b)
</small><br>
<small>D/GStreamer+mpegtsbase(16393): 0:00:05.820609544 0x9e236660
mpegtsbase.c:276:mpegts_get_descriptor_from_stream Searching for
tag 0x59 in stream 0x0065 (stream_type 0x1b)
</small><br>
<small>V/GStreamer+tsdemux(16393): 0:00:05.820658919 0x9e236660
tsdemux.c:1131:create_pad_for_stream Attempting to create pad
for stream 0x0065 with stream_type 27
</small><br>
<small>V/GStreamer+tsdemux(16393): 0:00:05.820802794 0x9e236660
tsdemux.c:1445:create_pad_for_stream stream:0xaf0a2300 creating
pad with name video_0065 and caps video/x-h264,
stream-format=(string)byte-stream, alignment=(string)nal
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.820893669 0x9e236660
gstpad.c:1055:gst_pad_set_active:<'':video_0065>
activating pad from none
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.820945794 0x9e236660
gstpad.c:971:pre_activate:<'':video_0065> setting pad into
push mode, unset flushing
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.820995878 0x9e236660
gstpad.c:1197:gst_pad_activate_mode:<'':video_0065>
activated in push mode
</small><br>
<small>I/GStreamer+GST_ELEMENT_PADS(16393): 0:00:05.821050086
0x9e236660 gstelement.c:897:gst_element_get_static_pad found pad
demux:sink
</small><br>
<small>D/GStreamer+GST_EVENT(16393): 0:00:05.821119586 0x9e236660
gstevent.c:302:gst_event_new_custom creating new event
0xaf059dd8 stream-start 10254
</small><br>
<small>V/GStreamer+GST_PADS(16393): 0:00:05.821170253 0x9e236660
gstpad.c:4901:store_sticky_event:<'':video_0065> Removing
pending EOS events
</small><br>
<small>V/GStreamer+GST_PADS(16393): 0:00:05.821217961 0x9e236660
gstpad.c:4960:store_sticky_event:<'':video_0065> stored
sticky event stream-start
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.821268878 0x9e236660
gstpad.c:3747:check_sticky:<'':video_0065> pushing all
sticky events
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.821324044 0x9e236660
gstpad.c:5179:gst_pad_push_event_unchecked:<'':video_0065>
Dropping event stream-start because pad is not linked
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.821373128 0x9e236660
gstpad.c:3718:push_sticky:<'':video_0065> pad was not
linked, mark pending
</small><br>
<small>I/GStreamer+GST_EVENT(16393): 0:00:05.821463919 0x9e236660
gstevent.c:679:gst_event_new_caps creating caps event
video/x-h264, stream-format=(string)byte-stream,
alignment=(string)nal
</small><br>
<small>D/GStreamer+GST_EVENT(16393): 0:00:05.821518419 0x9e236660
gstevent.c:302:gst_event_new_custom creating new event
0xaf059e20 caps 12814
</small><br>
<small>V/GStreamer+GST_PADS(16393): 0:00:05.821571544 0x9e236660
gstpad.c:4960:store_sticky_event:<'':video_0065> stored
sticky event caps
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.821618794 0x9e236660
gstpad.c:4966:store_sticky_event:<'':video_0065> notify
caps
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.822378753 0x9e236660
gstpad.c:3747:check_sticky:<'':video_0065> pushing all
sticky events
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.822447836 0x9e236660
gstpad.c:3679:push_sticky:<'':video_0065> event
stream-start was already received
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.822511253 0x9e236660
gstpad.c:5179:gst_pad_push_event_unchecked:<'':video_0065>
Dropping event caps because pad is not linked
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.822563003 0x9e236660
gstpad.c:3718:push_sticky:<'':video_0065> pad was not
linked, mark pending
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.823260628 0x9e236660
gstpad.c:1851:gst_pad_set_query_function_full:<'':video_0065>
queryfunc set to 0x9f49abc1
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.823732961 0x9e236660
gstpad.c:1818:gst_pad_set_event_function_full:<'':video_0065>
eventfunc for set to 0x9f49aaa9
</small><br>
<small>D/GStreamer+mpegtsbase(16393): 0:00:05.823804253 0x9e236660
mpegtsbase.c:446:mpegts_base_program_add_stream pid:0x0066,
stream_type:0x00f
</small><br>
<small>D/GStreamer+mpegtsbase(16393): 0:00:05.823859419 0x9e236660
mpegtsbase.c:462:mpegts_base_program_add_stream PID 0x0066,
registration_id 00000000 (....)
</small><br>
<small>I/GLib+stdout(16393): 7 - gst_ts_demux_stream_added
</small><br>
<small>I/GLib+stdout(16393): Create a pad
</small><br>
<small>D/GStreamer+mpegtsbase(16393): 0:00:05.823926419 0x9e236660
mpegtsbase.c:276:mpegts_get_descriptor_from_stream Searching for
tag 0x0a in stream 0x0066 (stream_type 0x0f)
</small><br>
<small>D/GStreamer+mpegtsbase(16393): 0:00:05.823971294 0x9e236660
mpegtsbase.c:276:mpegts_get_descriptor_from_stream Searching for
tag 0x59 in stream 0x0066 (stream_type 0x0f)
</small><br>
<small>V/GStreamer+tsdemux(16393): 0:00:05.824013544 0x9e236660
tsdemux.c:1131:create_pad_for_stream Attempting to create pad
for stream 0x0066 with stream_type 15
</small><br>
<small>V/GStreamer+tsdemux(16393): 0:00:05.824198086 0x9e236660
tsdemux.c:1445:create_pad_for_stream stream:0xaf0a2240 creating
pad with name audio_0066 and caps audio/mpeg,
mpegversion=(int)2, stream-format=(string)adts
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.824301419 0x9e236660
gstpad.c:1055:gst_pad_set_active:<'':audio_0066>
activating pad from none
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.824353128 0x9e236660
gstpad.c:971:pre_activate:<'':audio_0066> setting pad into
push mode, unset flushing
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.824403586 0x9e236660
gstpad.c:1197:gst_pad_activate_mode:<'':audio_0066>
activated in push mode
</small><br>
<small>I/GStreamer+GST_ELEMENT_PADS(16393): 0:00:05.824464961
0x9e236660 gstelement.c:897:gst_element_get_static_pad found pad
demux:sink
</small><br>
<small>D/GStreamer+GST_EVENT(16393): 0:00:05.824523044 0x9e236660
gstevent.c:302:gst_event_new_custom creating new event
0xaf059e68 stream-start 10254
</small><br>
<small>V/GStreamer+GST_PADS(16393): 0:00:05.824568544 0x9e236660
gstpad.c:4901:store_sticky_event:<'':audio_0066> Removing
pending EOS events
</small><br>
<small>V/GStreamer+GST_PADS(16393): 0:00:05.826548128 0x9e236660
gstpad.c:4960:store_sticky_event:<'':audio_0066> stored
sticky event stream-start
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.826614628 0x9e236660
gstpad.c:3747:check_sticky:<'':audio_0066> pushing all
sticky events
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.826671044 0x9e236660
gstpad.c:5179:gst_pad_push_event_unchecked:<'':audio_0066>
Dropping event stream-start because pad is not linked
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.826720836 0x9e236660
gstpad.c:3718:push_sticky:<'':audio_0066> pad was not
linked, mark pending
</small><br>
<small>I/GStreamer+GST_EVENT(16393): 0:00:05.826791961 0x9e236660
gstevent.c:679:gst_event_new_caps creating caps event
audio/mpeg, mpegversion=(int)2, stream-format=(string)adts
</small><br>
<small>D/GStreamer+GST_EVENT(16393): 0:00:05.826841419 0x9e236660
gstevent.c:302:gst_event_new_custom creating new event
0xaf059eb0 caps 12814
</small><br>
<small>V/GStreamer+GST_PADS(16393): 0:00:05.826887294 0x9e236660
gstpad.c:4960:store_sticky_event:<'':audio_0066> stored
sticky event caps
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.826936044 0x9e236660
gstpad.c:4966:store_sticky_event:<'':audio_0066> notify
caps
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.826991544 0x9e236660
gstpad.c:3747:check_sticky:<'':audio_0066> pushing all
sticky events
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.827037461 0x9e236660
gstpad.c:3679:push_sticky:<'':audio_0066> event
stream-start was already received
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.829128586 0x9e236660
gstpad.c:5179:gst_pad_push_event_unchecked:<'':audio_0066>
Dropping event caps because pad is not linked
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.829180544 0x9e236660
gstpad.c:3718:push_sticky:<'':audio_0066> pad was not
linked, mark pending
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.831112211 0x9e236660
gstpad.c:1851:gst_pad_set_query_function_full:<'':audio_0066>
queryfunc set to 0x9f49abc1
</small><br>
<small>D/GStreamer+GST_PADS(16393): 0:00:05.831169336 0x9e236660
gstpad.c:1818:gst_pad_set_event_function_full:<'':audio_0066>
eventfunc for set to 0x9f49aaa9
</small><br>
<small>D/GStreamer+mpegtsbase(16393): 0:00:05.831219794 0x9e236660
mpegtsbase.c:446:mpegts_base_program_add_stream pid:0x0065,
stream_type:0x0ff
</small><br>
<small>I/GLib+stdout(16393): 1 - gst_ts_demux_program_started
</small><br>
<small>D/GStreamer+tsdemux(16393): 0:00:05.831277711 0x9e236660
tsdemux.c:1681:gst_ts_demux_program_started Current program -1,
new program 100 requested program -1
</small><br>
<small>V/GStreamer+tsdemux(16393): 0:00:05.831323461 0x9e236660
tsdemux.c:1687:gst_ts_demux_program_started program 100 started
</small><br>
<small>D/GStreamer+tsdemux(16393): 0:00:05.831374169 0x9e236660
tsdemux.c:1596:activate_pad_for_stream:<demux> Activating
pad '':video_0065 for stream 0xaf0a2300
</small><br>
<small>I/GStreamer+GST_ELEMENT_PADS(16393): 0:00:05.831427128
0x9e236660 gstelement.c:646:gst_element_add_pad:<demux>
adding pad 'video_0065'
</small><br>
<small>D/GStreamer+GST_REFCOUNTING(16393): 0:00:05.831483003
0x9e236660
gstobject.c:692:gst_object_set_parent:<'':video_0065> set
parent (ref and sink)
</small><br>
<small>I/GLib+stdout(16393): In dynamic ADDING PAD video_0065
</small><br>
<small>I/GLib+stdout(16393): //////////-6//////////
</small><br>
<small>I/GLib+stdout(16393): Video link refused!
</small><br>
<small>I/GLib+stdout(16393): Sink pad link: 'video_0065'
</small><br>
<small>D/GStreamer+tsdemux(16393): 0:00:05.831770086 0x9e236660
tsdemux.c:1599:activate_pad_for_stream:<demux:video_0065>
done adding pad
</small><br>
<small>D/GStreamer+tsdemux(16393): 0:00:05.831826253 0x9e236660
tsdemux.c:1596:activate_pad_for_stream:<demux> Activating
pad '':audio_0066 for stream 0xaf0a2240
</small><br>
<small>I/GStreamer+GST_ELEMENT_PADS(16393): 0:00:05.831879503
0x9e236660 gstelement.c:646:gst_element_add_pad:<demux>
adding pad 'audio_0066'
</small><br>
<small>D/GStreamer+GST_REFCOUNTING(16393): 0:00:05.831936544
0x9e236660
gstobject.c:692:gst_object_set_parent:<'':audio_0066> set
parent (ref and sink)
</small><br>
<small>I/GLib+stdout(16393): In dynamic ADDING PAD audio_0066
</small><br>
<small>I/GLib+stdout(16393): //////////-6//////////
</small><br>
<small>I/GLib+stdout(16393): Audio link refused!
</small><br>
<small>I/GLib+stdout(16393): Sink pad link: 'audio_0066'
</small><br>
<small>D/GStreamer+tsdemux(16393): 0:00:05.832146503 0x9e236660
tsdemux.c:1599:activate_pad_for_stream:<demux:audio_0066>
done adding pad</small><br>
</blockquote>
<br>
The full debug (gstreamer related) is on this link, as it weighs
~20MB:
<a class="moz-txt-link-freetext" href="https://www.dropbox.com/s/gied1nqdov3uitu/android_debug_full_log.txt?dl=0">https://www.dropbox.com/s/gied1nqdov3uitu/android_debug_full_log.txt?dl=0</a><br>
<br>
Thanks for your time, <br>
<br>
Dani<br>
<br>
<div class="moz-cite-prefix">El 31/05/16 a las 08:20, Sebastian
Dröge escribió:<br>
</div>
<blockquote cite="mid:1464675622.6756.47.camel@centricular.com"
type="cite">
<pre wrap="">On Mo, 2016-05-30 at 10:22 +0200, Dani wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Thanks, I was working on how to get the full debug, after coding inside the function JNI_OnLoad these instructions:
setenv("GST_DEBUG", "*:5", 1);
setenv("GST_DEBUG_NO_COLOR", "1", 1);
This is the debug log I get (I think I have copied the full log related to this issue):
[...]
</pre>
</blockquote>
<pre wrap="">
Thanks, can you get the same with debug level 6? This one here does not
contain many lines that should be there about the pad linking process,
but a few of those should already be there with 5.
In any case it's failing to link the pad not for one of the common
reasons, but for the "fallback" error case GST_PAD_LINK_REFUSED
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>