VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Banned
    Join Date
    Oct 2023
    Location
    Los Angeles
    Search Comp PM
    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
    Image
    [Attachment 74908 - Click to enlarge]
    Quote Quote  
  2. As a batch file you need 2 "%"

    Code:
    %03d.png
    should be

    Code:
    %%03d.png
    Quote Quote  
  3. Banned
    Join Date
    Oct 2023
    Location
    Los Angeles
    Search Comp PM
    Originally Posted by poisondeathray View Post
    As a batch file you need 2 "%"

    Code:
    %03d.png
    should be

    Code:
    %%03d.png
    Thanks, it worked!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!