imx8 QT wayland video

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

imx8 QT wayland video

1,687 Views
songhongliang
Contributor II

hi,

I use systemctl stop weston@root.service cmd,stop weston service.

then,

/unit_tests/V4L2/mx8_v4l2_cap_drm.out -cam 1 -d "/dev/video1" -fmt UYVY

can Display the camera screen,

but,Cannot display normally when using QT application。It seems that under wayland, video data cannot be read normally。The version of L5.4.47 is relatively new, can you give me some help.

Thanks

0 Kudos
9 Replies

1,660 Views
joanxie
NXP TechSupport
NXP TechSupport

tried the "qmlglsrccamera", "test_qmlglsink", "test_qmlglsrc" under path "/usr/share/qt5/examples/multimedia/qmlgltest", and they are all OK to display on the Weston, with LVDS to HDMI output.I used xwayland

 

0 Kudos

1,648 Views
songhongliang
Contributor II

HI,

I mean "qmlglsrccamera", "test_qmlglsink", "test_qmlglsrc" , source code,

I am not very familiar with gstreamer yet, I need to refer to some

0 Kudos

1,654 Views
songhongliang
Contributor II

HI,

I can not find the source code ,can you tell me the source code location,in yocto project.

I compile imx-image-full,L5.4.47

Thanks,

0 Kudos

1,649 Views
joanxie
NXP TechSupport
NXP TechSupport

after building, you need download images to the board, you can find it after board boot up

0 Kudos

1,646 Views
songhongliang
Contributor II

HI,

I know,I found these files in the directory of the board, but I want to find the corresponding source code

 

Thanks

0 Kudos

1,633 Views
joanxie
NXP TechSupport
NXP TechSupport

maybe you can refer to the source code from path:

"/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/qtmultimedia/5.15.0+gitAUTOINC+040378a91f-r0/git/examples/multimedia/"

0 Kudos

1,622 Views
songhongliang
Contributor II

HI,

I just came into contact with gst-launch-1.0,can you give a cmd,to playing the /dev/videox .

the /dev/videox is v4l, lvds screen

Thanks

0 Kudos

1,627 Views
songhongliang
Contributor II

HI,

Found it,thank you very much!

Thanks!

0 Kudos

1,485 Views
graham-s
Contributor II

Hello,

Were you ever able to find the source code for this example? I have only been able to find the binaries myself. 

Thanks!

- Graham

0 Kudos