The error message you received is due to the fact that the ffmpeg command is trying to read an image file (PNG) as an input video file (MP4). The ffmpeg command is a powerful tool for handling multimedia files, but it requires the correct file format as input.
To convert an image to a video, you need to use the -i option followed by the image file, and specify the output video format using the -vframes option. Here's an example of how to convert an image to a video using ffmpeg:
ffmpeg -i LRGF7FDd.png -vframes 100 LRGF7FDd.mp4
In this command, replace LRGF7FDd.png with the path to your image file, and 100 with the number of frames you want in the output video. The output video will be saved as LRGF7FDd.mp4.
If you want to extract frames from a video, you can use the following command:
ffmpeg -i input.mp4 -vf "fps=1" -q:v 2 output%04d.png
In this command, replace input.mp4 with the path to your video file, and output%04d.png with the desired output file name pattern. The -vf "fps=1" option sets the output frame rate to 1 frame per second, and the -q:v 2 option adjusts the quality of the output frames.
For more information about ffmpeg and its usage, you can refer to the official documentation.
References: