<div>At a low level, the usual solution is to preroll the pipeline, then once that is done send a flushing seek. </div><br><div>nleurisource can take care of this process for you, for instance:</div><br><div><font style="font-family:monospace">gst-launch-1.0 nleurisource uri=file:///home/meh/Videos/the-great-gatsby-720p-trailer.mov inpoint=10000000000 duration=10000000000 caps="video/x-raw(ANY)" ! videoconvert ! autovideosink</font></div><br><div>Adapt to your use case as necessary <span data-emoji-typing="true">:)</span></div><div class="gmail_quote_attribution">On Apr 19 2022, at 10:26 pm, amindfv--- via gstreamer-devel <gstreamer-devel@lists.freedesktop.org> wrote:</div><blockquote><div><div>I've built a pipeline that looks something like this</div><br><div>uridecodebin -\</div><div>>- filter - videoconvert - autovideosink</div><div>uridecodebin -/</div><br><div>(I can provide code if needed)</div><br><div>Which works well. My problem comes in, though, when I want to start the two uridecodebins at a certain point in their files (for example, starting 10 seconds in and running for 30 seconds).</div><br><div>I've been sending a segment seek event (to each uridecodebin) immediately after linking the uridecodebin video pad to the filter, but I get segfaults and other errors, e.g.:</div><br><div>gst_segment_clip: assertion 'segment->format == format' failed</div><br><div>and</div><br><div>gst_video_codec_frame_unref: assertion 'frame->ref_count > 0' failed</div><br><div>What's the correct way to construct a graph that begins partway into a decoded file?</div><br><div>Thanks!</div><div>Tom</div></div></blockquote><img class="mailspring-open" alt="Sent from Mailspring" width="0" height="0" style="border:0; width:0; height:0;" src="https://link.getmailspring.com/open/40EDA3B3-11DF-4F05-BBDA-615BBAC1B04F@getmailspring.com?me=4936751b&recipient=Z3N0cmVhbWVyLWRldmVsQGxpc3RzLmZyZWVkZXNrdG9wLm9yZw%3D%3D">