Dynamic PNG file replacement
Leon Pollak
leon.pollak at gmail.com
Tue Nov 15 09:00:30 UTC 2022
Hi, Tim-Philipp.
Thank you for your time.
I checked the gdkpixbufoverlay - here is what is written in the manual:
"Changing the image at runtime is currently not supported."
And this is exactly what I need...:-)
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.
Thank you.
On Mon, 14 Nov 2022 at 16:50, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20221115/9a3150b8/attachment.htm>
More information about the gstreamer-embedded
mailing list