lli.MX8M Mini: How to crop picture in gstreamer?

cancel
Showing results for 
Search instead for 
Did you mean: 

lli.MX8M Mini: How to crop picture in gstreamer?

Jump to solution
112 Views
luotong
Contributor II

Hi,all
I'am doing some multimedia application on i.MX8M Mini evk board with Linux OS, now I can capture video from v4l2src througth gstreamer. Here is my gst-launch command:
   gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1280,height=720 ! tee name=t t. ! vpuenc_h264 ! rtph264pay ! udpsink host=192.168.1.170 port=1234 t.! vpuenc_h264 ! rtph264pay ! udpsink host=192.168.1.170 port=5678 sync=false async=false

There is two pipeline after tee element, now I want to crop interest zone from original picture before vpuenc_h264 encode, Can you give me advices?

0 Kudos
1 Solution
102 Views
luotong
Contributor II

I found videocrop plugin can do this job, but it doesn't use any hardware accelerator or DMA, so it's not high efficiency.

View solution in original post

2 Replies
103 Views
luotong
Contributor II

I found videocrop plugin can do this job, but it doesn't use any hardware accelerator or DMA, so it's not high efficiency.

View solution in original post

23 Views
prasad_imx8
Contributor I

Hello, Did you use the videocrop element in gstreamer?

0 Kudos