If you sometimes end up grabbing some video files from internet, you may have encountered some playback troubles :
- Video container may not be playable on some devices (AVI, MOV, ...)
- Some copyrighted audio codecs like DTS, AC3, E-AC3, ... may give play back problem on some of your devices
- On multi-channels audio tracks, general audio level may vary widely between talks and action scenes (you end up changing volume level at every scene change)
So, to be able to play your video on any type of device and in any type of environment, an elegant option is to :
- use MKV container as it is open source and recognized by almost all modern players
- convert all audio tracks to AAC as it is playable on almost any modern devices
- add some midnight mode audio channels side to the multi-tracks channels to allow smooth listening even without a home cinema system
This article explains how to setup a post-processing environment for your Linux desktop to be able to :
- generate MKV video file from any video file
- convert all audio tracks to AAC format (stereo and multi-channels)
- add some associated Midnight Mode audio tracks (if selected)
- add an embedded video cover (if present)
It also explains how to use this tool straight from your desktop menu and from Nautilus file manager. A simple right click on a video file will show a menu to post-process it.
It has been designed and tested on an Ubuntu 14.04 LTS workstation, but it should be applicable to any Linux distribution, as long as the needed tools are available.