Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
MKV and AVI to MP4 Conversion for Apple TV
# See also https://trac.ffmpeg.org/wiki/Encode/AAC
# direct copy
ffmpeg -i input.mkv -c:v copy -c:a copy output.mp4
# direct copy video, but convert audio to AAC with default variable bit rate
ffmpeg -i input.mkv -c:v copy -c:a aac -strict experimental output.mp4
# direct copy video, but convert audio to AAC with constant bit rate
ffmpeg -i input.mkv -c:v copy -c:a aac -strict experimental -b:a 320k output.mp4
# lossy but decent conversion with constant bit rate audio
# http://superuser.com/questions/525249/convert-avi-to-mp4-keeping-the-same-quality
ffmpeg -i input.avi -c:v libx264 -crf 19 -preset slow -c:a aac -strict experimental -b:a 192k -ac 2 out.mp4
@Jametomdavid

This comment has been minimized.

Copy link

commented Apr 18, 2019

I use iDealshare VideoGo to convert any video formats like MKV, FLV, MPG, AVI, AVCHD, VOB, RMVB etc to MP4 or MOV with this guide https://www.idealshare.net/itunes-quicktime/play-avi-on-apple-tv.html

@llucianooliveira

This comment has been minimized.

Copy link

commented Jul 26, 2019

Avdshare Video Converter also works great to convert MKV to Apple TV more supported MP4 with high output quality
Here is the step by step guide: https://www.avdshare.com/mkv-to-apple-tv-converter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.