AW: AW: AW: AW: AW: AW: AW: Video break when using with splitmuxsink

Thornton, Keith keith.thornton at zeiss.com
Thu Sep 3 05:56:22 UTC 2020


Hi,
remove the code where you send eos to the individual elements leaving only the line in which you send the eos to the pipeline. When you then look at the debug output you should see that the first element in the pipeling gets the eos first and that the downstream elements follow. 
Gruesse

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> Im Auftrag von ToanVnET
Gesendet: Mittwoch, 2. September 2020 19:24
An: gstreamer-devel at lists.freedesktop.org
Betreff: Re: AW: AW: AW: AW: AW: AW: Video break when using with splitmuxsink

Yes. I can. 
This is debug output level 4: [I cut some duplicate content]

====== IMXV4L2SRC: 4.1.6 build on Aug 17 2020 17:13:43. ======
0:00:00.403524667 20016 0x56088e40 INFO               GST_EVENT
gstevent.c:1382:gst_event_new_reconfigure: creating reconfigure event
0:00:00.403896667 20016 0x56088e40 INFO               GST_EVENT
gstpad.c:5622:gst_pad_send_event_unchecked:<imxv4l2src0:src> Received event on flushing pad. Discarding
0:00:00.407062000 20016 0x56088e40 INFO               GST_EVENT
gstevent.c:1382:gst_event_new_reconfigure: creating reconfigure event
0:00:00.407375333 20016 0x56088e40 INFO               GST_EVENT
gstpad.c:5622:gst_pad_send_event_unchecked:<capsfilter0:src> Received event on flushing pad. Discarding
0:00:00.408146333 20016 0x56088e40 INFO               GST_EVENT
gstevent.c:1382:gst_event_new_reconfigure: creating reconfigure event
0:00:00.408408333 20016 0x56088e40 INFO               GST_EVENT
gstpad.c:5622:gst_pad_send_event_unchecked:<vpuenc_h264-0:src> Received event on flushing pad. Discarding
0:00:00.410748333 20016 0x56088e40 INFO               GST_EVENT
gstevent.c:1382:gst_event_new_reconfigure: creating reconfigure event
0:00:00.411112333 20016 0x56088e40 INFO               GST_EVENT
gstpad.c:5622:gst_pad_send_event_unchecked:<multiqueue:src_0> Received event on flushing pad. Discarding
0:00:00.411956333 20016 0x56088e40 INFO               GST_EVENT
gstevent.c:1382:gst_event_new_reconfigure: creating reconfigure event
0:00:00.413363667 20016 0x56088e40 INFO               GST_EVENT
gstpad.c:5622:gst_pad_send_event_unchecked:<h264parse0:src> Received event on flushing pad. Discarding
0:00:00.414714000 20016 0x56088e40 INFO               GST_EVENT
gstevent.c:1382:gst_event_new_reconfigure: creating reconfigure event
0:00:00.415053667 20016 0x56088e40 INFO               GST_EVENT
gstpad.c:5622:gst_pad_send_event_unchecked:<muxer:src> Received event on flushing pad. Discarding [INFO]  Product Info: i.MX6Q/D/S ====== VPUENC: 4.1.6 build on Aug 17 2020 17:13:59. ======
        wrapper: 1.0.68 (VPUWRAPPER_ARM_LINUX Build on Aug 17 2020 15:52:15)
        vpulib: 5.4.35
        firmware: 3.1.1.570363

...

