imxvideoconvert_ipu convertion got problem with imxv4l2src?

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

imxvideoconvert_ipu convertion got problem with imxv4l2src?

1,205 Views
tutran
Contributor I

Hi there,

 

I have tested the the pipeline for cropping and rotation of imxvideoconvert_ipu on kernel 4.1.15 imx6qsabresd board. I got some issues that would like to confirm as below:

1. Max size supported for rotation is only 1024X1024.

Can anybody confirm me whether my understand is correct?

 

2. There is a problem when I try to cropping the data got from imxv4l2src. Below is my pipeline:

a) gst-launch-1.0 -v imxv4l2src device=/dev/video1 ! video/x-raw, format=I420,width=1920, height=1080, framerate=30/1 ! imxvideoconvert_ipu ! video/x-raw, width=1024, height=768 ! vpuenc_h264  gop-size=30 bitrate=2048 ! h264parse ! rtph264pay name=pay0 pt=96 timestamp-offset=0 ! udpsink host=192.168.0.100 port=1234 &

Please see my attached file for clearing about the issue with the image from client side.

 

If I try the same pipeline but change from imxv4l2src to videotestsrc, the displayed image from client side is very smooth and beautiful.

b) gst-launch-1.0 -v videotestsrc ! video/x-raw, format=I420,width=1920, height=1080, framerate=30/1 ! imxvideoconvert_ipu ! video/x-raw, width=1024, height=768 ! vpuenc_h264  gop-size=30 bitrate=2048 ! h264parse ! rtph264pay name=pay0 pt=96 timestamp-offset=0 ! udpsink host=192.168.0.100 port=1234 &

 

Please share me any hint where the issue comes from case a)

I would like to thank a lot for any support on this issue.

Original Attachment has been moved to: IMG_20160810_144709.zip

0 Kudos
3 Replies

688 Views
程辉鲍
Contributor I

Hi  Tu Tran,

 can  you  encode 1080p video streamer with 30fps, remotely transmit to the client ?

0 Kudos

688 Views
Yuri
NXP Employee
NXP Employee

Hello,


1.

  IMX6 IPU does not support rotation (limitation of IC module) above
1024x1024 ; so one needs to split image on smaller areas and rotate

them, after that combine to whole image (if IPU should be used).

2.
  Please check if Gstreamer element imxv4l2src supports the required

caps parameters, using the command below.

$ gst-inspect imxv4l2src

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

688 Views
tutran
Contributor I

Hi Yuri,

Thank you for your suggestion and confirmation

I already check the inspect of imxv4l2src, it support 1920x1080

There is a strange phenomenon in my trials with the same behavior, changing the captured image size from 1920x1080 to 1280x720. The green noise not happen anymore. There is no error in debug log in two cases.

Can you suggest any other hint for the issue?

0 Kudos