This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

camera input test with dmabuftest(GLSDK7.04)

Hello

I'm working on GLSDK 7.04 with custom board which Jacinto6 based.

We have 4ch camera and I can see all camera input using below command

dmabuftest --multi 4 --kmscube --fov 20 -d /dev/video1 -c 1280x720@YUYV -d /dev/video2 -c 1280x720@YUYV -d /dev/video3 -c 1280x720@YUYV -d /dev/video4 -c 1280x720@YUYV

This time, I want display two camera stream to defined position in wayland. So I tried below command.

dmabuftest --multi 2 -w 640x360 --pos 0x0 -d /dev/video1 -c 1280x720@YUYV -w 640x360 --pos 0x360 -d /dev/video2 -c 1280x720@YUYV

I expected that first stream display at 0,0 and second stream display at 0,360

but I could not see multiple camera stream in defined position. how to use dmabuftest  for multiple video streaming to defined position?

Please help me.

  • Hi Yangwoo,

    The options of the dmabuftest seems correct but you can verify weather the options are correctly parsed by adding debug messages (printing parsed values) in the ../omapdrmtest/util/display-wayland.c file in the disp_wayland_open function.
    Also I would like to be sure that the vertical resolution of the display is enough to fit both videos one above the other.

    BR
    Tsvetolin Shulev
  • Display resolution is 1280x720 so I think below multiple streaming size enough.

    Anyway I tried excute it as single thread. I could see 4ch camera streaming in single display panel.

    dmabuftest -w 640x360 --pos 0x0 -d /dev/video1 -c 1280x720@YUYV &
    dmabuftest -w 640x360 --pos 640x0 -d /dev/video2 -c 1280x720@YUYV &
    dmabuftest -w 640x360 --pos 0x360 -d /dev/video3 -c 1280x720@YUYV &
    dmabuftest -w 640x360 --pos 640x360 -d /dev/video4 -c 1280x720@YUYV &

    Thank you.