0:00:00.573036000 20016 0x56088e40 INFO               GST_EVENT
gstevent.c:1253:gst_event_new_latency: creating latency event
0:00:00.000000000
0:00:00.578725333 20016 0x560478f0 INFO               GST_EVENT
gstevent.c:679:gst_event_new_caps: creating caps event video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720,
framerate=(fraction)30/1
0:00:01.393626000 20016 0x560478f0 INFO               GST_EVENT
gstevent.c:760:gst_event_new_segment: creating segment event time segment start=0:00:00.000000000, offset=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration
99:99:99.999999999
[INFO]  ringBufferEnable 0, chromaInterleave 1, mapType 0, linear2TiledEnable 0 [WARN]  VPU iram is less than needed, some parts don't use iram
0:00:01.803796667 20016 0x560478f0 INFO               GST_EVENT
gstevent.c:679:gst_event_new_caps: creating caps event video/x-h264, width=(int)1280, height=(int)720, stream-format=(string)avc, alignment=(string)au, framerate=(fraction)30/1, codec_data=(buffer)0142401fffe100096742401fa6805005b901000468ce3880,
pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true, profile=(string)constrained-baseline, level=(string)3.1
0:00:01.805094333 20016 0x560478f0 INFO               GST_EVENT
gstevent.c:760:gst_event_new_segment: creating segment event time segment start=0:00:00.000000000, offset=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration
99:99:99.999999999
0:00:02.731437000 20016 0x56047a90 INFO               GST_EVENT
gstevent.c:679:gst_event_new_caps: creating caps event video/quicktime, variant=(string)iso
0:00:02.743947000 20016 0x56047a90 INFO               GST_EVENT
gstevent.c:760:gst_event_new_segment: creating segment event bytes segment start=0, offset=0, stop=-1, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0, base=0, position 0, duration -1
0:00:13.122608001 20016 0x56088e40 INFO               GST_EVENT
gstpad.c:5622:gst_pad_send_event_unchecked:<splitmuxsink0:video> Received event on flushing pad. Discarding

And this is debug output level 5 when I stop  the pipeline: 

0:00:14.927594335 20227 0x55ce3e40 DEBUG              GST_EVENT
gstevent.c:302:gst_event_new_custom: creating new event 0x55b6b170 eos 28174
0:00:14.946297335 20227 0x55ce3e40 DEBUG              GST_EVENT
gstevent.c:302:gst_event_new_custom: creating new event 0x55b6b128 eos 28174
0:00:14.946422335 20227 0x55ce3e40 DEBUG              GST_EVENT
gstevent.c:302:gst_event_new_custom: creating new event 0x55b6b0e0 eos 28174
0:00:14.946506335 20227 0x55ce3e40 DEBUG              GST_EVENT
gstevent.c:302:gst_event_new_custom: creating new event 0x55b6b098 eos 28174
0:00:14.946583668 20227 0x55ce3e40 DEBUG              GST_EVENT
gstevent.c:302:gst_event_new_custom: creating new event 0x55b6b050 eos 28174
0:00:14.946658002 20227 0x55ce3e40 DEBUG              GST_EVENT
gstevent.c:302:gst_event_new_custom: creating new event 0x55b6b008 eos 28174
0:00:14.946733335 20227 0x55ce3e40 DEBUG              GST_EVENT
gstevent.c:302:gst_event_new_custom: creating new event 0x55b6af60 eos 28174
0:00:14.946809002 20227 0x55ce3e40 DEBUG              GST_EVENT
gstevent.c:302:gst_event_new_custom: creating new event 0x55b6af60 eos 28174
0:00:14.946920002 20227 0x55ce3e40 DEBUG              GST_EVENT
gstevent.c:302:gst_event_new_custom: creating new event 0x55b6b008 eos 28174
0:00:14.949387668 20227 0x55ce3e40 DEBUG              GST_EVENT
gstevent.c:302:gst_event_new_custom: creating new event 0x55b6b050 eos 28174

