mplayer config
Tue, 15 Mar 2011 11:49 categories: configThere are dozens of vim configs but not many for mplayer but the defaults dont work that well on some media so here is how I like my mplayer:
1 | stop-xscreensaver=1 |
Line 1 to 3 are self explanatory. Lines 4 to 6 add some options that slightly improve playback performance. Line 7 to 9 add some ridiculously high caches for playback performance as well.
The softvol entries of lines 10, 11 are sometimes necessary when audio is very silent and you have to make it louder than 100%.
Line 12 rebuilds the index for broken files automatically to be able to seek in files that are either broken or not yet fully downloaded.
Lines 13,14 add support for styled subtitles which are more and more used to subtitle anime and those subtitles are incredible.
Line 15 will probably be removed once an ffmpeg2 bug in decoding mpeg1/2 content is fixed. On some content it creates horrible artifacts and it took me some time to find out that the decoder is broken and i have to force usage of the mpeg12 decoder.
The last two lines are commented out as i only use them seldomly cases and they would otherwise hinder playback. They select my hdmi audio device for output (in cases where my laptop is connected to a hdmi device) and make 5.1 sound play back correctly, mixing it down to stereo.