Skip to content

Instantly share code, notes, and snippets.

@Coro365
Created Feb 7, 2016
Embed
What would you like to do?
# mkv to mp4
DIRPATH=$1
for FILE in ${DIRPATH}/*.mkv
do
echo ${FILE}
ffmpeg -i "${FILE}" -vcodec copy "${FILE%.mkv}.mp4"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment