IMX6 MJPEG gstreamer pipeline with HW accelerated decode - greenish hue bar

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

IMX6 MJPEG gstreamer pipeline with HW accelerated decode - greenish hue bar

150件の閲覧回数
lpdoyon
Contributor I

Hello,

We are in the process of upgrading our system using the VAR-SOM-MX6  Yocto Scarthgap but we have issue with particular gstreamer pipeline which we didn’t have before using Yocto Krogoth.

The following gstreamer pipeline shows a greenish-pinkish bar at the top of the video:

gst-launch-1.0 v4l2src device=/dev/video0 !  image/jpeg, width=1920, height=1080, framerate=30/1 ! vpudec ! queue ! imxcompositor_g2d ! imxv4l2sink

It occurs with all USB camera we tried when the resolution is not a multiple of 16 (like 1080p)

Adding an imxvideoconvert_g2d step fixes the issue, but it has performance implications:

gst-launch-1.0 v4l2src device=/dev/video0 !  image/jpeg, width=1920, height=1080, framerate=30/1 ! vpudec ! queue ! imxvideoconvert_g2d ! imxcompositor_g2d ! imxv4l2sink

With the convert element, we cannot obtain 1080p 30 fps with our more complex pipelines which uses multiple sinks to the imxcompositor_g2d.

Could you please help us with this regression?

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

124件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

The i.MX6 is not 1080p resolution supportable, this has  to be the green line in the display, but is better contact Variscite for more information.

Regards

 

0 件の賞賛
返信

108件の閲覧回数
lpdoyon
Contributor I

The documentation for the VPU says the VPU supports up to 1080p at 30 frame per second.
i.MX VPU Application Programming Interface Linux® Reference Manual

lpdoyon_0-1744047478731.png

 

0 件の賞賛
返信

84件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Yes the VPU supports, but not the output of iMX6

Regards

0 件の賞賛
返信