I use FFmpeg to extract a screenshot from a video with the following command
/usr/bin/ffmpeg -ss 15 -y -i test.flv -vcodec mjpeg -vframes 1 -an -f rawvideo test.png
But the team does not work. Last 3 lines of answer
frame= 0 fps= 0 q=0.0 Lsize= 0kB time=00:00:00.00 bitrate= 0.0kbits/s video:0kB audio:0kB global headers:0kB muxing overhead -nan% Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
Please note that the command runs successfully for other types of videos (3gp, mp4).
In addition, when I replace the "-ss 15" parameter with "itsoffset 15", it also starts successfully with FLV files.
Does anyone know why the -ss option does not work for .flv files?
source share