Closed KK-Designs closed 1 month ago
Icaros doesn't use the FFmpeg commandline interface, it's calling the FFmpeg libraries directly. Adding an option to use the nth keyframe of a video would be possible, but I don't see it being used by more than a handful of users. The most straight forward solution would be for you to make a script that uses FFmpeg to extract the 3rd keyframe for the inputtet video(s) and then embed that keyframe as cover art in the file(s).
ffmpeg.exe -i input.mp4 -i cover.jpg -map 0 -map 1 -c copy -c:v:1 jpg -disposition:v:1 attached_pic output.mp4
Replace .mp4 with .mkv if necessary and .jpg with .png if necessary.
I’m closing this issue for now. Feel welcome to reopen it if needed.
The ability to input your own custom ffmpeg command to choose the video preview would be great. Or just add an option to use the 3rd keyframe in a video, that's what I'm trying to accomplish here