This file contains 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 /base_folder -name "*.MTS" -exec sh -c 'ffmpeg -n -i "$0" -c:v copy -c:a libfdk_aac "`basename "$0" .MTS`.mp4"' '{}' \; | |
Note: | |
The video track in the original MTS files most likely are H.264 High Profile, so they are not mobile-friendly. | |
Beware that the resulting MP4's may not play on older devices mobile. Change the base_folder according to your needs. |
NewerOlder