720p -> H.264 (x264) video + AAC 128kbps audio:
ffmpeg -i 00001.MTS -threads 3 -y -vcodec libx264 -sameq -acodec libfaac -ab 128k -ar 44100 -ac 2 -s 1280x720 -vpre normal -b 1M output.mp4
ffmpeg -i 00001.MTS -threads 3 -y -vcodec libx264 -sameq -acodec libfaac -ab 192k -ar 44100 -ac 2 -s 1280x720 -vpre normal -b 2M output.mp4
ffmpeg -i 00001.MTS -threads 3 -y -vcodec libx264 -sameq -acodec libfaac -ab 128k -ar 44100 -ac 2 -s 1920x1080 -vpre normal -b 1.5M output.mp4
ffmpeg -i 00001.MTS -threads 3 -y -vcodec libx264 -sameq -acodec libfaac -ab 192k -ar 44100 -ac 2 -s 1920x1080 -vpre normal -b 3M output.mp4
(You could also omit the -s
switch to keep the size the same as the input and adjust the -b
param to adjust quality more predictably, or leave it out altogether to make ffmpeg automatically determine a good quality)