
Tips and tricks
Video scaling |
|
-vf scale=-3:1050 -sws 9This upscales the video using the lanczos filter, until the height is 1050px. If your monitor has 1920 × 1080 pixel you can use use: -vf scale=-3:1080 -sws 9Hope you too can notice the difference between OSX hardware scaler and mplayer's software upscaler. |
Downmixing DTS 5.1 audio to 2-channels |
|
-channels 6 -af pan=2:.67:.33:.33:.67:.89:.11:.11:.89:.89:.89:.89:.89 |
Play a section of a video |
|
|
Using the command line MPlayer |
|
ln -s "/Applications/MPlayer OSX Extended.app/Contents/Resources/Binaries/mpextended.mpBinaries/Contents/MacOS/mplayer" /usr/local/bin/mplayerThis will create a symlink to the mplayer command line binary, and place it into /usr/local/bin. (You can place it anywhere you like, but traditionally, user made binaries, that are not part of the distribution are placed in /usr/local/bin) |
MPlayer configuration file |
|
Place your config file in "~/Library/Application Support/MPlayer OSX Extended/MPlayer/" instead. See the MPlayer man page for details on the syntax and the available options. |