meta-freescale.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* IMX Gstreamer and image overlay
@ 2020-04-01 14:35 Mauro Ziliani
  0 siblings, 0 replies; only message in thread
From: Mauro Ziliani @ 2020-04-01 14:35 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 717 bytes --]

Hi all.


I need to mask a v4l2 stream with a png image.

I do that applying gdkpixbufoverlay before final imxv4l2sink, but the 
stream is very slow and a lot of frames are lost.ù


There is way to mask the stream using IPU or other hardware processor?


The board is equiped with imx6dl


This is the actual pipeline

#!/bin/sh

gst-launch-1.0 imxv4l2src device=/dev/video0 \
         ! capsfilter caps="video/x-raw, width=640, height=480" \
         ! imxvideoconvert_g2d rotation=4 \
         ! gdkpixbufoverlay location=mask.png \
         ! imxv4l2sink overlay-width=800 overlay-height=600 
overlay-left=235 overlay-top=65 enable-last-sample=true name=sink


Best regards,

   MZ


[-- Attachment #2: Type: text/html, Size: 1346 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-01 14:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-01 14:35 IMX Gstreamer and image overlay Mauro Ziliani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).