Skip to content

Instantly share code, notes, and snippets.

@AshKyd
Created December 11, 2022 02:16
Show Gist options
  • Save AshKyd/763728d6609213b1ad204b8c072c9bf5 to your computer and use it in GitHub Desktop.
Save AshKyd/763728d6609213b1ad204b8c072c9bf5 to your computer and use it in GitHub Desktop.
Optimise h26x mkv files to be playable on just about anything
files=`ls -1 *.mkv`
for file in $files
do
ffmpeg -i $file -acodec copy -vcodec copy -movflags faststart "${file%.mkv}.mp4"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment