Run RTMP on Android

Dmitry Kazakov dmitriikazakov at gmail.com
Tue Mar 11 02:59:31 PDT 2014


On Fr, 2014-03-07 at 05:36 -0800, Dmitry Kazakov wrote:
> I had changed url to rtmp://192.168.11.4:1936/rtmp/komlev and app was run
> without errors. However it doesn't play a stream.
>
> I try to play it via terminal by run next command:
>
> gst-launch-1.0 playbin uri=rtmp://192.168.11.4:1936/rtmp/komlev
>
> but it shows "Pipeline is PREROLLING" message and after that "ERROR:
> RTMP_ReadPacket, failed to read RTMP packet header"
>
> What's wrong with this in termnial and android sample from tutorial #4?

>Can you get a debug log of this? Does it work with other software, e.g.
>vlc? And you are running gst-launch-1.0 on Android or on your desktop
>machine?

Debug log is below.
I have run gst-launch on desctop machine but my aim to stream it on Android
-- Android logcat doesn't show any issues

e=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
0:00:08.409252589  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:973:poll_func: mainloop 0x1102170 quit
0:00:08.409277304  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:772:gst_bus_source_dispatch:<bus1> source 0x1138ee0 handler
returns 1
0:00:08.409293521  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1083:gst_bus_poll: mainloop stopped 0x1102170
0:00:08.409306739  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1328:gst_bus_remove_signal_watch:<bus1> removing signal watch 2
0:00:08.409324932  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:793:gst_bus_source_finalize:<bus1> finalize source 0x1138ee0
0:00:08.409347692  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1096:gst_bus_poll:<bus1> finished poll with message 0x10cec40
0:00:08.409385638  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:870:gst_bus_add_watch_full_unlocked:<bus1> New source 0x10c9df0
with id 3
0:00:08.409402260  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1081:gst_bus_poll: running mainloop 0x1101d80
0:00:08.409423026  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:506:gst_bus_timed_pop_filtered:<bus1> got message 0x10cecc0,
state-changed from playsink, type mask is 4294967295
0:00:08.409439527  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:767:gst_bus_source_dispatch:<bus1> source 0x10c9df0 calling
dispatch with state-changed message: 0x10cecc0, time 99:99:99.999999999,
seq-num 1, element 'playsink', GstMessageStateChanged,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
0:00:08.409470045  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:973:poll_func: mainloop 0x1101d80 quit
0:00:08.409487749  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:772:gst_bus_source_dispatch:<bus1> source 0x10c9df0 handler
returns 1
0:00:08.409503372  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1083:gst_bus_poll: mainloop stopped 0x1101d80
0:00:08.409517048  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1328:gst_bus_remove_signal_watch:<bus1> removing signal watch 3
0:00:08.409532072  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:793:gst_bus_source_finalize:<bus1> finalize source 0x10c9df0
0:00:08.409546822  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1096:gst_bus_poll:<bus1> finished poll with message 0x10cecc0
0:00:08.409570377  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:870:gst_bus_add_watch_full_unlocked:<bus1> New source 0x10c9df0
with id 4
0:00:08.409587343  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1081:gst_bus_poll: running mainloop 0x1102170
0:00:08.409606933  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:506:gst_bus_timed_pop_filtered:<bus1> got message 0x10ced40,
state-changed from playbin0, type mask is 4294967295
0:00:08.409622327  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:767:gst_bus_source_dispatch:<bus1> source 0x10c9df0 calling
dispatch with state-changed message: 0x10ced40, time 99:99:99.999999999,
seq-num 2, element 'playbin0', GstMessageStateChanged,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_PAUSED;
0:00:08.409654073  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:973:poll_func: mainloop 0x1102170 quit
0:00:08.409670309  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:772:gst_bus_source_dispatch:<bus1> source 0x10c9df0 handler
returns 1
0:00:08.409685731  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1083:gst_bus_poll: mainloop stopped 0x1102170
0:00:08.409699058  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1328:gst_bus_remove_signal_watch:<bus1> removing signal watch 4
0:00:08.409712431  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:793:gst_bus_source_finalize:<bus1> finalize source 0x10c9df0
0:00:08.409745825  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1096:gst_bus_poll:<bus1> finished poll with message 0x10ced40
0:00:08.409770352  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:870:gst_bus_add_watch_full_unlocked:<bus1> New source 0x1138ee0
with id 5
0:00:08.409784382  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1081:gst_bus_poll: running mainloop 0x1101d80
0:00:08.409803429  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:506:gst_bus_timed_pop_filtered:<bus1> got message 0x10e1840,
state-changed from uridecodebin0, type mask is 4294967295
0:00:08.409819922  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:767:gst_bus_source_dispatch:<bus1> source 0x1138ee0 calling
dispatch with state-changed message: 0x10e1840, time 99:99:99.999999999,
seq-num 3, element 'uridecodebin0', GstMessageStateChanged,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
0:00:08.409851650  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:973:poll_func: mainloop 0x1101d80 quit
0:00:08.409870537  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:772:gst_bus_source_dispatch:<bus1> source 0x1138ee0 handler
returns 1
0:00:08.409885658  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1083:gst_bus_poll: mainloop stopped 0x1101d80
0:00:08.409899300  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1328:gst_bus_remove_signal_watch:<bus1> removing signal watch 5
0:00:08.409914889  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:793:gst_bus_source_finalize:<bus1> finalize source 0x1138ee0
0:00:08.409930693  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1096:gst_bus_poll:<bus1> finished poll with message 0x10e1840
0:00:08.409954832  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:870:gst_bus_add_watch_full_unlocked:<bus1> New source 0x10c9ce0
with id 6
0:00:08.409969161  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1081:gst_bus_poll: running mainloop 0x1102170
0:00:08.409989369  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:506:gst_bus_timed_pop_filtered:<bus1> got message 0x10e19c0,
state-changed from streamsynchronizer0, type mask is 4294967295
0:00:08.410005928  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:767:gst_bus_source_dispatch:<bus1> source 0x10c9ce0 calling
dispatch with state-changed message: 0x10e19c0, time 99:99:99.999999999,
seq-num 6, element 'streamsynchronizer0', GstMessageStateChanged,
old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
0:00:08.410036934  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:973:poll_func: mainloop 0x1102170 quit
0:00:08.410054698  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:772:gst_bus_source_dispatch:<bus1> source 0x10c9ce0 handler
returns 1
0:00:08.410070698  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1083:gst_bus_poll: mainloop stopped 0x1102170
0:00:08.410084311  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1328:gst_bus_remove_signal_watch:<bus1> removing signal watch 6
0:00:08.410098239  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:793:gst_bus_source_finalize:<bus1> finalize source 0x10c9ce0
0:00:08.410127245  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1096:gst_bus_poll:<bus1> finished poll with message 0x10e19c0
0:00:08.431491563  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:870:gst_bus_add_watch_full_unlocked:<bus1> New source 0x10c9ce0
with id 7
0:00:08.431525253  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1081:gst_bus_poll: running mainloop 0x1101d80
0:00:08.431548560  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:506:gst_bus_timed_pop_filtered:<bus1> got message 0x10f0010,
state-changed from typefind, type mask is 4294967295
0:00:08.431564581  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:767:gst_bus_source_dispatch:<bus1> source 0x10c9ce0 calling
dispatch with state-changed message: 0x10f0010, time 99:99:99.999999999,
seq-num 11, element 'typefind', GstMessageStateChanged,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
0:00:08.431614426  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:973:poll_func: mainloop 0x1101d80 quit
0:00:08.431630809  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:772:gst_bus_source_dispatch:<bus1> source 0x10c9ce0 handler
returns 1
0:00:08.431645162  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1083:gst_bus_poll: mainloop stopped 0x1101d80
0:00:08.431656964  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1328:gst_bus_remove_signal_watch:<bus1> removing signal watch 7
0:00:08.431669764  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:793:gst_bus_source_finalize:<bus1> finalize source 0x10c9ce0
0:00:08.431683848  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1096:gst_bus_poll:<bus1> finished poll with message 0x10f0010
0:00:08.431702176  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:870:gst_bus_add_watch_full_unlocked:<bus1> New source 0x10c9ce0
with id 8
0:00:08.431715267  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1081:gst_bus_poll: running mainloop 0x1102170
0:00:08.431731608  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:506:gst_bus_timed_pop_filtered:<bus1> got message 0x10f0090,
state-changed from decodebin0, type mask is 4294967295
0:00:08.431746005  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:767:gst_bus_source_dispatch:<bus1> source 0x10c9ce0 calling
dispatch with state-changed message: 0x10f0090, time 99:99:99.999999999,
seq-num 12, element 'decodebin0', GstMessageStateChanged,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_PAUSED;
0:00:08.431774055  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:973:poll_func: mainloop 0x1102170 quit
0:00:08.431788105  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:772:gst_bus_source_dispatch:<bus1> source 0x10c9ce0 handler
returns 1
0:00:08.431801680  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1083:gst_bus_poll: mainloop stopped 0x1102170
0:00:08.431812814  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1328:gst_bus_remove_signal_watch:<bus1> removing signal watch 8
0:00:08.431825224  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:793:gst_bus_source_finalize:<bus1> finalize source 0x10c9ce0
0:00:08.431838458  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1096:gst_bus_poll:<bus1> finished poll with message 0x10f0090
0:00:08.431856193  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:870:gst_bus_add_watch_full_unlocked:<bus1> New source 0x10c9ce0
with id 9
0:00:08.431896517  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1081:gst_bus_poll: running mainloop 0x1101d80
0:00:08.431914919  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:506:gst_bus_timed_pop_filtered:<bus1> got message 0x10e1ec0,
state-changed from typefind, type mask is 4294967295
0:00:08.431929436  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:767:gst_bus_source_dispatch:<bus1> source 0x10c9ce0 calling
dispatch with state-changed message: 0x10e1ec0, time 99:99:99.999999999,
seq-num 16, element 'typefind', GstMessageStateChanged,
old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
0:00:08.431957350  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:973:poll_func: mainloop 0x1101d80 quit
0:00:08.431971737  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:772:gst_bus_source_dispatch:<bus1> source 0x10c9ce0 handler
returns 1
0:00:08.431985250  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1083:gst_bus_poll: mainloop stopped 0x1101d80
0:00:08.431996577  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1328:gst_bus_remove_signal_watch:<bus1> removing signal watch 9
0:00:08.394535335  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:5311:do_stream_status:<source:src> posting stream-status 1
0:00:08.432048523  9499      0x10ea280 DEBUG                GST_BUS
gstbus.c:312:gst_bus_post:<bus3> [msg 0x7f0bfc002020] posting on bus
stream-status message: 0x7f0bfc002020, time 99:99:99.999999999, seq-num 22,
element 'src', GstMessageStreamStatus,
type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER,
owner=(GstElement)"\(GstRTMPSrc\)\ source", object=(GstTask)"\(GstTask\)\
source:src";
0:00:08.432098100  9499      0x10ea280 DEBUG                    bin
gstbin.c:3396:gst_bin_handle_message_func:<uridecodebin0> [msg
0x7f0bfc002020] handling child src message of type stream-status
0:00:08.432171745  9499      0x10ea280 DEBUG                    bin
gstbin.c:3729:gst_bin_handle_message_func:<uridecodebin0> posting message
upward
0:00:08.432186669  9499      0x10ea280 DEBUG                GST_BUS
gstbus.c:312:gst_bus_post:<bus0> [msg 0x7f0bfc002020] posting on bus
stream-status message: 0x7f0bfc002020, time 99:99:99.999999999, seq-num 22,
element 'src', GstMessageStreamStatus,
type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER,
owner=(GstElement)"\(GstRTMPSrc\)\ source", object=(GstTask)"\(GstTask\)\
source:src";
0:00:08.432225271  9499      0x10ea280 DEBUG                    bin
gstbin.c:3396:gst_bin_handle_message_func:<playbin0> [msg 0x7f0bfc002020]
handling child src message of type stream-status
0:00:08.432238516  9499      0x10ea280 DEBUG                    bin
gstbin.c:3729:gst_bin_handle_message_func:<playbin0> posting message upward
0:00:08.432248904  9499      0x10ea280 DEBUG                GST_BUS
gstbus.c:312:gst_bus_post:<bus1> [msg 0x7f0bfc002020] posting on bus
stream-status message: 0x7f0bfc002020, time 99:99:99.999999999, seq-num 22,
element 'src', GstMessageStreamStatus,
type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER,
owner=(GstElement)"\(GstRTMPSrc\)\ source", object=(GstTask)"\(GstTask\)\
source:src";
0:00:08.432289481  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:793:gst_bus_source_finalize:<bus1> finalize source 0x10c9ce0
0:00:08.432304528  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1096:gst_bus_poll:<bus1> finished poll with message 0x10e1ec0
0:00:08.432324189  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:870:gst_bus_add_watch_full_unlocked:<bus1> New source 0x10c9ce0
with id 10
0:00:08.432337600  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1081:gst_bus_poll: running mainloop 0x1102170
0:00:08.432354946  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:506:gst_bus_timed_pop_filtered:<bus1> got message 0x10f0190,
state-changed from source, type mask is 4294967295
0:00:08.432370036  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:767:gst_bus_source_dispatch:<bus1> source 0x10c9ce0 calling
dispatch with state-changed message: 0x10f0190, time 99:99:99.999999999,
seq-num 17, element 'source', GstMessageStateChanged,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_PAUSED;
0:00:08.432398699  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:973:poll_func: mainloop 0x1102170 quit
0:00:08.432412837  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:772:gst_bus_source_dispatch:<bus1> source 0x10c9ce0 handler
returns 1
0:00:08.432426467  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1083:gst_bus_poll: mainloop stopped 0x1102170
0:00:08.432438430  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1328:gst_bus_remove_signal_watch:<bus1> removing signal watch 10
0:00:08.432451233  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:793:gst_bus_source_finalize:<bus1> finalize source 0x10c9ce0
0:00:08.432468109  9499      0x10ea280 DEBUG                GST_BUS
gstbus.c:347:gst_bus_post:<bus1> [msg 0x7f0bfc002020] pushing on async queue
0:00:08.467566561  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1096:gst_bus_poll:<bus1> finished poll with message 0x10f0190
0:00:08.467582337  9499      0x10ea280 DEBUG                GST_BUS
gstbus.c:350:gst_bus_post:<bus1> [msg 0x7f0bfc002020] pushed on async queue
0:00:08.467636815  9499      0x10ea280 DEBUG                GST_BUS
gstbus.c:343:gst_bus_post:<bus0> [msg 0x7f0bfc002020] dropped
0:00:08.467655686  9499      0x10ea280 DEBUG                GST_BUS
gstbus.c:343:gst_bus_post:<bus3> [msg 0x7f0bfc002020] dropped
0:00:08.467686616  9499      0x10ea280 DEBUG                   task
gsttask.c:243:gst_task_configure_name:<source:src> Setting thread name to
'source:src'
0:00:08.467737664  9499      0x10ea280 INFO        GST_ELEMENT_PADS
gstelement.c:894:gst_element_get_static_pad: no such pad 'sink' in element
"source"
0:00:08.467768171  9499      0x10ea280 DEBUG                  query
gstquery.c:680:gst_query_new_custom: creating new query 0x10ea540 uri
0:00:08.467781410  9499      0x10ea280 DEBUG       GST_ELEMENT_PADS
gstelement.c:1661:gst_element_query: send query on element source
0:00:08.467792987  9499      0x10ea280 DEBUG       GST_ELEMENT_PADS
gstelement.c:1450:gst_element_get_random_pad: getting a random pad
0:00:08.467803841  9499      0x10ea280 DEBUG       GST_ELEMENT_PADS
gstelement.c:1469:gst_element_get_random_pad: checking pad source:src
0:00:08.467815386  9499      0x10ea280 DEBUG       GST_ELEMENT_PADS
gstelement.c:1481:gst_element_get_random_pad: found pad source:src
0:00:08.467828820  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3445:gst_pad_query:<source:src> doing query 0x10ea540 (uri)
0:00:08.467846774  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3467:gst_pad_query:<source:src> sent query 0x10ea540 (uri), result
1
0:00:08.467900030  9499      0x10ea280 DEBUG                basesrc
gstbasesrc.c:851:gst_base_src_send_stream_start:<source> Pushing
STREAM_START
0:00:08.467924463  9499      0x10ea280 DEBUG              GST_EVENT
gstevent.c:300:gst_event_new_custom: creating new event 0x10fb580
stream-start 10254
0:00:08.467946297  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3376:check_sticky:<source:src> pushing all sticky events
0:00:08.467964770  9499      0x10ea280 DEBUG              GST_EVENT
gstpad.c:4935:gst_pad_send_event_unchecked:<decodebin0:sink> have event
type stream-start event: 0x10fb580, time 99:99:99.999999999, seq-num 23,
GstEventStreamStart,
stream-id=(string)77ba74fbf46b229300b95cccf98274864ea11980d4ca02458c823d3443c9dbca,
flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)0;
0:00:08.468028803  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3376:check_sticky:<sink:proxypad0> pushing all sticky events
0:00:08.468043367  9499      0x10ea280 DEBUG              GST_EVENT
gstpad.c:4935:gst_pad_send_event_unchecked:<typefind:sink> have event type
stream-start event: 0x10fb580, time 99:99:99.999999999, seq-num 23,
GstEventStreamStart,
stream-id=(string)77ba74fbf46b229300b95cccf98274864ea11980d4ca02458c823d3443c9dbca,
flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)0;
0:00:08.468071438  9499      0x10ea280 DEBUG               typefind
gsttypefindelement.c:607:gst_type_find_element_sink_event:<typefind> got
stream-start event in mode 1
0:00:08.468086820  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3376:check_sticky:<typefind:src> pushing all sticky events
0:00:08.468097885  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:4724:gst_pad_push_event_unchecked:<typefind:src> Dropping event
because pad is not linked
0:00:08.468109136  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3348:push_sticky:<typefind:src> pad was not linked, mark pending
0:00:08.468134874  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:5001:gst_pad_send_event_unchecked:<typefind:sink> sent event, ret
ok
0:00:08.468150836  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3329:push_sticky:<sink:proxypad0> event stream-start marked
received
0:00:08.468164864  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:5001:gst_pad_send_event_unchecked:<decodebin0:sink> sent event,
ret ok
0:00:08.468177471  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3329:push_sticky:<source:src> event stream-start marked received
0:00:08.468190570  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:1432:gst_pad_check_reconfigure:<source:src> remove RECONFIGURE flag
0:00:08.468201983  9499      0x10ea280 DEBUG                basesrc
gstbasesrc.c:3151:gst_base_src_negotiate:<source> starting negotiation
0:00:08.468213204  9499      0x10ea280 DEBUG               GST_CAPS
gstutils.c:2761:gst_pad_query_caps:<source:src> get pad caps with filter
(NULL)
0:00:08.468227643  9499      0x10ea280 DEBUG                  query
gstquery.c:680:gst_query_new_custom: creating new query 0x10ea590 caps
0:00:08.468239127  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3445:gst_pad_query:<source:src> doing query 0x10ea590 (caps)
0:00:08.468294277  9499      0x10ea280 DEBUG                basesrc
gstbasesrc.c:1248:gst_base_src_default_query:<source> query caps returns 1
0:00:08.468309179  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3467:gst_pad_query:<source:src> sent query 0x10ea590 (caps),
result 1
0:00:08.468322521  9499      0x10ea280 DEBUG               GST_CAPS
gstutils.c:2768:gst_pad_query_caps:<source:src> query returned ANY
0:00:08.468335274  9499      0x10ea280 DEBUG                basesrc
gstbasesrc.c:3081:gst_base_src_default_negotiate:<source> caps of src: ANY
0:00:08.468346741  9499      0x10ea280 DEBUG                basesrc
gstbasesrc.c:3127:gst_base_src_default_negotiate:<source> no negotiation
needed
0:00:08.468356854  9499      0x10ea280 DEBUG               GST_CAPS
gstpad.c:2428:gst_pad_get_current_caps:<source:src> get current pad caps
(NULL)
0:00:08.468370095  9499      0x10ea280 DEBUG                  query
gstquery.c:680:gst_query_new_custom: creating new query 0x10ea5e0 allocation
0:00:08.468382220  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3570:gst_pad_peer_query:<source:src> peer query 0x10ea5e0
(allocation)
0:00:08.468395232  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3445:gst_pad_query:<decodebin0:sink> doing query 0x10ea5e0
(allocation)
0:00:08.468407585  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:2983:gst_pad_query_default:<decodebin0:sink> forwarding 0x10ea5e0
(allocation) query
0:00:08.468423158  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3570:gst_pad_peer_query:<sink:proxypad0> peer query 0x10ea5e0
(allocation)
0:00:08.468436261  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3445:gst_pad_query:<typefind:sink> doing query 0x10ea5e0
(allocation)
0:00:08.468449041  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:2983:gst_pad_query_default:<typefind:sink> forwarding 0x10ea5e0
(allocation) query
0:00:08.468462626  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:2581:gst_pad_iterate_internal_links_default:<typefind:sink> Making
iterator
0:00:08.468475879  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3570:gst_pad_peer_query:<typefind:src> peer query 0x10ea5e0
(allocation)
0:00:08.468488189  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3376:check_sticky:<typefind:src> pushing all sticky events
0:00:08.468498949  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:4724:gst_pad_push_event_unchecked:<typefind:src> Dropping event
because pad is not linked
0:00:08.468509378  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3348:push_sticky:<typefind:src> pad was not linked, mark pending
0:00:08.468519841  9499      0x10ea280 INFO                GST_PADS
gstpad.c:3626:gst_pad_peer_query:<typefind:src> pad has no peer
0:00:08.493414178  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3467:gst_pad_query:<typefind:sink> sent query 0x10ea5e0
(allocation), result 0
0:00:08.493448003  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3511:gst_pad_query:<typefind:sink> query failed
0:00:08.493457144  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3632:gst_pad_peer_query:<sink:proxypad0> query failed
0:00:08.493466501  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3467:gst_pad_query:<decodebin0:sink> sent query 0x10ea5e0
(allocation), result 0
0:00:08.493474778  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3511:gst_pad_query:<decodebin0:sink> query failed
0:00:08.493482255  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3632:gst_pad_peer_query:<source:src> query failed
0:00:08.493491226  9499      0x10ea280 DEBUG                basesrc
gstbasesrc.c:3026:gst_base_src_prepare_allocation:<source> peer ALLOCATION
query failed
0:00:08.493516201  9499      0x10ea280 DEBUG                basesrc
gstbasesrc.c:3033:gst_base_src_prepare_allocation:<source> ALLOCATION (1)
params: allocation query: 0x10ea5e0, GstQueryAllocation,
caps=(GstCaps)NULL, need-pool=(boolean)true, allocator=(GArray)NULL,
pool=(GArray)NULL;
0:00:08.493686856  9499      0x10ea280 DEBUG                basesrc
gstbasesrc.c:2388:gst_base_src_get_range:<source> calling create offset
18446744073709551615 length 4096, time 0
0:00:08.493727281  9499      0x10ea280 DEBUG                rtmpsrc
gstrtmpsrc.c:319:gst_rtmp_src_create: reading from 0, size 4096
0:00:08.493785247  9499      0x10ea280 DEBUG             GST_MEMORY
gstmemory.c:138:gst_memory_init: new memory 0x7f0bfc006000, maxsize:4103
offset:0 size:4096
0:00:08.467637528  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:870:gst_bus_add_watch_full_unlocked:<bus1> New source 0x10c9ce0
with id 11
0:00:08.497001960  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1081:gst_bus_poll: running mainloop 0x1101d80
0:00:08.497050263  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:506:gst_bus_timed_pop_filtered:<bus1> got message 0x10f0210,
stream-status from src, type mask is 4294967295
0:00:08.497064009  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:767:gst_bus_source_dispatch:<bus1> source 0x10c9ce0 calling
dispatch with stream-status message: 0x10f0210, time 99:99:99.999999999,
seq-num 20, element 'src', GstMessageStreamStatus,
type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_CREATE,
owner=(GstElement)"\(GstRTMPSrc\)\ source", object=(GstTask)"\(GstTask\)\
source:src";
0:00:08.497193143  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:973:poll_func: mainloop 0x1101d80 quit
0:00:08.497219043  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:772:gst_bus_source_dispatch:<bus1> source 0x10c9ce0 handler
returns 1
0:00:08.497235057  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1083:gst_bus_poll: mainloop stopped 0x1101d80
0:00:08.497247675  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1328:gst_bus_remove_signal_watch:<bus1> removing signal watch 11
0:00:08.497259505  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:793:gst_bus_source_finalize:<bus1> finalize source 0x10c9ce0
0:00:08.497273539  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1096:gst_bus_poll:<bus1> finished poll with message 0x10f0210
0:00:08.497297944  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:870:gst_bus_add_watch_full_unlocked:<bus1> New source 0x10c9ce0
with id 12
0:00:08.497305970  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1081:gst_bus_poll: running mainloop 0x1102170
0:00:08.497317248  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:506:gst_bus_timed_pop_filtered:<bus1> got message 0x10f0290,
state-changed from source, type mask is 4294967295
0:00:08.497326076  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:767:gst_bus_source_dispatch:<bus1> source 0x10c9ce0 calling
dispatch with state-changed message: 0x10f0290, time 99:99:99.999999999,
seq-num 21, element 'source', GstMessageStateChanged,
old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
0:00:08.497347312  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:973:poll_func: mainloop 0x1102170 quit
0:00:08.497356449  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:772:gst_bus_source_dispatch:<bus1> source 0x10c9ce0 handler
returns 1
0:00:08.497364808  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1083:gst_bus_poll: mainloop stopped 0x1102170
0:00:08.497371506  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1328:gst_bus_remove_signal_watch:<bus1> removing signal watch 12
0:00:08.497378884  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:793:gst_bus_source_finalize:<bus1> finalize source 0x10c9ce0
0:00:08.497386647  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1096:gst_bus_poll:<bus1> finished poll with message 0x10f0290
0:00:08.497397415  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:870:gst_bus_add_watch_full_unlocked:<bus1> New source 0x10c9ce0
with id 13
0:00:08.497404646  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1081:gst_bus_poll: running mainloop 0x1101d80
0:00:08.497429436  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:506:gst_bus_timed_pop_filtered:<bus1> got message 0x7f0bfc002020,
stream-status from src, type mask is 4294967295
0:00:08.497439097  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:767:gst_bus_source_dispatch:<bus1> source 0x10c9ce0 calling
dispatch with stream-status message: 0x7f0bfc002020, time
99:99:99.999999999, seq-num 22, element 'src', GstMessageStreamStatus,
type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER,
owner=(GstElement)"\(GstRTMPSrc\)\ source", object=(GstTask)"\(GstTask\)\
source:src";
0:00:08.497461840  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:973:poll_func: mainloop 0x1101d80 quit
0:00:08.497470595  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:772:gst_bus_source_dispatch:<bus1> source 0x10c9ce0 handler
returns 1
0:00:08.497478742  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1083:gst_bus_poll: mainloop stopped 0x1101d80
0:00:08.497485425  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1328:gst_bus_remove_signal_watch:<bus1> removing signal watch 13
0:00:08.497506344  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:793:gst_bus_source_finalize:<bus1> finalize source 0x10c9ce0
0:00:08.497514780  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1096:gst_bus_poll:<bus1> finished poll with message 0x7f0bfc002020
0:00:08.497527137  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:870:gst_bus_add_watch_full_unlocked:<bus1> New source 0x10c9ce0
with id 14
0:00:08.497534827  9499       0xf31a30 DEBUG                GST_BUS
gstbus.c:1081:gst_bus_poll: running mainloop 0x1102170
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
0:00:38.749603232  9499      0x10ea280 DEBUG                rtmpsrc
gstrtmpsrc.c:392:gst_rtmp_src_create:<source> Reading data gave EOS
0:00:38.749643887  9499      0x10ea280 DEBUG                basesrc
gstbasesrc.c:2499:gst_base_src_get_range:<source> create returned -3 (eos)
0:00:38.749669493  9499      0x10ea280 INFO                 basesrc
gstbasesrc.c:2668:gst_base_src_loop:<source> pausing after
gst_base_src_get_range() = eos
0:00:38.749687258  9499      0x10ea280 DEBUG                basesrc
gstbasesrc.c:2826:gst_base_src_loop:<source> pausing task, reason eos
0:00:38.749704992  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:5412:gst_pad_pause_task:<source:src> pause task
0:00:38.749725184  9499      0x10ea280 DEBUG                   task
gsttask.c:662:gst_task_set_state:<source:src> Changing task 0x1139050 to
state 2
0:00:38.749748929  9499      0x10ea280 DEBUG              GST_EVENT
gstevent.c:300:gst_event_new_custom: creating new event 0x10fb5e0 eos 28174
0:00:38.749775014  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3376:check_sticky:<source:src> pushing all sticky events
0:00:38.749792662  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3309:push_sticky:<source:src> event stream-start was already
received
0:00:38.749815433  9499      0x10ea280 DEBUG              GST_EVENT
gstpad.c:4935:gst_pad_send_event_unchecked:<decodebin0:sink> have event
type eos event: 0x10fb5e0, time 99:99:99.999999999, seq-num 19, (NULL)
0:00:38.749858711  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3376:check_sticky:<sink:proxypad0> pushing all sticky events
0:00:38.749876815  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3309:push_sticky:<sink:proxypad0> event stream-start was already
received
0:00:38.749896745  9499      0x10ea280 DEBUG              GST_EVENT
gstpad.c:4935:gst_pad_send_event_unchecked:<typefind:sink> have event type
eos event: 0x10fb5e0, time 99:99:99.999999999, seq-num 19, (NULL)
0:00:38.749923359  9499      0x10ea280 DEBUG               typefind
gsttypefindelement.c:607:gst_type_find_element_sink_event:<typefind> got
eos event in mode 1
0:00:38.749943908  9499      0x10ea280 INFO                typefind
gsttypefindelement.c:639:gst_type_find_element_sink_event:<typefind> Got
EOS and no type found yet
0:00:38.749970590  9499      0x10ea280 DEBUG               typefind
gsttypefindelement.c:910:gst_type_find_element_chain_do_typefinding:<typefind>
not enough data for typefinding yet (0 bytes)
0:00:38.749993283  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3376:check_sticky:<typefind:src> pushing all sticky events
0:00:38.750009821  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:4724:gst_pad_push_event_unchecked:<typefind:src> Dropping event
because pad is not linked
0:00:38.750026314  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3348:push_sticky:<typefind:src> pad was not linked, mark pending
0:00:38.750042293  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:4724:gst_pad_push_event_unchecked:<typefind:src> Dropping event
because pad is not linked
0:00:38.750058240  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3348:push_sticky:<typefind:src> pad was not linked, mark pending
0:00:38.750073519  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:4724:gst_pad_push_event_unchecked:<typefind:src> Dropping event
because pad is not linked
0:00:38.750089289  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3348:push_sticky:<typefind:src> pad was not linked, mark pending
0:00:38.750105737  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:5001:gst_pad_send_event_unchecked:<typefind:sink> sent event, ret
error
0:00:38.750124817  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3355:push_sticky:<sink:proxypad0> result error, mark pending events
0:00:38.750146200  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:5001:gst_pad_send_event_unchecked:<decodebin0:sink> sent event,
ret error
0:00:38.750165355  9499      0x10ea280 DEBUG               GST_PADS
gstpad.c:3355:push_sticky:<source:src> result error, mark pending events
0:00:38.750193991  9499      0x10ea280 INFO                    task
gsttask.c:300:gst_task_func:<source:src> Task going to paused



-- 
С уважением,
Дмитрий Казаков
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140311/9d00a346/attachment-0001.html>


More information about the gstreamer-devel mailing list