Identity Element in silent=FALSE mode not printing anything

renecalles gstreamer at renevolution.com
Wed May 7 13:04:27 PDT 2014


>From what i've found so far in the code was according to
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/isomp4/qtdemux.c#n3742
it seems stream->n_segments is == 1. This is at least why it's going through
the eos path later.

Checking the debug logs it seems the demuxer never receives a seek with the
SEGMENT flag set. And i have an idea why, as it seems the seek is performed
upstream (starting from rtmpsink in my case) and as the demuxer path is not
connected at that time it stops at the muxer:src pad.

This is the output ... gapped for "seek":

0:00:00.266040000 29512 0x7fcb78411000 INFO               GST_EVENT
gstevent.c:1070:GstEvent *gst_event_new_seek(gdouble, GstFormat,
GstSeekFlags, GstSeekType, gint64, GstSeekType, gint64): creating seek rate
1.000000, format TIME, flags 9, start_type 1, start 0:00:00.000000000,
stop_type 2, stop 0:00:00.000000000
0:00:00.266122000 29512 0x7fcb78411000 DEBUG              GST_EVENT
gstevent.c:300:GstEvent *gst_event_new_custom(GstEventType, GstStructure *):
creating new event 0x7fcb7a05f860 seek 51201
0:00:00.266207000 29512 0x7fcb78411000 DEBUG       GST_ELEMENT_PADS
gstelement.c:1560:gboolean gst_element_send_event(GstElement *, GstEvent *):
send seek event on element file-looper
0:00:00.266290000 29512 0x7fcb78411000 DEBUG                    bin
gstbin.c:2822:gboolean gst_bin_send_event(GstElement *, GstEvent
*):<file-looper> Sending seek event to sink children
0:00:00.266450000 29512 0x7fcb78411000 DEBUG       GST_ELEMENT_PADS
gstelement.c:1560:gboolean gst_element_send_event(GstElement *, GstEvent *):
send seek event on element sink
0:00:00.266527000 29512 0x7fcb78411000 DEBUG               basesink
gstbasesink.c:4284:gboolean gst_base_sink_send_event(GstElement *, GstEvent
*):<sink> handling event 0x7fcb7a05f860 seek event: 0x7fcb7a05f860, time
99:99:99.999999999, seq-num 102, GstEventSeek, rate=(double)1,
format=(GstFormat)GST_FORMAT_TIME,
flags=(GstSeekFlags)GST_SEEK_FLAG_FLUSH+GST_SEEK_FLAG_SEGMENT,
cur-type=(GstSeekType)GST_SEEK_TYPE_SET, cur=(gint64)0,
stop-type=(GstSeekType)GST_SEEK_TYPE_END, stop=(gint64)0;
0:00:00.266639000 29512 0x7fcb78411000 LOG                 GST_PADS
gstpad.c:4729:GstFlowReturn gst_pad_push_event_unchecked(GstPad *, GstEvent
*, GstPadProbeType):<sink:sink> sending event 0x7fcb7a05f860 (seek) to
peerpad <sinkqueue:src>
0:00:00.266720000 29512 0x7fcb78411000 DEBUG              GST_EVENT
gstpad.c:4985:GstFlowReturn gst_pad_send_event_unchecked(GstPad *, GstEvent
*, GstPadProbeType):<sinkqueue:src> have event type seek event:
0x7fcb7a05f860, time 99:99:99.999999999, seq-num 102, GstEventSeek,
rate=(double)1, format=(GstFormat)GST_FORMAT_TIME,
flags=(GstSeekFlags)GST_SEEK_FLAG_FLUSH+GST_SEEK_FLAG_SEGMENT,
cur-type=(GstSeekType)GST_SEEK_TYPE_SET, cur=(gint64)0,
stop-type=(GstSeekType)GST_SEEK_TYPE_END, stop=(gint64)0;
0:00:00.266933000 29512 0x7fcb78411000 LOG                 GST_PADS
gstpad.c:2808:gboolean gst_pad_event_default(GstPad *, GstObject *, GstEvent
*):<sinkqueue:src> default event handler for event seek event:
0x7fcb7a05f860, time 99:99:99.999999999, seq-num 102, GstEventSeek,
rate=(double)1, format=(GstFormat)GST_FORMAT_TIME,
flags=(GstSeekFlags)GST_SEEK_FLAG_FLUSH+GST_SEEK_FLAG_SEGMENT,
cur-type=(GstSeekType)GST_SEEK_TYPE_SET, cur=(gint64)0,
stop-type=(GstSeekType)GST_SEEK_TYPE_END, stop=(gint64)0;
0:00:00.267147000 29512 0x7fcb78411000 LOG                 GST_PADS
gstpad.c:2773:gboolean event_forward_func(GstPad *, EventData
*):<sinkqueue:sink> Reffing and pushing event 0x7fcb7a05f860 (seek) to
sinkqueue:sink
0:00:00.267214000 29512 0x7fcb78411000 LOG                 GST_PADS
gstpad.c:4729:GstFlowReturn gst_pad_push_event_unchecked(GstPad *, GstEvent
*, GstPadProbeType):<sinkqueue:sink> sending event 0x7fcb7a05f860 (seek) to
peerpad <muxer:src>
0:00:00.267289000 29512 0x7fcb78411000 DEBUG              GST_EVENT
gstpad.c:4985:GstFlowReturn gst_pad_send_event_unchecked(GstPad *, GstEvent
*, GstPadProbeType):<muxer:src> have event type seek event: 0x7fcb7a05f860,
time 99:99:99.999999999, seq-num 102, GstEventSeek, rate=(double)1,
format=(GstFormat)GST_FORMAT_TIME,
flags=(GstSeekFlags)GST_SEEK_FLAG_FLUSH+GST_SEEK_FLAG_SEGMENT,
cur-type=(GstSeekType)GST_SEEK_TYPE_SET, cur=(gint64)0,
stop-type=(GstSeekType)GST_SEEK_TYPE_END, stop=(gint64)0;
0:00:00.267687000 29512 0x7fcb78411000 DEBUG               basesink
gstbasesink.c:4331:gboolean gst_base_sink_send_event(GstElement *, GstEvent
*):<sink> handled event 0x7fcb7a05f860 seek event: 0x7fcb7a05f860, time
99:99:99.999999999, seq-num 102, GstEventSeek, rate=(double)1,
format=(GstFormat)GST_FORMAT_TIME,
flags=(GstSeekFlags)GST_SEEK_FLAG_FLUSH+GST_SEEK_FLAG_SEGMENT,
cur-type=(GstSeekType)GST_SEEK_TYPE_SET, cur=(gint64)0,
stop-type=(GstSeekType)GST_SEEK_TYPE_END, stop=(gint64)0;: 0
0:00:00.267754000 29512 0x7fcb78411000 LOG                      bin
gstbin.c:2835:gboolean gst_bin_send_event(GstElement *, GstEvent *):<sink>
After handling seek event: 0
0:00:00.268578000 29512 0x7fcb78411000 DEBUG                    bin
gstbin.c:2862:gboolean gst_bin_send_event(GstElement *, GstEvent
*):<file-looper> Sending seek event to src pads

Am i on the right path?




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Identity-Element-in-silent-FALSE-mode-not-printing-anything-tp4666739p4666843.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list