bash script to convert a file or batch convert a directory from mp4 to flv