<div dir="ltr">Thanks. They must be in sync. For instance, one of the streams is a presenter video, the second one is his/her mask and the 3rd one is an artificial background I would like to apply to the presenter video. So all of the streams must be in sync, including audio.<div><br>Looking forward to using support for alpha in webm in 1.20.<br></div><div><br></div><div>Regards,</div><div>Tomasz</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 31, 2022 at 8:55 AM Marianna Smidth Buschle <<a href="mailto:msb@qtec.com">msb@qtec.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Out of curiosity, why do you want it in a single pipeline?<br>
<br>
If you are just outputting them to their own video sinks why not to just <br>
have 2 pipelines, so that they don't interact with each other?<br>
<br>
Best Regards<br>
<br>
Marianna<br>
<br>
On 29.01.2022 00.30, <a href="mailto:gstreamer-devel-request@lists.freedesktop.org" target="_blank">gstreamer-devel-request@lists.freedesktop.org</a> wrote:<br>
> Hi,<br>
> I would like to use gstreamer to play multiple sources (for instance two<br>
> video files) simultaneously using a single pipeline but each video starting<br>
> from a different position, for instance first video from the beginning and<br>
> the second from the middle. Could someone guide me on how to achieve it?<br>
><br>
> Simplifying, my pipeline is an equivalent of:<br>
><br>
><br>
> This use case is better handled by GES, which offers ges-launch-1.0<br>
> command line to test.<br>
><br>
><br>
> <a href="https://gstreamer.freedesktop.org/documentation/gst-editing-services/?gi-language=c" rel="noreferrer" target="_blank">https://gstreamer.freedesktop.org/documentation/gst-editing-services/?gi-language=c</a><br>
><br>
> gst-launch-1.0 \<br>
> uridecodebin uri=file:///Users/tmikolaj/Downloads/videoalpha_video_dancer1.webm  ! videoconvert ! autovideosink \<br>
> uridecodebin uri=file:///Users/tmikolaj/Downloads/videoalpha_video_dancer1.webm  ! videoconvert ! autovideosink<br>
> , but created programmatically.<br>
> Obviously, a simple pipeline's seeking seeks two files at once.<br>
> I was trying to register a probe of the GST_PAD_PROBE_TYPE_EVENT_UPSTREAM type from inside the "pad-added" signal callback of the "uridecodebin" element. Inside the probe I wanted to catch the "GST_EVENT_SEEK" event and drop it for the first video. However, it seems that dropping the SEEK message leaves the pipeline in a "PAUSED" state and even an explicit state change to "PLAYING" does nothing.<br>
> Does anybody have some hints on how to solve that problem?<br>
><br>
> Regards,<br>
> Tomasz<br>
><br>
-- <br>
Best regards / Med venlig hilsen<br>
“Marianna Smidth Buschle”<br>
<br>
</blockquote></div>