On Mon, 2022-11-14 at 16:14 +0200, Leon Pollak wrote: Hi Leon, > I am using GST 1.0 on the TI AM5728 EVM board. > I wrote the C-program using the GST elements which needs to play my > MP4 file and also make OSD of several pictures in PNG format - > superimpose pictures on video. > > For this I used the following schema in the application: > (snip pipeline with videomixer) > Everything works fine. > > The question is how can I replace in the application one PNG file > with another dynamically with minimal disturbance of the MP4 file > playback process? Just out of curiosity - have you tried the gdkpixbufoverlay element? It should allow you to change the "location" (for file) or "pixbuf" (for loaded GdkPixbuf object) property at runtime, and might have lower cpu usage than a full videomixer. If you keep the videomixer approach you may want to use the "compositor" element instead which is a replacement for the old videomixer element. Cheers Tim