Clockoverlay and image overlay in gstreamer using emboverlay plugin

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Clockoverlay and image overlay in gstreamer using emboverlay plugin

4,193 Views
jisjohn
Contributor I

Hello all,

I want to overlay an image and clock in a video stream which is being stored in a file and also displayed in an LCD screen, I am planning to use emboverlay plugin from gstreamer but this plugin is not available in the imx53 board, please let me know on how to install the plugin on the board.

Regards,

Jis

Labels (1)
0 Kudos
8 Replies

1,557 Views
LeonardoSandova
Specialist I

The problem with overlaying is that the CPU does the job, so depending on the resolution, the performance will vary (higher resolution, poorer performance). On gstreamer 0.10, there are other overlay elements (cairooverlay), give it a try.

0 Kudos

1,557 Views
joshkurland
Contributor IV

You can add gst-plugins-base-pango to your recipe to include the standard textoverlay feature from gst-0.10-base (see discussion here where I asked a similar question https://community.freescale.com/thread/315184). 

However I had very poor CPU performance with both pango and cairo using an imx6Q.  720p video with overlay played but was laggy, 1080i/p was not watchable.  Leonardo, do you know if it is possible to push the overlay onto the IPU? 

0 Kudos

1,557 Views
LeonardoSandova
Specialist I

Yes, that could be an option, however we need an expert opinion. rogeriopimentel

0 Kudos

1,557 Views
rogerio_silva
NXP Employee
NXP Employee

jisjohn, could you please provide more details about what you want to do?

Do you want to save on file a video stream + graphics overlay and show on display at the same time?

0 Kudos

1,557 Views
jisjohn
Contributor I

Hi, rogeriopimentel

I want to stream a video from camera and put a clock overlay and an image overlay on the same and store the video with clock and image overlay to a file, I should be able to change the overlay image dynamically.

for clock overlay I tried using the clock overlay in gstreamer and i was facing the high cpu usage issue with loss in frames.

please find below  my previous posts regarding the same.

clockoverlay in gstreamer.

0 Kudos

1,557 Views
rogerio_silva
NXP Employee
NXP Employee

Hi Jis John,

i.MX53 allows you to perform combining on VDIC (Video de-interlace) block inside IPU, but I don't know if some available plugin has it implemented (I don't think so).

0 Kudos

1,557 Views
jisjohn
Contributor I

Hello Rogeriopimentel,

Can you please help on putting an image and clock overlay on the video using VDIC block in i.MX53 so that we will be achieving a continuous videostream with overlay while using gstreamer for recording and streaming.


Regards,


Jis

0 Kudos

1,557 Views
rogerio_silva
NXP Employee
NXP Employee

Hi Jis,

I have check the latest kernel for i.MX53 and the driver to use VDIC as video combiner is not ready. If you want to use this approach, you will need to develop the driver, contact a 3rd party company or contact Freescale Professional Services.

I don't have much experience with gstreamer. LeonardoSandovalGonzalez, if you have some comment/idea about gstreamer, please let us know.

rgds

Rogerio

0 Kudos