I tried to only extract keyframes from multiple videos at once but all I got was this. Can someone help me?
Here is the script:
Code:for %%a in ("*.mkv") do "C:\ffmpeg\bin\ffmpeg" -i "%%a" -vf "select=eq(pict_type\,I)" -vsync vfr "C:\newfiles\%%~na_%03d.png" pause
[Attachment 74908 - Click to enlarge]
+ Reply to Thread
Results 1 to 3 of 3
-
-
As a batch file you need 2 "%"
Code:%03d.png
Code:%%03d.png
Similar Threads
-
Pyscenedetect - HOW Detect the middle keyframe ONLY - PLEASE HELP
By JeremyVN in forum EditingReplies: 1Last Post: 5th Jul 2022, 10:38 -
script to extract 1st frame of each second (ffmpeg)
By davidfurst in forum ProgrammingReplies: 3Last Post: 23rd Dec 2021, 02:26 -
Looking for Batch MP4 Normalization Script of existing script
By VideoFanatic in forum Video ConversionReplies: 6Last Post: 31st Jul 2021, 19:50 -
How to make keyframe jumps smaller?
By Felow in forum Newbie / General discussionsReplies: 4Last Post: 26th Nov 2020, 00:09 -
How to extract video/audio/script from MKV to later use in Premiere?
By afjka in forum Newbie / General discussionsReplies: 2Last Post: 10th Oct 2020, 16:11