Linux converte arquivos na pasta
for i in *.avi; do ffmpeg -i "$i" "${i%.*}.mp4"; done
Thoughtful Toad
for i in *.avi; do ffmpeg -i "$i" "${i%.*}.mp4"; done