Hi all.
I have a board nanopi neo air with armbian linux on it. We with my colleague try to setting up ffmpeg with cedrus264 for hardware accelerated capturing video from ov5640-like camera device.
There is my armbianmonitor.
There are my v4l2-ctl -d /dev/videox -D out:
After some reconfiguration of dts, we can successfully capture video in low fps with
ffmpeg -f v4l2 -framerate 25 -video_size 960x720 -i /dev/video1 output.mkv
but with
ffmpeg -f v4l2 -channel 0 -video_size 960x720 -i /dev/video1 -pix_fmt nv12 -r 30 -b:v 64k -c:v cedrus264 test.mp4
ffmpeg failed:
Ffmpeg was buided from FFmpeg-Cedrus, also we try follow this and use this binaries - result haven't changed.
After some inspecting sources of ffmpeg-cedrus we found that ffmpeg try to open /dev/cedar_dev device, which don't exists in our system. Ffmpeg fails on opening device. If we replace /dev/cedar_dev by /dev/video0, where is our cedrus driver, ffmpeg fails on ioctl IOCTL_GET_ENV_INFO. In source, it is 99 or 101 line.
We check kernel config for configuration, provided by Sunxi-Cedrus and determine that cedrus was configured right.
Also we have tried all described actions on official armbian buster image for nanopi neo air and we have got the same result.
What we does wrong?