Convert Canon iVIS HF11 videos with ffmpeg

From braindump
Jump to: navigation, search

Some time ago my wife and I bought a Canon iVIS HF11. It came with some software for Windows and MacOS X. For some reason or another I was unable to convert the raw video into anything that can be easily viewed and shipped around with the tools provided by Canon.

After some searching I found some solution and rolled my own scripts for converting the .MTS files of the camera. Eventually ffmepg did the job and I wrote a couple of scripts around it to convert to pretty much anything I wanted to.

I would assume the below examples will work for Canon cameras of the same range.

Create an avi file with mpeg4 encoding at a size of 852x480

ffmpeg -i INPUT.MTS -deinterlace -f avi -vcodec mpeg4 -b 6000k -s 852x480 -acodec ac3 -ab 128k  OUTPUT.avi