<div dir="auto">Hello, could you share you project with the assets?<div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Regards</div><div dir="auto"><br></div><div dir="auto">Thibault<br><div dir="auto"><br></div><div dir="auto"><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 10, 2018, 01:01 David Ing <<a href="mailto:ding@panopto.com">ding@panopto.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I forgot to say that the log messages appear at the time of each slide transition.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 9, 2018 at 9:58 PM, David Ing <span dir="ltr"><<a href="mailto:ding@panopto.com" target="_blank" rel="noreferrer">ding@panopto.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I wrote a sample application to demonstrates a problem that I'm having with GES:<div><br><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><a href="https://github.com/adaviding/gstreamer-playground/blob/680b203603ffa35e27493e28fe1620edacb8d655/ges-slide-composition/main.cpp" target="_blank" rel="noreferrer">https://github.com/adaviding/gstreamer-playground/blob/680b203603ffa35e27493e28fe1620edacb8d655/ges-slide-composition/main.cpp</a></div><div><br></div></blockquote></div><div>The problem is with scenario #2 only, and I observe the problem running on Windows 10 with GES 1.12.4 and 1.14.2.  I have only tried this on Windows.</div><div><br></div><div>Scenario 1 (

<b style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font face="monospace, monospace">#define INCLUDE_FOREGROUND_VIDEO false</font></b>

)</div><div><ul><li>The sample application builds a video consisting of 5 jpeg images (i.e. "slides").  Each slide is up for 2 seconds so the movie is 10 seconds long.  There is no audio in the sample application, and no audio track.</li></ul><div>

<span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Scenario 2 (</span><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span></span><b style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255)"><font face="monospace, monospace">#define INCLUDE_FOREGROUND_VIDEO true</font></b><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span></span><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">)</span>

