Have you tried -movflags and use_metadata_tags?
ffmpeg -i $input_file -movflags use_metadata_tags -crf 22 $output_file
Source: https://video.stackexchange.com/a/26076