0:00:14.949892002 20227 0x55ce3e40 DEBUG              GST_EVENT
gstpad.c:5517:gst_pad_send_event_unchecked:<splitmuxsink0:video> have event type eos event: 0x55b6b050, time 99:99:99.999999999, seq-num 8610, (NULL)
0:00:14.950435002 20227 0x55ce3e40 INFO               GST_EVENT
gstpad.c:5622:gst_pad_send_event_unchecked:<splitmuxsink0:video> Received event on flushing pad. Discarding
0:00:14.951042002 20227 0x55ce3e40 DEBUG              GST_EVENT
gstevent.c:302:gst_event_new_custom: creating new event 0x55b6b098 eos 28174
0:00:14.951594668 20227 0x55ce3e40 DEBUG              GST_EVENT
gstpad.c:5517:gst_pad_send_event_unchecked:<capsfilter0:sink> have event type eos event: 0x55b6b098, time 99:99:99.999999999, seq-num 8611, (NULL)
0:00:14.951859002 20227 0x55ce3e40 DEBUG              GST_EVENT
gstpad.c:5517:gst_pad_send_event_unchecked:<vpuenc_h264-0:sink> have event type eos event: 0x55b6b098, time 99:99:99.999999999, seq-num 8611, (NULL)
0:00:14.952538668 20227 0x55ce3e40 DEBUG              GST_EVENT
gstpad.c:5517:gst_pad_send_event_unchecked:<h264parse0:sink> have event type eos event: 0x55b6b098, time 99:99:99.999999999, seq-num 8611, (NULL)
0:00:14.950342002 20227 0x55ca28f0 DEBUG              GST_EVENT
gstpad.c:5517:gst_pad_send_event_unchecked:<textoverlay:video_sink> have event type eos event: 0x55b6b170, time 99:99:99.999999999, seq-num 8587,
(NULL)
0:00:14.953315335 20227 0x55ca28f0 DEBUG              GST_EVENT
gstpad.c:5517:gst_pad_send_event_unchecked:<capsfilter0:sink> have event type eos event: 0x55b6b170, time 99:99:99.999999999, seq-num 8587, (NULL)
0:00:14.953753335 20227 0x55ce3e40 DEBUG              GST_EVENT
gstpad.c:5517:gst_pad_send_event_unchecked:<splitmuxsink0:video> have event type eos event: 0x55b6b098, time 99:99:99.999999999, seq-num 8611, (NULL)
0:00:14.953990335 20227 0x55ce3e40 INFO               GST_EVENT
gstpad.c:5622:gst_pad_send_event_unchecked:<splitmuxsink0:video> Received event on flushing pad. Discarding
0:00:14.954883668 20227 0x55ce3e40 DEBUG              GST_EVENT
gstevent.c:302:gst_event_new_custom: creating new event 0x55b6b0e0 eos 28174
0:00:14.955373668 20227 0x55ce3e40 DEBUG              GST_EVENT
gstpad.c:5517:gst_pad_send_event_unchecked:<vpuenc_h264-0:sink> have event type eos event: 0x55b6b0e0, time 99:99:99.999999999, seq-num 8612, (NULL)
0:00:14.956013335 20227 0x55ce3e40 DEBUG              GST_EVENT
gstevent.c:302:gst_event_new_custom: creating new event 0x55b6b128 eos 28174
0:00:14.956592668 20227 0x55ce3e40 DEBUG              GST_EVENT
gstpad.c:5517:gst_pad_send_event_unchecked:<h264parse0:sink> have event type eos event: 0x55b6b128, time 99:99:99.999999999, seq-num 8613, (NULL)
0:00:14.957167002 20227 0x55ce3e40 DEBUG              GST_EVENT
gstevent.c:302:gst_event_new_custom: creating new event 0x55b6b1b8 eos 28174

Thank you for your help. I very appreciate that !



--
Sent from: https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgstreamer-devel.966125.n4.nabble.com%2F&data=02%7C01%7C%7Cb8371df66ec146031da308d84f6e598b%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637346682648934817&sdata=sSYHyvkAD6bVg3UlEA63eZnZhrL0URDtlB3n6CgoE38%3D&reserved=0
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fgstreamer-devel&data=02%7C01%7C%7Cb8371df66ec146031da308d84f6e598b%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637346682648934817&sdata=jzWiStlqtdDf%2F61fXulC8ZSFgiCBX%2BwSGet0G%2Fsbm3o%3D&reserved=0


More information about the gstreamer-devel mailing list