<div>I can't really tell, but I would recommend trying to debug this yourself first <span data-emoji-typing="true">:)</span></div><br><div class="gmail_quote_attribution">On Apr 20 2022, at 11:03 am, amindfv@mailbox.org wrote:</div><blockquote><div><div>On Tue, Apr 19, 2022 at 11:38:45PM +0200, Mathieu Duponchelle via gstreamer-devel wrote:</div><div>> At a low level, the usual solution is to preroll the pipeline, then once that is done send a flushing seek.</div><div>></div><div>> nleurisource can take care of this process for you, for instance:</div><div>> 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</div><div>> Adapt to your use case as necessary :)</div><br><div>Thanks very much for your response! I find nleurisource works well with `gst-launch`, but when I replace "uridecodebin" with "nleurisource" in my .c file, I get an error:</div><br><div>Error received from element qtdemux1: Internal data stream error</div><br><div>Is there a clear sign from that error where the problem is? Or should I share my code?</div><br><div>Thanks,</div><div>Tom</div><br><br><div>> On Apr 19 2022, at 10:26 pm, amindfv--- via gstreamer-devel <gstreamer-devel@lists.freedesktop.org> wrote:</div><div>> > I've built a pipeline that looks something like this</div><div>> ></div><div>> > uridecodebin -\</div><div>> > >- filter - videoconvert - autovideosink</div><div>> > uridecodebin -/</div><div>> ></div><div>> > (I can provide code if needed)</div><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><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><div>> > gst_segment_clip: assertion 'segment->format == format' failed</div><div>> > and</div><div>> > gst_video_codec_frame_unref: assertion 'frame->ref_count > 0' failed</div><div>> > What's the correct way to construct a graph that begins partway into a decoded file?</div><div>> > Thanks!</div><div>> > Tom</div><div>> ></div><div>></div></div></blockquote>