VideoHelp Forum
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Banned
    Join Date
    Oct 2023
    Location
    Los Angeles
    Search Comp PM
    How do I extract only one single, individual, and random frame/keyframe from an entire video using ffmpeg?
    Quote Quote  
  2. You could have solved this by using the internet search machine of your choice,...

    one single at time code '01:23:45.123':
    Code:
    ffmpeg -ss 01:23:45.123 -i "PATH TO source file" -frames:v 1 g:\output.png
    a single random frame can be extracted by using a random time code.

    For extracting keyframes or scene changes, read: https://jdhao.github.io/2021/12/25/ffmpeg-extract-key-frame-video/
    if you add '-frames:v 1' only one frame will be extracted.
    if you add '-ss 01:23:45.123' before the input only the next frame that matches the criteria will be extracted.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  



Similar Threads

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