Skip to content

Instantly share code, notes, and snippets.

@dantheman213
Created April 21, 2020 00:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dantheman213/f2e0561acdf372c75b763b416aa59321 to your computer and use it in GitHub Desktop.
Save dantheman213/f2e0561acdf372c75b763b416aa59321 to your computer and use it in GitHub Desktop.
Detect all the commercial breaks points in a given TV show video file
ffmpeg -i "file.mp4" -vf "blackdetect=d=1:pix_th=0.00" -an -f null - 2>&1 | grep blackdetect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment