Created
October 9, 2017 06:09
-
-
Save hghazal/b76ab542baef4c9abfbf3dbb465a8134 to your computer and use it in GitHub Desktop.
convert mkv to mp4
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
find . -name "*.mkv" -exec sh -c 'ffmpeg -i "$0" -vcodec copy -acodec copy "${0%.mkv}.mp4"' {} \; | |
mkdir mkv | |
find . -name "*.mkv" -exec sh -c 'echo "$1" ➜ "${1%.mkv}.mp4"' _{} \; |
ffmpeg -i wedding\ part2.avi -c:v libx264 -crf 19 -preset slow -c:a aac -b:a 192k -ac 2 ~/GooglePhotosBackup/WeddingPart2.mp4
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://askubuntu.com/questions/396883/how-to-simply-convert-video-files-i-e-mkv-to-mp4