

Here is an example > ffmpeg -y -i Source.mkv -c:v libx264 -preset veryslow -crf 19 -c:a copy Target.mp4Ĭrf is what determines the video quality: lower number = higher quality (bur also larger file size). Look at the ffmpeg wiki for explanations and examples of H.264 conversions. You don't need to convert the AAC audio, just copy it, but you need to convert the video.

H.264 is likely the video format you want to convert to. That same media player can also play or not play (support) the video or audio inside this container, and this appears to be your case: your TV can read the MP4 container, see what's inside and play AAC audio but not MP2 video, so you need to convert the MP2 video to a format that is supported by your TV. MP4 and MKV are containers and either or both can or cannot be read by a given media player.
