Doc /

Mtstodvd

ffmpeg -i input.mts -vcodec libxvid -b 18000k -acodec libmp3lame -ac 2 -ab 320k -deinterlace -s 1440x1080 output.avi

ffmpeg -i 00080.MTS -vcodec libxvid -b 18000k -acodec ac3 -deinterlace -s 1440x1080 output.avi

-ar 44100

#!/bin/bash
for a in `ls *.MTS` ; do ffmpeg -i $a -vcodec libxvid -b 18000k -acodec libmp3lame -ac 2 -ab 320k -deinterlace -s 1280x720 `echo "$a" | cut -d'.' -f1`.avi ; done
exit

ffmpeg -i 00002.MTS -target pal-dvd video2.mpg

#!/bin/bash
for a in `ls *.MTS` ; do ffmpeg -i $a -target pal-dvd `echo "$a" | cut -d'.' -f1`.mpg ; done
exit

target name pal- or ntsc- followed by the video type (dvd, dv...)