Created
January 29, 2017 14:08
-
-
Save kowalcj0/964fdd07d28314e0a48e9613531fbce0 to your computer and use it in GitHub Desktop.
Convert and deinterlace MTS to mp4 with ffmpeg and metadata
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
for f in *.MTS | |
do | |
ffmpeg -i "${f}" \ | |
-deinterlace \ | |
-acodec copy \ | |
-metadata album="Trip to ..." \ | |
-metadata title="Aquario Encantado - $(basename ${f} .MTS)" \ | |
-metadata artist="you, me, she and him" \ | |
-metadata year="2017" \ | |
-metadata date="2017-01-04" \ | |
-metadata genre="Documentary" \ | |
-metadata comment="http://www.pousadareinoencantado.com/" \ | |
"$(basename ${f} .MTS).mp4" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment