<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">Hi, Tim-Philipp.</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">Thank you for your time.</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">I checked the gdkpixbufoverlay - here is what is written in the manual:</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"><span style="font-family:"Source Sans Pro","Source Sans",sans-serif;font-size:14px;background-color:rgb(238,238,238)">"Changing the image at runtime is currently not supported."</span><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">And this is exactly what I need...:-)</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">Changing videomixer to compositor is the nice idea, I will do this, but it doesn't solve the main problem - dynamic change of the OSD picture.</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">Thank you.</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 14 Nov 2022 at 16:50, Tim-Philipp Müller <<a href="mailto:t.i.m@zen.co.uk">t.i.m@zen.co.uk</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">On Mon, 2022-11-14 at 16:14 +0200, Leon Pollak wrote:<br>
<br>
Hi Leon,<br>
<br>
> I am using GST 1.0 on the TI AM5728 EVM board.<br>
> I wrote the C-program using the GST elements which needs to play my<br>
> MP4 file and also make OSD of several pictures in PNG format -<br>
> superimpose pictures on video.<br>
> <br>
> For this I used the following schema in the application:<br>
> (snip pipeline with videomixer)<br>
> Everything works fine. <br>
> <br>
> The question is how can I replace in the application one PNG file<br>
> with another dynamically with minimal disturbance of the MP4 file<br>
> playback process?<br>
<br>
Just out of curiosity - have you tried the gdkpixbufoverlay element? <br>
<br>
It should allow you to change the "location" (for file) or "pixbuf"<br>
(for loaded GdkPixbuf object) property at runtime, and might have lower<br>
cpu usage than a full videomixer.<br>
<br>
If you keep the videomixer approach you may want to use the<br>
"compositor" element instead which is a replacement for the old<br>
videomixer element.<br>
<br>
Cheers<br>
Tim<br>
</blockquote></div>