3 # 2010, Calin-Andrei Burloiu, calin.burloiu@gmail.com
5 # This scripts converts all mts files to avi starting from a root directory
6 # recursively. The avi files are placed in the same directory as the
11 echo "usage: $0 root_path"
16 for i in $(find $root_path -name "*.mts"); do
17 #echo $(dirname $i)/$(basename $i .mts).avi
18 ./ffmpeg-mts2avi $i "$(dirname $i)/$(basename $i .mts).avi"