Part Number: AM5728
Tool/software: Linux
Hi,
I am trying to overlay PNG images and text messege in real-time video stream, I'm testing with the following pipeline:
gst-launch-1.0 -v v4l2src device=/dev/video1 io-mode=2 ! jpegdec ! textoverlay text="TEXT1:ABC" halignment=4 valignment=3 deltax=100 deltay=100 ! gdkpixbufoverlay location=target.png offset-x=200 offset-y=200 overlay-width=240 overlay-height=320 alpha=0.8 ! waylandsink
When I run the above pipeline, I get an error:
(gst-launch-1.0:1787): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory
This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstGdkPixbufOverlay:gdkpixbufoverlay0: Could not load overlay image.
Additional debug info:
../../../gst-plugins-good-1.8.3/ext/gdk_pixbuf/gstgdkpixbufoverlay.c(508): gst_gdk_pixbuf_overlay_start (): /GstPipeline:pipeline0/GstGdkPixbufOverlay:gdkpixbufoverlay0:
Couldn't recognize the image file format for file 'target.png'
Setting pipeline to NULL ...
Freeing pipeline ...
Thank you
