imx8mm camera enable MJPEG

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

imx8mm camera enable MJPEG

跳至解决方案
1,976 次查看
Partrick_Bin
NXP Employee
NXP Employee

Hello

 

sensor:ov5640

mpu:imx8mm

I check the format for camera, it only shows it supporting YUYV as below.

 root@imx8mmevk:~# v4l2-ctl --list-formats-ext -d /dev/video0

ioctl: VIDIOC_ENUM_FMT

    Type: Video Capture

    [0]: 'YUYV' (YUYV 4:2:2)

        Size: Discrete 640x480

            Interval: Discrete 0.033s (30.000 fps)

        Size: Discrete 320x240

            Interval: Discrete 0.033s (30.000 fps)

        Size: Discrete 720x480

            Interval: Discrete 0.033s (30.000 fps)

        Size: Discrete 1280x720

            Interval: Discrete 0.033s (30.000 fps)

        Size: Discrete 1920x1080

            Interval: Discrete 0.033s (30.000 fps)

        Size: Discrete 2592x1944

            Interval: Discrete 0.067s (15.000 fps)

 How to enable MJPEG or other formats?

 

Thanks

标记 (1)
0 项奖励
回复
1 解答
1,954 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Partrick

 

per ov5640 datasheet mjpeg output is not supported

https://docs1.toradex.com/103996-omnivision-ov5640-datasheet.pdf

Also i.MX8M Mini vpu does not support mjpeg as described in sect.15.4. VPU H1 (VPU_H1)

i.MX 8M Mini Applications Processor Reference Manual

One can try software encoding as described on

https://variwiki.com/index.php?title=DART-MX8M_GSTREAMER

 

Best regards
igor

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,955 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Partrick

 

per ov5640 datasheet mjpeg output is not supported

https://docs1.toradex.com/103996-omnivision-ov5640-datasheet.pdf

Also i.MX8M Mini vpu does not support mjpeg as described in sect.15.4. VPU H1 (VPU_H1)

i.MX 8M Mini Applications Processor Reference Manual

One can try software encoding as described on

https://variwiki.com/index.php?title=DART-MX8M_GSTREAMER

 

Best regards
igor

0 项奖励
回复