Increase the framerate in mipi camera video streaming and how to add overlay in the video

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

Increase the framerate in mipi camera video streaming and how to add overlay in the video

1,041 Views
kenizgandhi
Contributor III

Hello, 

I am using i.MX8MP evk board with minisastocsi accessory. 

Currently I am getting framerate as 30 fps but I want to increase it to 60 fps.

Can you please tell me how to do it? 

And I want to add graphics/menu overlay in a video, can you please tell me to do this step too ?

Thank You.

Kind Regards,

Keniz Pankajkumar Gandhi

0 Kudos
4 Replies

1,024 Views
joanxie
NXP TechSupport
NXP TechSupport

what's your camera resolution?

0 Kudos

1,017 Views
kenizgandhi
Contributor III

Hello @joanxie,

Resolution of my camera is 1920 x 1080. 

I want to add menu overlay in the video. I am able to add text overlay.

Thank You.

Kind Regards,

Keniz

0 Kudos

1,006 Views
joanxie
NXP TechSupport
NXP TechSupport

do you mean encoding frame rate? I have tested on my 8mp board, the testing is more than 1080p@60 h.264 encoding

for overlay, pls refer to the chapter 7.3.1.6.3 Multiple videos overlay of linux user guide

 

0 Kudos

927 Views
kenizgandhi
Contributor III

Hello @joanxie,

 

using these commands, I am still getting framerate as 30 fps. 

Encoding : gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 ! video/x-raw,width=1280,height=720,framerate=30/1 ! vpuenc_h264 ! avimux ! filesink location=test1_h264.avi

Decoding : gst-launch-1.0 filesrc location=test1_h264.avi ! queue ! h264parse ! vpudec ! imxvideoconvert_g2d ! queue ! autovideosink

Can you please check if I am using the wrong commands?

Thank You. 

0 Kudos