<br></div></div><div><ul><li>This is just like scenario 1, but there is also a picture-in-picture style video in the corner of the screen, in front of the slides.  I am using a video which has no audio track.</li></ul><div>The problem is that in scenario #2, during the slide transition (which occurs every 2 seconds), the screen goes black for a fraction of a second.  Interestingly, the foreground video does not go black ... only the portion of the screen subtended by the slides does this (which is most of the screen).  And this happens for every slide transition.</div></div><div><br></div><div>Some other things to note about my application.</div><div><ul><li>I am using a GESTimeline with a GstPipeline (not GESPipeline) because I need to encode the composition in many different ways.  Computational efficiency is of paramount importance, which means I only want to execute the pipeline once.  I cannot achieve this using a GESPipeline, so I need to use a GstPipeline<br></li><li>I wired the NleComposition "query-position" signal so that it fetches the current position of the GstPipeline.</li></ul>Running with <font face="monospace, monospace"><b>--gst-debug=3</b></font>, I observe the following logs under each scenario.</div><div><ul><li>No highlights = the log appears in both scenarios.</li><li><span style="background-color:rgb(255,242,204)">Yellow highlights</span> = the log only appears in scenario #2.</li><li><span style="background-color:rgb(244,204,204)">Pink highlights</span> = the log appears in both scenarios, but is being repeated more often.</li></ul></div><div><br></div><div><div>Scenario 1:</div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div><div><font face="monospace, monospace">0:00:09.110542588 13280 0000016292B0B940 WARN              aggregator gstaggregator.c:1397:gst_aggregator_query_latency_unlocked:<gessmartmixer0-compositor> Latency query failed</font></div><div><font face="monospace, monospace">0:00:09.110791659 13280 0000016292B0BD00 WARN                 GST_URI gsturi.c:837:gst_file_utils_canonicalise_path: FIXME: canonicalise win32 path</font></div><div><font face="monospace, monospace">0:00:09.113365512 13280 0000016292B0BD00 WARN                 basesrc gstbasesrc.c:3480:gst_base_src_start_complete:<source> pad not activated yet</font></div><div><font face="monospace, monospace">0:00:09.115511241 13280 0000016292B0BD00 WARN                 basesrc gstbasesrc.c:3480:gst_base_src_start_complete:<source> pad not activated yet</font></div><div><font face="monospace, monospace">0:00:09.118815897 13280 0000016292D3CD00 FIXME           videodecoder gstvideodecoder.c:928:gst_video_decoder_drain_out:<jpegdec9> Sub-class should implement drain()</font></div><div><font face="monospace, monospace">0:00:09.120799711 13280 0000016292D3CD00 FIXME           videodecoder gstvideodecoder.c:928:gst_video_decoder_drain_out:<jpegdec9> Sub-class should implement drain()</font></div><div><font face="monospace, monospace">0:00:09.121881327 13280 0000016292D3CD00 WARN            videodecoder gstvideodecoder.c:2438:gst_video_decoder_chain:<jpegdec9> Received buffer without a new-segment. Assuming timestamps start from 0.</font></div></div></div></blockquote><div><div><br></div><div>Scenario 2:<br></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div><div><font face="monospace, monospace">0:00:09.250672090 16592 000001F366DE7200 WARN              aggregator gstaggregator.c:1397:gst_aggregator_query_latency_unlocked:<gessmartmixer0-compositor> Latency query failed</font></div><div><font face="monospace, monospace">0:00:09.250841298 16592 000001F366DECE40 WARN                 GST_URI gsturi.c:837:gst_file_utils_canonicalise_path: FIXME: canonicalise win32 path</font></div><div><font face="monospace, monospace">0:00:09.253852393 16592 000001F366DECE40 WARN                 basesrc gstbasesrc.c:3480:gst_base_src_start_complete:<source> pad not activated yet</font></div><div><font face="monospace, monospace">0:00:09.255128014 16592 000001F366DECE40 WARN                 basesrc gstbasesrc.c:3480:gst_base_src_start_complete:<source> pad not activated yet</font></div><div><font face="monospace, monospace" style="background-color:rgb(244,204,204)">0:00:09.256701573 16592 000001F366DECE40 WARN                 GST_URI gsturi.c:837:gst_file_utils_canonicalise_path: FIXME: canonicalise win32 path</font></div><div><font face="monospace, monospace" style="background-color:rgb(255,242,204)">0:00:09.257970631 16592 000001F366DECAC0 WARN                 qtdemux qtdemux_types.c:228:qtdemux_type_get: unknown QuickTime node type uuid</font></div><div><font face="monospace, monospace" style="background-color:rgb(255,242,204)">0:00:09.262471410 16592 000001F366DECAC0 WARN                 qtdemux qtdemux_types.c:228:qtdemux_type_get: unknown QuickTime node type pasp</font></div><div><font face="monospace, monospace" style="background-color:rgb(244,204,204)">0:00:09.258281331 16592 000001F366DECE40 WARN                 basesrc gstbasesrc.c:3480:gst_base_src_start_complete:<source> pad not activated yet</font></div><div><font face="monospace, monospace" style="background-color:rgb(244,204,204)">0:00:09.263756148 16592 000001F366DECAC0 WARN                 qtdemux qtdemux.c:3017:qtdemux_parse_trex:<qtdemux5> failed to find fragment defaults for stream 1</font></div><div><font face="monospace, monospace" style="background-color:rgb(244,204,204)">0:00:09.265397171 16592 000001F366DECE40 WARN                 basesrc gstbasesrc.c:3480:gst_base_src_start_complete:<source> pad not activated yet</font></div><div><font face="monospace, monospace" style="background-color:rgb(255,242,204)">0:00:09.266319062 16592 000001F366DECAC0 WARN                 basesrc gstbasesrc.c:2389:gst_base_src_update_length:<source> processing at or past EOS</font></div><div><font face="monospace, monospace">0:00:09.268796277 16592 000001F366F6A500 FIXME           videodecoder gstvideodecoder.c:928:gst_video_decoder_drain_out:<jpegdec9> Sub-class should implement drain()</font></div><div><font face="monospace, monospace">0:00:09.273111438 16592 000001F366F6A500 FIXME           videodecoder gstvideodecoder.c:928:gst_video_decoder_drain_out:<jpegdec9> Sub-class should implement drain()</font></div><div><font face="monospace, monospace">0:00:09.274373567 16592 000001F366F6A500 WARN            videodecoder gstvideodecoder.c:2438:gst_video_decoder_chain:<jpegdec9> Received buffer without a new-segment. Assuming timestamps start from 0.</font></div><div><font face="monospace, monospace" style="background-color:rgb(255,242,204)">0:00:09.313360990 16592 000001F366CFBD00 WARN                GST_PADS gstpad.c:4161:gst_pad_peer_query:<queue11:src> could not send sticky events</font></div><div><font face="monospace, monospace" style="background-color:rgb(255,242,204)">0:00:09.315771835 16592 000001F366DE7D00 WARN              aggregator gstaggregator.c:1397:gst_aggregator_query_latency_unlocked:<gessmartmixer0-compositor> Latency query failed</font></div></div></div></blockquote><div><div><br></div></div><div>Does anybody know how I might fix the problem with scenario #2?</div></div>
</blockquote></div><br></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>