gst-launch on imx8m plus board

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

gst-launch on imx8m plus board

1,001件の閲覧回数
chp0423
Contributor III

when I use command " gst-launch-1.0 -v v4l2src device=/dev/video2 ! "video/x-raw, format=YUY2, width=1920, height=1080, framerate=60/1, pixel-aspect-ratio=1/1, interlace-mode=progressive, colorimetry=bt709" ! queue ! waylandsink" to display preview camera, the display window always presents fullscreen (I use a 4K resolution monitor), i.e., the video window is 1920*1080 and other part of the windows is black. How can I set the display window of gst-launch to the actual resolution (1920*1080)?

0 件の賞賛
5 返答(返信)

981件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

could you give me a picture to show this? and tell me what bsp version you use

0 件の賞賛

966件の閲覧回数
chp0423
Contributor III

I did more tests: (I used 5.15.71 BSP version, my own 1080p CMOS sensor, and a 1080p monitor)

  1. set dewarp bypass to false, the result of gst-launch is shown in configure1.png. No matter what resolution I set in gst-launch, the gst-launch always presents fullscreen window, with a smaller image window
  2. set dewarp bypass to true, the result of gst-launch is shown in configure2.png

could you please tell me why there are differences of window size with dewarp bypass or not bypass?

0 件の賞賛

957件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

As I known, if you use ISP, you need enable dewarp in the same time, why do you need disable this?

0 件の賞賛

954件の閲覧回数
chp0423
Contributor III

I was just testing imaging effect directly from ISP. At now, I have not calibrated my dewarp parameters. Also, my lens don't have large distortion. Therefore, I temporily bypass it.

0 件の賞賛

935件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

in dts file, if you disable dwe, the isp should be issue, if you want to bypass dewarp, you can set the "bypass" as true in dewarp config file

0 件の賞賛