Freevo

- Index
- MovieConfig

# MovieConfig

1. Basic Configuration
2. Mplayer configuration
   1. AV-Sync problems with AVI files
   2. Mixing the LFE Channel into the front speakers for 4.1 audio output

## Basic Configuration

You should tell freevo where to look for movie files This is a list of items (e.g. directories, fxd files). The items themselves can also be a list of (title, file)

    VIDEO_ITEMS = [ ('action movies', '/files/movies/action'),
                    ('funny stuff', '/files/movies/comedy') ]

Some people access movies on a different machine using an automounter. To avoid timeouts, you can specify the machine name in the directory to check if the machine is alive first Directory myserver:/files/server-stuff will show the item for the directory /files/server-stuff if the computer myserver is alive.

You can use mplayer or xine for watching movies. The default player is mplayer, but you can change that with the variable VIDEO_PREFERED_PLAYER = 'xine' in your local config

You can choose which player will play which files. The list of filename suffixes that are used to match the files that are played with MPlayer.

    VIDEO_MPLAYER_SUFFIX = [ 'avi', 'mpg', 'mpeg', 'wmv', 'bin', 'rm',
                             'divx', 'ogm', 'vob', 'asf', 'm2v', 'm2p',
                             'mp4', 'viv', 'nuv', 'mov', 'iso',
                             'nsv', 'mkv' ]

The list of filename suffixes that are used to match the files that are played with Xine.

    VIDEO_XINE_SUFFIX = [ 'avi', 'mpg', 'mpeg', 'rm', 'divx', 'ogm',
                           'asf', 'm2v', 'm2p', 'mp4', 'mov', 'cue' ]

## Mplayer configuration

PleaseUpdate: describe the important mplayer options here

### AV-Sync problems with AVI files

Some avi files are out of sync when played with mplayer but ok with other player. This is a problem with mplayer not reading the audio delay field in such files. Mmpython can parse this data and Freevo can correct the audio delay based on the Mmpython information. To activate this, set MPLAYER_SET_AUDIO_DELAY = 1 in your local_conf.py.

### Mixing the LFE Channel into the front speakers for 4.1 audio output

If you have a Soundcard like the SBLive Value Edition which has 2 stereo output (front and rear) it happens that you only get 4.0 output from mplayer. The LFE channel is lost. This can be fixed by changing the MPLAYER_AO_DEV option in your local_config.py:

    MPLAYER_AO_DEV       = 'alsa1x:surround51 -channels 6 -af pan=6:100:0:0:0:100:100:0:100:0:0:100:100:0:0:100:0:0:0:0:0:0:100:0:0 '

The pan filter mixes the LFE channel to the front speaker output.

last edited 2005-01-14 11:29:32 by ThomasZangl
current version: http://freevo.sourceforge.net/cgi-bin/doc/MovieConfig