[Libav-user] Request for Help - Error - h264_v4l2m2m @ 0x114ac00] Could not find a valid device

Adhuran Adhuran j.adhuran at surrey.ac.uk
Tue Oct 8 20:21:54 EEST 2019

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<https://ffmpeg.org/doxygen/3.2/group__lavc__core.html#ga11f785a188d7d9df71621001465b0f1d>(c, 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?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20191008/93f6f3b0/attachment.html>

More information about the Libav-user mailing list