[FFmpeg-user] ffmepg mipi csi video cpature

Ferdi Scholten ferdi at sttc-nlp.nl
Thu May 23 09:35:07 EEST 2024



On 23-05-2024 06:16, Nikhil via ffmpeg-user wrote:
> This is the command i used
>
> ffmpeg -f v4l2 -i /dev/video0 -c:v libx264 -crf 23 -preset medium 
> output.mp4
>
> Also i used command suggested by ferdi, no progress
>
> ffmpeg -pix_fmt bayer_bggr8 -f v4l2 -s 1280x960 -i /dev/video0 -c:v 
> libx264 -preset ultrafast output.mp4
>
>
> Also i  try to update the ffmpeg to latest version (v6.x and v7.x), 
> i'm facing the following error in configuration settings
>
> ./configure --enable-gpl --enable-libx264
>
> If you think configure made a mistake, make sure you are using the latest
> version from Git.  If the latest version fails, report the problem to the
> ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.
> Include the log file "ffbuild/config.log" produced by configure as 
> this will help
> solve the problem.

The error is clear: You do not have a suitable x264 library installed on 
your system. Install x264, or compile it yourself. Please read and 
understand the articles on the ffmpeg wiki about compiling ffmpeg 
yourself in order to have all dependencies installed. You might need to 
enable some more libraries, depending on your hardware.

Also it might be easier to use the prebuilt static images of ffmpeg for 
your purpose or for testing. (assuming you are using linux)



More information about the ffmpeg-user mailing list