Can AviSynth handle MTS files?
Use cross-platform wrapper library FFmpegSource (around FFmpeg) — particularly, its filter FFmpegSource2() (instead of built-in AviSource() or DirectShowSource()).

See AviSynth Wiki about it.