按照教程:https://wiki.luckfox.com/zh/Luckfox-Pic ... x-Pico-USB
按照上面网址的教程操作,使用指令ffmpeg -f v4l2 -video_size 320x240 -framerate 30 -i /dev/video0 output.mp4录制视频,出现下面提示:
'scale' filter not present, cannot convert pixel formats.
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
[video4linux2,v4l2 @ 0x4a3270] Some buffers are still owned by the caller on close.
ioctl(VIDIOC_QBUF): Bad file descriptor
Conversion failed!
Luckfox Pico Max的usb摄像头能拍照但是不能录像
您好,根据log来看应该是您使用的USB型号所支持的数据输入格式不支持直接转换为mp4,建议添加-pix_fmt <支持的格式> output.raw来捕获视频