<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body alink="#EE0000" link="#0B6CDA" text="#000000" vlink="#551A8B"
bgcolor="#ffffff">
Thanks, I was working on how to get the full debug, after coding
inside the function JNI_OnLoad these instructions:<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<blockquote>
<pre style="background-color:#ffffff;color:#000000;font-family:'DejaVu Sans Mono';font-size:9,0pt;"><small><span style="background-color:#e4e4ff;">setenv</span>(<span style="color:#008000;font-weight:bold;">"GST_DEBUG"</span><span style="color:#cc7832;">, </span><span style="color:#008000;font-weight:bold;">"*:5"</span><span style="color:#cc7832;">, </span><span style="color:#0000ff;">1</span>)<span style="color:#cc7832;">;
</span><span style="background-color:#e4e4ff;">setenv</span>(<span style="color:#008000;font-weight:bold;">"GST_DEBUG_NO_COLOR"</span><span style="color:#cc7832;">, </span><span style="color:#008000;font-weight:bold;">"1"</span><span style="color:#cc7832;">, </span><span style="color:#0000ff;">1</span>)<span style="color:#cc7832;">;</span></small></pre>
</blockquote>
This is the debug log I get (I think I have copied the full log
related to this issue):<br>
<blockquote><small>05-30 10:07:54.905 9128-9246/?
D/GStreamer+mpegts: 0:00:04.591262585 0x9e12ea60
gstmpegtssection.c:657:_parse_pmt Parsing 100 Program Map Table</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+mpegts:
0:00:04.591303627 0x9e12ea60 gstmpegtssection.c:694:_parse_pmt
[0] Stream type 0x1b found</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+mpegts:
0:00:04.591341877 0x9e12ea60 gstmpegtssection.c:694:_parse_pmt
[1] Stream type 0x0f found</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+mpegtsbase:
0:00:04.591383127 0x9e12ea60
mpegtsbase.c:840:mpegts_base_apply_pmt Applying PMT
(program_number:100, pid:0x0064)</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+mpegtsbase:
0:00:04.591424877 0x9e12ea60
mpegtsbase.c:518:mpegts_base_is_same_program Different pcr_pid
(new:0x0065, old:0xffff)</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+mpegtsbase:
0:00:04.591461127 0x9e12ea60
mpegtsbase.c:636:mpegts_base_activate_program Activating program
100</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+mpegtsbase:
0:00:04.591505502 0x9e12ea60
mpegtsbase.c:651:mpegts_base_activate_program program 0x0064,
registration_id 00000000 (....)</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+mpegtsbase:
0:00:04.591548335 0x9e12ea60
mpegtsbase.c:446:mpegts_base_program_add_stream pid:0x0065,
stream_type:0x01b</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+mpegtsbase:
0:00:04.591601960 0x9e12ea60
mpegtsbase.c:462:mpegts_base_program_add_stream PID 0x0065,
registration_id 00000000 (....)</small><br>
<small>05-30 10:07:54.905 9128-9246/? I/GLib+stdout: 7 -
gst_ts_demux_stream_added</small><br>
<small>05-30 10:07:54.905 9128-9246/? I/GLib+stdout: Create a pad
</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+mpegtsbase:
0:00:04.591686460 0x9e12ea60
mpegtsbase.c:276:mpegts_get_descriptor_from_stream Searching for
tag 0x0a in stream 0x0065 (stream_type 0x1b)</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+mpegtsbase:
0:00:04.591728835 0x9e12ea60
mpegtsbase.c:276:mpegts_get_descriptor_from_stream Searching for
tag 0x59 in stream 0x0065 (stream_type 0x1b)</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.591946627 0x9e12ea60
gstpad.c:1055:gst_pad_set_active:<'':video_0065>
activating pad from none</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.592000002 0x9e12ea60
gstpad.c:971:pre_activate:<'':video_0065> setting pad into
push mode, unset flushing</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.592051960 0x9e12ea60
gstpad.c:1197:gst_pad_activate_mode:<'':video_0065>
activated in push mode</small><br>
<small>05-30 10:07:54.905 9128-9246/?
I/GStreamer+GST_ELEMENT_PADS: 0:00:04.592100460 0x9e12ea60
gstelement.c:897:gst_element_get_static_pad found pad demux:sink</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+GST_EVENT:
0:00:04.592164877 0x9e12ea60 gstevent.c:302:gst_event_new_custom
creating new event 0xaf14b9d8 stream-start 10254</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.592214960 0x9e12ea60
gstpad.c:3747:check_sticky:<'':video_0065> pushing all
sticky events</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.592263460 0x9e12ea60
gstpad.c:5179:gst_pad_push_event_unchecked:<'':video_0065>
Dropping event stream-start because pad is not linked</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.592311544 0x9e12ea60
gstpad.c:3718:push_sticky:<'':video_0065> pad was not
linked, mark pending</small><br>
<small>05-30 10:07:54.905 9128-9246/? I/GStreamer+GST_EVENT:
0:00:04.592367169 0x9e12ea60 gstevent.c:679:gst_event_new_caps
creating caps event video/x-h264,
stream-format=(string)byte-stream, alignment=(string)nal</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+GST_EVENT:
0:00:04.592410669 0x9e12ea60 gstevent.c:302:gst_event_new_custom
creating new event 0xaf14ba20 caps 12814</small><br>
<small>05-30 10:07:54.905 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.592451460 0x9e12ea60
gstpad.c:4966:store_sticky_event:<'':video_0065> notify
caps</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.592500210 0x9e12ea60
gstpad.c:3747:check_sticky:<'':video_0065> pushing all
sticky events</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.592602127 0x9e12ea60
gstpad.c:3679:push_sticky:<'':video_0065> event
stream-start was already received</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.593115710 0x9e12ea60
gstpad.c:5179:gst_pad_push_event_unchecked:<'':video_0065>
Dropping event caps because pad is not linked</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.593179294 0x9e12ea60
gstpad.c:3718:push_sticky:<'':video_0065> pad was not
linked, mark pending</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.593880335 0x9e12ea60
gstpad.c:1851:gst_pad_set_query_function_full:<'':video_0065>
queryfunc set to 0x9f49bbc1</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.594441419 0x9e12ea60
gstpad.c:1818:gst_pad_set_event_function_full:<'':video_0065>
eventfunc for set to 0x9f49baa9</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+mpegtsbase:
0:00:04.594510252 0x9e12ea60
mpegtsbase.c:446:mpegts_base_program_add_stream pid:0x0066,
stream_type:0x00f</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+mpegtsbase:
0:00:04.594574002 0x9e12ea60
mpegtsbase.c:462:mpegts_base_program_add_stream PID 0x0066,
registration_id 00000000 (....)</small><br>
<small>05-30 10:07:54.910 9128-9246/? I/GLib+stdout: 7 -
gst_ts_demux_stream_added</small><br>
<small>05-30 10:07:54.910 9128-9246/? I/GLib+stdout: Create a pad
</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+mpegtsbase:
0:00:04.594645627 0x9e12ea60
mpegtsbase.c:276:mpegts_get_descriptor_from_stream Searching for
tag 0x0a in stream 0x0066 (stream_type 0x0f)</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+mpegtsbase:
0:00:04.594689877 0x9e12ea60
mpegtsbase.c:276:mpegts_get_descriptor_from_stream Searching for
tag 0x59 in stream 0x0066 (stream_type 0x0f)</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.594963085 0x9e12ea60
gstpad.c:1055:gst_pad_set_active:<'':audio_0066>
activating pad from none</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.595025085 0x9e12ea60
gstpad.c:971:pre_activate:<'':audio_0066> setting pad into
push mode, unset flushing</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.595080960 0x9e12ea60
gstpad.c:1197:gst_pad_activate_mode:<'':audio_0066>
activated in push mode</small><br>
<small>05-30 10:07:54.910 9128-9246/?
I/GStreamer+GST_ELEMENT_PADS: 0:00:04.595136544 0x9e12ea60
gstelement.c:897:gst_element_get_static_pad found pad demux:sink</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_EVENT:
0:00:04.595210377 0x9e12ea60 gstevent.c:302:gst_event_new_custom
creating new event 0xaf14ba68 stream-start 10254</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.595273502 0x9e12ea60
gstpad.c:3747:check_sticky:<'':audio_0066> pushing all
sticky events</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.595330252 0x9e12ea60
gstpad.c:5179:gst_pad_push_event_unchecked:<'':audio_0066>
Dropping event stream-start because pad is not linked</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.595386919 0x9e12ea60
gstpad.c:3718:push_sticky:<'':audio_0066> pad was not
linked, mark pending</small><br>
<small>05-30 10:07:54.910 9128-9246/? I/GStreamer+GST_EVENT:
0:00:04.595470794 0x9e12ea60 gstevent.c:679:gst_event_new_caps
creating caps event audio/mpeg, mpegversion=(int)2,
stream-format=(string)adts</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_EVENT:
0:00:04.595519877 0x9e12ea60 gstevent.c:302:gst_event_new_custom
creating new event 0xaf14bab0 caps 12814</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.595572627 0x9e12ea60
gstpad.c:4966:store_sticky_event:<'':audio_0066> notify
caps</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.595648252 0x9e12ea60
gstpad.c:3747:check_sticky:<'':audio_0066> pushing all
sticky events</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.595701044 0x9e12ea60
gstpad.c:3679:push_sticky:<'':audio_0066> event
stream-start was already received</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.595758169 0x9e12ea60
gstpad.c:5179:gst_pad_push_event_unchecked:<'':audio_0066>
Dropping event caps because pad is not linked</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.595802210 0x9e12ea60
gstpad.c:3718:push_sticky:<'':audio_0066> pad was not
linked, mark pending</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.595900919 0x9e12ea60
gstpad.c:1851:gst_pad_set_query_function_full:<'':audio_0066>
queryfunc set to 0x9f49bbc1</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_PADS:
0:00:04.595952294 0x9e12ea60
gstpad.c:1818:gst_pad_set_event_function_full:<'':audio_0066>
eventfunc for set to 0x9f49baa9</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+mpegtsbase:
0:00:04.596009252 0x9e12ea60
mpegtsbase.c:446:mpegts_base_program_add_stream pid:0x0065,
stream_type:0x0ff</small><br>
<small>05-30 10:07:54.910 9128-9246/? I/GLib+stdout: 1 -
gst_ts_demux_program_started</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+tsdemux:
0:00:04.596063752 0x9e12ea60
tsdemux.c:1681:gst_ts_demux_program_started Current program -1,
new program 100 requested program -1</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+tsdemux:
0:00:04.596114877 0x9e12ea60
tsdemux.c:1596:activate_pad_for_stream:<demux> Activating
pad '':video_0065 for stream 0xaf139300</small><br>
<small>05-30 10:07:54.910 9128-9246/?
I/GStreamer+GST_ELEMENT_PADS: 0:00:04.596166752 0x9e12ea60
gstelement.c:646:gst_element_add_pad:<demux> adding pad
'video_0065'</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_REFCOUNTING:
0:00:04.596218127 0x9e12ea60
gstobject.c:692:gst_object_set_parent:<'':video_0065> set
parent (ref and sink)</small><br>
<small>05-30 10:07:54.910 9128-9246/? I/GLib+stdout: In dynamic
ADDING PAD video_0065</small><br>
<small>05-30 10:07:54.910 9128-9246/? I/GLib+stdout:
//////////-6//////////</small><br>
<small>05-30 10:07:54.910 9128-9246/? I/GLib+stdout: Video link
refused!</small><br>
<small>05-30 10:07:54.910 9128-9246/? I/GLib+stdout: Sink pad
link: 'video_0065'</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+tsdemux:
0:00:04.596522585 0x9e12ea60
tsdemux.c:1599:activate_pad_for_stream:<demux:video_0065>
done adding pad</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+tsdemux:
0:00:04.596576502 0x9e12ea60
tsdemux.c:1596:activate_pad_for_stream:<demux> Activating
pad '':audio_0066 for stream 0xaf139240</small><br>
<small>05-30 10:07:54.910 9128-9246/?
I/GStreamer+GST_ELEMENT_PADS: 0:00:04.596627752 0x9e12ea60
gstelement.c:646:gst_element_add_pad:<demux> adding pad
'audio_0066'</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+GST_REFCOUNTING:
0:00:04.596679377 0x9e12ea60
gstobject.c:692:gst_object_set_parent:<'':audio_0066> set
parent (ref and sink)</small><br>
<small>05-30 10:07:54.910 9128-9246/? I/GLib+stdout: In dynamic
ADDING PAD audio_0066</small><br>
<small>05-30 10:07:54.910 9128-9246/? I/GLib+stdout:
//////////-6//////////</small><br>
<small>05-30 10:07:54.910 9128-9246/? I/GLib+stdout: Audio link
refused!</small><br>
<small>05-30 10:07:54.910 9128-9246/? I/GLib+stdout: Sink pad
link: 'audio_0066'</small><br>
<small>05-30 10:07:54.910 9128-9246/? D/GStreamer+tsdemux:
0:00:04.596907252 0x9e12ea60
tsdemux.c:1599:activate_pad_for_stream:<demux:audio_0066>
done adding pad</small><br>
</blockquote>
Thanks for your time, <br>
<br>
Dani<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">El 30/05/16 a las 07:50, Sebastian
Dröge escribió:<br>
</div>
<blockquote cite="mid:1464587400.6756.30.camel@centricular.com"
type="cite">
<pre wrap="">On Fr, 2016-05-27 at 12:43 +0200, Dani wrote:
</pre>
<blockquote type="cite">
<pre wrap="">The link failure which happens from the tsdemux source to both audio
and video queue's sink is GST_PAD_LINK_REFUSED and the debug log is
not showing anything else related than what I wrote here on the first
posts:
[...]
</pre>
</blockquote>
<pre wrap="">
See my mail from Wednesday, we need more information like a full debug
log of what is happening there. Basically more information is needed to
know why exactly the linking is failing.
</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>