Created
March 17, 2023 18:06
-
-
Save dudewheresmycode/157879392768d031933d6e4beeb5ee7d to your computer and use it in GitHub Desktop.
Generate a list of keyframes from a media file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ffprobe \ | |
-v error \ | |
-select_streams v \ | |
-show_entries frame=pict_type,pts_time \ | |
-of csv=p=0 \ | |
-skip_frame nokey \ | |
$INPUT_FILE > iframes.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment