ffmpeg(1) -i "$i" -vcodec libx265 -crf 30 "$i_.mp4"
ffmpeg video converter
-i filename
    input file name
-vcodec codec
    Force video codec to codec. Use the "copy" special value to tell that the raw codec data must be
    copied as is.
-r fps
    Set frame rate (Hz value, fraction or abbreviation), (default = 25).
source manpages: ffmpeg