The whole thing is built inside a for do loop, meaning it will run once for every.Give the batch file a name like convert.bat and save it, you can then run it by double clicking on it or by calling it from a command prompt.There are some key elements to the batch file which are worth discussing a little further. After researching I found that by using an earlier version of FFMPEG (in my case v1.2.4 from 2013) the batch file works perfectly again. This completely confuses the Apple TV and will prevent the AC3 Audio stream from being detected or played by Home Cinema equipment. It seems that in later versions of FFMPEG a bug has been introduced that ends up marking both Audio tracks as default / enabled. Be able to process a number of files at a timeĬ:\source (The folder I put all my MKV files into)Ĭ:\source\done (The folder the original MKV is moved into after processing)Ĭ:\output (The folder that the complete M4V files are written to)Ĭ:\ffmpeg\bin (The location that FFMPEG is installed in).Ensure the audio tracks are iTunes / Apple TV compatible.I have created a similar batch file for converting FLAC audio files into MP3. The following process has worked so far for a variety of MKV files that are H.264 and either AAC, AC3 or DTS audio. Using FFMPEG to convert MKV to M4Vīeing able to quickly convert MKV to M4V for iTunes has so far proved very useful. I’ve been using Handbrake but the problem with Handbrake is that it will re-process all streams including video and run it through compression again – leading to a loss in quality but more importantly, it takes a long time.īy using FFMPEG, I’ve managed to put together a script that will quickly process the container but leave the source video alone and create the two audio tracks necessary for good Apple TV playback on home cinema equipment. I’ve recently been going through a number of old MKV home video files and wanted a quicker way to convert them from MKV to M4V so iTunes could stream them properly to my Apple TV.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |