Banana Pi M2U FFMPEG H/W Encoding problem


Hi, I bought a camera(OV5640) to test the hardware encoding.

And, this command input.

ffmpeg-3.1.4 -f v4l2 -channel 0 -video_size 1920x1088 -i /dev/video0 -pix_fmt nv12 -c:v cedrus264 bpi_1920_1088.mp4

(Using Image = 2017-05-25-ubuntu-16.04-mate-desktop-preview2-bpi-m2u-sd-emmc.img)

but, A green line appears like an attachment.

pix_fmt = YUV420 using codec libx264. but this codec only S/W encoding… Can I Help?