�It's about a month that I'm looking for a m2ts conversion. I spent a lot of hour in internet, but this is the first solution I found that use only opensource programs. I tried and it works fine. I found only a little problems during the last step: ffmpeg -i /tmp/FILE.y4m -i /tmp/FILE.ac3 -acodec copy -vcodec h264 -sameq -s 1440x1080 -aspect 16:9 -b 15000000 FILE.avi The output is: Input #0, yuv4m