IMX8MM - aspect ration

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX8MM - aspect ration

68 Views
santhosh2
Contributor IV
Hello, I am trying to change the aspect ration and seems thats its working but i am seeing lot of dataloss and there is delay. How to do this properly gst-variable-rtsp-server -p 554 -m /video_1 -u "v4l2src device=/dev/video0 ! video/x-raw,width=1920,height=1080 ! videoscale ! video/x-raw,width=1280,height=800, pixel-aspect-ratio=11/10 ! videoconvert ! vpuenc_h264 ! rtph264pay pt=96 name=pay0" Regards Santhosh
0 Kudos
3 Replies

56 Views
joanxie
NXP TechSupport
NXP TechSupport

why did you set pixel-aspect-ratio as 11/10? any reason or you just want to test this? normally we use the command pixel-aspect-ratio=(fraction)1/1 in the command, if you want to change this, you also can add this parameter in the dts file.

0 Kudos

46 Views
santhosh2
Contributor IV

joanxie

Can you please help me to locate in dts file where to add

 

Regards

Santhosh

Tags (1)
0 Kudos

35 Views
joanxie
NXP TechSupport
NXP TechSupport

I don't know what panel you use which need such aspect ration, but you can refer to the patch as below, how to add the ration you need to the API

"https://lists.freedesktop.org/archives/dri-devel/2017-November/157835.html"

 

0 Kudos