Sunday, May 08, 2016

Convert *m4v to *mp4 massively in Ubuntu Linux 16.04

As ffmpeg compilation might varies by default in your distro, this one is tested on 16.04. Else you can happily recompile ffmpeg from git with your preferred flag

for i in `ls -1 *.m4v`;do ffmpeg -i $i -acodec copy -vcodec copy `basename $i .m4v`.mp4;done

Yeah, I knew. ffmpeg rocks!