changing souphttpsrc location property on android

Dani dmr.dev.rdp at gmail.com
Mon May 30 08:22:21 UTC 2016


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):

    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
    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
    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
    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)
    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)
    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
    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 (....)
    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
    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 (....)
    05-30 10:07:54.905 9128-9246/? I/GLib+stdout: 7 -
    gst_ts_demux_stream_added
    05-30 10:07:54.905 9128-9246/? I/GLib+stdout: Create a pad
    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)
    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)
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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 (....)
    05-30 10:07:54.910 9128-9246/? I/GLib+stdout: 7 -
    gst_ts_demux_stream_added
    05-30 10:07:54.910 9128-9246/? I/GLib+stdout: Create a pad
    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)
    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)
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    05-30 10:07:54.910 9128-9246/? I/GLib+stdout: 1 -
    gst_ts_demux_program_started
    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
    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
    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'
    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)
    05-30 10:07:54.910 9128-9246/? I/GLib+stdout:  In dynamic ADDING PAD
    video_0065
    05-30 10:07:54.910 9128-9246/? I/GLib+stdout: //////////-6//////////
    05-30 10:07:54.910 9128-9246/? I/GLib+stdout: Video link refused!
    05-30 10:07:54.910 9128-9246/? I/GLib+stdout: Sink pad link:
    'video_0065'
    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
    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
    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'
    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)
    05-30 10:07:54.910 9128-9246/? I/GLib+stdout:  In dynamic ADDING PAD
    audio_0066
    05-30 10:07:54.910 9128-9246/? I/GLib+stdout: //////////-6//////////
    05-30 10:07:54.910 9128-9246/? I/GLib+stdout: Audio link refused!
    05-30 10:07:54.910 9128-9246/? I/GLib+stdout: Sink pad link:
    'audio_0066'
    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

Thanks for your time,

Dani



El 30/05/16 a las 07:50, Sebastian Dröge escribió:
> On Fr, 2016-05-27 at 12:43 +0200, Dani wrote:
>> 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:
>>   [...]
> 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.
>
>
>
> _______________________________________________
> 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/20160530/fb32c992/attachment-0001.html>


More information about the gstreamer-devel mailing list