GStreamer element multifilesrc does not throw EOS with stop-index parameter set

Marcus mark.adamson at omgplc.com
Thu Dec 3 03:33:24 PST 2015


That's fair enough. I have activated the GST_DEBUG on my pipeline.

With stop-index set, I get the following output:

GST_PADS gstpad.c:3554:gst_pad_event_default_dispatch:<avimux0:video_00>
Sending event 0x16b78b0 (tag) to all internally linked pads
0:00:02.946719402  1037      0x16b7800 INFO               h264parse
gsth264parse.c:1137:gst_h264_parse_update_src_caps:<h264parse0> setting
framerate in caps
0:00:02.946788159  1037      0x16b7800 INFO               baseparse
gstbaseparse.c:3234:gst_base_parse_set_latency:<h264parse0> min/max latency
0:00:00.200000000, 0:00:00.200000000
0:00:02.946850722  1037      0x16b7800 INFO                GST_PADS
gstpad.c:3554:gst_pad_event_default_dispatch:<avimux0:video_00> Sending
event 0x16b78b0 (tag) to all internally linked pads
0:00:03.247947224  1037      0x16b7800 INFO                GST_PADS
gstpad.c:3554:gst_pad_event_default_dispatch:<avimux0:video_00> Sending
event 0x16b78b0 (tag) to all internally linked pads
0:00:03.428127717  1037      0x16b7800 INFO                GST_PADS
gstpad.c:3554:gst_pad_event_default_dispatch:<avimux0:video_00> Sending
event 0x16b78b0 (tag) to all internally linked pads
0:00:03.671530817  1037      0x16b7800 INFO                GST_PADS
gstpad.c:3554:gst_pad_event_default_dispatch:<avimux0:video_00> Sending
event 0x16b78b0 (tag) to all internally linked pads
0:00:03.861473919  1037      0x16b7800 INFO                GST_PADS
gstpad.c:3554:gst_pad_event_default_dispatch:<avimux0:video_00> Sending
event 0x16b78b0 (tag) to all internally linked pads
0:00:04.213566287  1037      0x16b7800 INFO                GST_PADS
gstpad.c:3554:gst_pad_event_default_dispatch:<avimux0:video_00> Sending
event 0x16b78b0 (tag) to all internally linked pads
0:00:04.400715503  1037      0x16b7800 INFO                GST_PADS
gstpad.c:3554:gst_pad_event_default_dispatch:<avimux0:video_00> Sending
event 0x16b78b0 (tag) to all internally linked pads
0:00:04.852917625  1037      0x16b7800 INFO                GST_PADS
gstpad.c:3554:gst_pad_event_default_dispatch:<avimux0:video_00> Sending
event 0x16b78b0 (tag) to all internally linked pads
0:00:05.018448277  1037      0x16b7800 INFO                GST_PADS
gstpad.c:3554:gst_pad_event_default_dispatch:<avimux0:video_00> Sending
event 0x16b78b0 (tag) to all internally linked pads
0:00:05.200358262  1037      0x16b7800 INFO                GST_PADS
gstpad.c:3554:gst_pad_event_default_dispatch:<avimux0:video_00> Sending
event 0x16b78b0 (tag) to all internally linked pads
0:00:05.266578561  1037      0x16b7800 INFO               h264parse
gsth264parse.c:1137:gst_h264_parse_update_src_caps:<h264parse0> setting
framerate in caps
0:00:05.266680768  1037      0x16b7800 INFO               baseparse
gstbaseparse.c:3234:gst_base_parse_set_latency:<h264parse0> min/max latency
0:00:00.200000000, 0:00:00.200000000

Clearly an EOS is not sent, I just get Sending event 0x16b78b0 (tag) to all
internally linked pads, continuously, until I ctl C.


However, when I don't use stop-index parameter, I get this output:

New clock: GstSystemClock
0:00:02.073319330  1052       0xec1400 INFO                GST_PADS
gstpad.c:3554:gst_pad_event_default_dispatch:<avimux0:video_00> Sending
event 0xec14b0 (tag) to all internally linked pads
0:00:02.073429953  1052       0xec1400 INFO                GST_PADS
gstpad.c:3554:gst_pad_event_default_dispatch:<h264parse0:sink> Sending event
0xec7e90 (eos) to all internally linked pads
0:00:02.073525245  1052       0xec1400 INFO               GST_EVENT
gstevent.c:606:gst_event_new_new_segment_full: creating newsegment update 0,
rate 1.000000, format bytes, start 0, stop -1, position 0
0:00:02.073572978  1052       0xec1400 INFO               GST_EVENT
gstevent.c:606:gst_event_new_new_segment_full: creating newsegment update 0,
rate 1.000000, format bytes, start 902654, stop -1, position 902654
Got EOS from element "pipeline0".

This sends a Sending event 0xec7e90 (eos) to all internally linked pads.

If I wanted to send a manual EOS after the stop-index has been reached, what
should I be looking out for to know when to send this GST_MESSAGE?



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/GStreamer-element-multifilesrc-does-not-throw-EOS-with-stop-index-parameter-set-tp4674729p4674736.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list