changing souphttpsrc location property on android
Dani
dmr.dev.rdp at gmail.com
Tue May 31 08:30:06 UTC 2016
First of all thanks for your fast reply, here's the debug log with level 6:
D/GStreamer+mpegts(16393): 0:00:05.820160711 0x9e236660
gstmpegtssection.c:657:_parse_pmt Parsing 100 Program Map Table
D/GStreamer+mpegts(16393): 0:00:05.820202044 0x9e236660
gstmpegtssection.c:694:_parse_pmt [0] Stream type 0x1b found
D/GStreamer+mpegts(16393): 0:00:05.820241711 0x9e236660
gstmpegtssection.c:694:_parse_pmt [1] Stream type 0x0f found
D/GStreamer+mpegtsbase(16393): 0:00:05.820281211 0x9e236660
mpegtsbase.c:840:mpegts_base_apply_pmt Applying PMT
(program_number:100, pid:0x0064)
D/GStreamer+mpegtsbase(16393): 0:00:05.820322253 0x9e236660
mpegtsbase.c:518:mpegts_base_is_same_program Different pcr_pid
(new:0x0065, old:0xffff)
D/GStreamer+mpegtsbase(16393): 0:00:05.820360336 0x9e236660
mpegtsbase.c:636:mpegts_base_activate_program Activating program 100
D/GStreamer+mpegtsbase(16393): 0:00:05.820406336 0x9e236660
mpegtsbase.c:651:mpegts_base_activate_program program 0x0064,
registration_id 00000000 (....)
D/GStreamer+mpegtsbase(16393): 0:00:05.820446461 0x9e236660
mpegtsbase.c:446:mpegts_base_program_add_stream pid:0x0065,
stream_type:0x01b
D/GStreamer+mpegtsbase(16393): 0:00:05.820499044 0x9e236660
mpegtsbase.c:462:mpegts_base_program_add_stream PID 0x0065,
registration_id 00000000 (....)
I/GLib+stdout(16393): 7 - gst_ts_demux_stream_added
I/GLib+stdout(16393): Create a pad
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)
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)
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
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
D/GStreamer+GST_PADS(16393): 0:00:05.820893669 0x9e236660
gstpad.c:1055:gst_pad_set_active:<'':video_0065> activating pad from
none
D/GStreamer+GST_PADS(16393): 0:00:05.820945794 0x9e236660
gstpad.c:971:pre_activate:<'':video_0065> setting pad into push
mode, unset flushing
D/GStreamer+GST_PADS(16393): 0:00:05.820995878 0x9e236660
gstpad.c:1197:gst_pad_activate_mode:<'':video_0065> activated in
push mode
I/GStreamer+GST_ELEMENT_PADS(16393): 0:00:05.821050086 0x9e236660
gstelement.c:897:gst_element_get_static_pad found pad demux:sink
D/GStreamer+GST_EVENT(16393): 0:00:05.821119586 0x9e236660
gstevent.c:302:gst_event_new_custom creating new event 0xaf059dd8
stream-start 10254
V/GStreamer+GST_PADS(16393): 0:00:05.821170253 0x9e236660
gstpad.c:4901:store_sticky_event:<'':video_0065> Removing pending
EOS events
V/GStreamer+GST_PADS(16393): 0:00:05.821217961 0x9e236660
gstpad.c:4960:store_sticky_event:<'':video_0065> stored sticky event
stream-start
D/GStreamer+GST_PADS(16393): 0:00:05.821268878 0x9e236660
gstpad.c:3747:check_sticky:<'':video_0065> pushing all sticky events
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
D/GStreamer+GST_PADS(16393): 0:00:05.821373128 0x9e236660
gstpad.c:3718:push_sticky:<'':video_0065> pad was not linked, mark
pending
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
D/GStreamer+GST_EVENT(16393): 0:00:05.821518419 0x9e236660
gstevent.c:302:gst_event_new_custom creating new event 0xaf059e20
caps 12814
V/GStreamer+GST_PADS(16393): 0:00:05.821571544 0x9e236660
gstpad.c:4960:store_sticky_event:<'':video_0065> stored sticky event
caps
D/GStreamer+GST_PADS(16393): 0:00:05.821618794 0x9e236660
gstpad.c:4966:store_sticky_event:<'':video_0065> notify caps
D/GStreamer+GST_PADS(16393): 0:00:05.822378753 0x9e236660
gstpad.c:3747:check_sticky:<'':video_0065> pushing all sticky events
D/GStreamer+GST_PADS(16393): 0:00:05.822447836 0x9e236660
gstpad.c:3679:push_sticky:<'':video_0065> event stream-start was
already received
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
D/GStreamer+GST_PADS(16393): 0:00:05.822563003 0x9e236660
gstpad.c:3718:push_sticky:<'':video_0065> pad was not linked, mark
pending
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
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
D/GStreamer+mpegtsbase(16393): 0:00:05.823804253 0x9e236660
mpegtsbase.c:446:mpegts_base_program_add_stream pid:0x0066,
stream_type:0x00f
D/GStreamer+mpegtsbase(16393): 0:00:05.823859419 0x9e236660
mpegtsbase.c:462:mpegts_base_program_add_stream PID 0x0066,
registration_id 00000000 (....)
I/GLib+stdout(16393): 7 - gst_ts_demux_stream_added
I/GLib+stdout(16393): Create a pad
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)
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)
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
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
D/GStreamer+GST_PADS(16393): 0:00:05.824301419 0x9e236660
gstpad.c:1055:gst_pad_set_active:<'':audio_0066> activating pad from
none
D/GStreamer+GST_PADS(16393): 0:00:05.824353128 0x9e236660
gstpad.c:971:pre_activate:<'':audio_0066> setting pad into push
mode, unset flushing
D/GStreamer+GST_PADS(16393): 0:00:05.824403586 0x9e236660
gstpad.c:1197:gst_pad_activate_mode:<'':audio_0066> activated in
push mode
I/GStreamer+GST_ELEMENT_PADS(16393): 0:00:05.824464961 0x9e236660
gstelement.c:897:gst_element_get_static_pad found pad demux:sink
D/GStreamer+GST_EVENT(16393): 0:00:05.824523044 0x9e236660
gstevent.c:302:gst_event_new_custom creating new event 0xaf059e68
stream-start 10254
V/GStreamer+GST_PADS(16393): 0:00:05.824568544 0x9e236660
gstpad.c:4901:store_sticky_event:<'':audio_0066> Removing pending
EOS events
V/GStreamer+GST_PADS(16393): 0:00:05.826548128 0x9e236660
gstpad.c:4960:store_sticky_event:<'':audio_0066> stored sticky event
stream-start
D/GStreamer+GST_PADS(16393): 0:00:05.826614628 0x9e236660
gstpad.c:3747:check_sticky:<'':audio_0066> pushing all sticky events
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
D/GStreamer+GST_PADS(16393): 0:00:05.826720836 0x9e236660
gstpad.c:3718:push_sticky:<'':audio_0066> pad was not linked, mark
pending
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
D/GStreamer+GST_EVENT(16393): 0:00:05.826841419 0x9e236660
gstevent.c:302:gst_event_new_custom creating new event 0xaf059eb0
caps 12814
V/GStreamer+GST_PADS(16393): 0:00:05.826887294 0x9e236660
gstpad.c:4960:store_sticky_event:<'':audio_0066> stored sticky event
caps
D/GStreamer+GST_PADS(16393): 0:00:05.826936044 0x9e236660
gstpad.c:4966:store_sticky_event:<'':audio_0066> notify caps
D/GStreamer+GST_PADS(16393): 0:00:05.826991544 0x9e236660
gstpad.c:3747:check_sticky:<'':audio_0066> pushing all sticky events
D/GStreamer+GST_PADS(16393): 0:00:05.827037461 0x9e236660
gstpad.c:3679:push_sticky:<'':audio_0066> event stream-start was
already received
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
D/GStreamer+GST_PADS(16393): 0:00:05.829180544 0x9e236660
gstpad.c:3718:push_sticky:<'':audio_0066> pad was not linked, mark
pending
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
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
D/GStreamer+mpegtsbase(16393): 0:00:05.831219794 0x9e236660
mpegtsbase.c:446:mpegts_base_program_add_stream pid:0x0065,
stream_type:0x0ff
I/GLib+stdout(16393): 1 - gst_ts_demux_program_started
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
V/GStreamer+tsdemux(16393): 0:00:05.831323461 0x9e236660
tsdemux.c:1687:gst_ts_demux_program_started program 100 started
D/GStreamer+tsdemux(16393): 0:00:05.831374169 0x9e236660
tsdemux.c:1596:activate_pad_for_stream:<demux> Activating pad
'':video_0065 for stream 0xaf0a2300
I/GStreamer+GST_ELEMENT_PADS(16393): 0:00:05.831427128 0x9e236660
gstelement.c:646:gst_element_add_pad:<demux> adding pad 'video_0065'
D/GStreamer+GST_REFCOUNTING(16393): 0:00:05.831483003 0x9e236660
gstobject.c:692:gst_object_set_parent:<'':video_0065> set parent
(ref and sink)
I/GLib+stdout(16393): In dynamic ADDING PAD video_0065
I/GLib+stdout(16393): //////////-6//////////
I/GLib+stdout(16393): Video link refused!
I/GLib+stdout(16393): Sink pad link: 'video_0065'
D/GStreamer+tsdemux(16393): 0:00:05.831770086 0x9e236660
tsdemux.c:1599:activate_pad_for_stream:<demux:video_0065> done
adding pad
D/GStreamer+tsdemux(16393): 0:00:05.831826253 0x9e236660
tsdemux.c:1596:activate_pad_for_stream:<demux> Activating pad
'':audio_0066 for stream 0xaf0a2240
I/GStreamer+GST_ELEMENT_PADS(16393): 0:00:05.831879503 0x9e236660
gstelement.c:646:gst_element_add_pad:<demux> adding pad 'audio_0066'
D/GStreamer+GST_REFCOUNTING(16393): 0:00:05.831936544 0x9e236660
gstobject.c:692:gst_object_set_parent:<'':audio_0066> set parent
(ref and sink)
I/GLib+stdout(16393): In dynamic ADDING PAD audio_0066
I/GLib+stdout(16393): //////////-6//////////
I/GLib+stdout(16393): Audio link refused!
I/GLib+stdout(16393): Sink pad link: 'audio_0066'
D/GStreamer+tsdemux(16393): 0:00:05.832146503 0x9e236660
tsdemux.c:1599:activate_pad_for_stream:<demux:audio_0066> done
adding pad
The full debug (gstreamer related) is on this link, as it weighs ~20MB:
https://www.dropbox.com/s/gied1nqdov3uitu/android_debug_full_log.txt?dl=0
Thanks for your time,
Dani
El 31/05/16 a las 08:20, Sebastian Dröge escribió:
> On Mo, 2016-05-30 at 10:22 +0200, Dani wrote:
>> 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):
>> [...]
> 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
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160531/613181a2/attachment-0001.html>
More information about the gstreamer-devel
mailing list