[FFmpeg-user] h264_v4l2m2m unable to find output format
Anjo John
anjo.john at vvdntech.in
Sun May 24 09:11:33 EEST 2020
Hi All,
I have been testing ffmpeg's v4l2m2m codec support in qualcomm qcs605 SOC.
Ffmpeg isn't able to find the output format NV12 in the v4l2 m2m device.
Although the format NV12 is present and is listed with v4l-utils.
FFMPEG version : tested 4.1.1 and 4.2.2
Below is the command i used for testing
*ffmpeg -y -c:v h264_v4l2m2m -i /opt/input.h264 -pix_fmt nv12 out.yuv*
The v4l2 m2m decoder is present as /dev/video32. In the ffmpeg log below is
shown
*[h264_v4l2m2m @ 0x3b5bc70] probing device /dev/video32[h264_v4l2m2m @
0x3b5bc70] driver 'msm_vidc_driver' on card 'msm_vidc_vdec'[h264_v4l2m2m @
0x3b5bc70] v4l2 output format not supported[h264_v4l2m2m @ 0x3b5bc70] Could
not find a valid device[h264_v4l2m2m @ 0x3b5bc70] can't configure decoder*
using the v4l2-ctl utils, NV12 is listed
*v4l2-ctl --list-formats -d /dev/video32ioctl: VIDIOC_ENUM_FMT Index
: 0 Type : Video Capture Multiplanar Pixel Format: 'NV12' Name
: Y/CbCr 4:2:0*
Also how to set the userptr/mmap option in v4l2m2m device.
--
*With Best Regards*
*Anjo John*
VVDN Technologies Pvt Ltd
--
_Disclaimer: _© 2020 VVDN Technologies Pvt. Ltd. This e-mail contains
PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the
addressee(s). If you are not the intended recipient, please notify the
sender by e-mail and delete the original message. Further, you are not to
copy, disclose, or distribute this e-mail or its contents to any other
person and any such actions are unlawful._
_
_
_
__
More information about the ffmpeg-user
mailing list