[Libav-user] Request for Help - Error - h264_v4l2m2m @ 0x114ac00] Could not find a valid device
rhussong at westpond.com
Tue Oct 8 20:46:26 EEST 2019
You need a V4L2 video device to use that encoder. If you haven't already
done this, run "ls -l /dev/video*", and make sure there is a video device
and you have permission to write to it. If that doesn't help, you should
raise the logging level of libav and see if it tells you what went wrong.
On Tue, Oct 8, 2019 at 1:22 PM Adhuran Adhuran via Libav-user <
libav-user at ffmpeg.org> wrote:
> Dear All,
> I am trying to use ffmpeg source code top encode video streams in linux. I
> used the code provided in this link
> https://ffmpeg.org/doxygen/3.2/muxing_8c_source.html to encode videos.
> I got an error, when the code accessed the function ret = avcodec_open2
> codec, &opt);
> [h264_v4l2m2m @ 0x114ac00] Could not find a valid device
> [h264_v4l2m2m @ 0x114ac00] can't configure encoder
> May I know, why I get this error and how I could solve this?
> Libav-user mailing list
> Libav-user at ffmpeg.org
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user