You can use ffmpeg to extract the first frame from a video file by running the following command in the terminal:
bash ffmpeg -i inputvideo.mp4 -vframes 1 outputimage.jpg
This command will extract the first frame from the input video file "inputvideo.mp4" and save it as an image file "outputimage.jpg".
Chat with our AI personalities