Skip to content

Instantly share code, notes, and snippets.

@salamanders
Last active April 7, 2020 17:38
Show Gist options
  • Save salamanders/029f4870ad5af1bd01944dfcf6d8ead6 to your computer and use it in GitHub Desktop.
Save salamanders/029f4870ad5af1bd01944dfcf6d8ead6 to your computer and use it in GitHub Desktop.
find ./ -iname '*.VOB' -exec bash -c 'ffmpeg -f mpeg -i "{}" -c:a copy -c:v libx264 -crf 18 "{}".mp4' \;
find ./ -iname '*.VOB.mp4' -exec bash -c 'scenedetect -i "{}" -o ./out detect-content -m 120 -t 40 split-video -c' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment