aq-mode=3 : Biases the encoder toward dark scenes, maintaining detail in deep shadows.
for f in The.Pitt.S01E*.mkv; do ffmpeg -i "$f" -c:v libx265 -crf 22 -preset medium \ -c:a aac -b:a 128k \ "$f%.mkv.hevc.mp4" done the pitt s01e14 ffmpeg
ffmpeg [options] input_file output_file