CARMA Configuration Variables

From TMMwiki
Jump to: navigation, search
CARMA
Configuration Admin
The Configuration Admin
CARMA Configuration Variables
Video Format

The following options can be configured in the CARMA Configuration Admin. For more detailed information on the configuration admin, please see our CARMA Configuration Admin wiki article.

Convert

Enter the file system path to ImageMagick. If your image thumbnails aren't being correctly generated, this path is most likely wrong. Ask your server host for the correct path.

MPlayer

Enter the file system path to MPlayer. If your video thumbnails aren't being properly generated, this path is probably wrong. Ask your server host for the correct path.

ENABLE_ERROR_POSTS

Sets errors on your server to post to our support server. If we see anything worrisome, we will notify you.

NO_BFRAMES_CHECK

You must check this option in order to use recent versions of MPlayer. If you have a problem or get an error creating Flash content, please try changing this setting. If it is enabled, try disabling it; if it is disabled, try enabling it.

You can run the following test to determine whether you need to enable or disable the NO_BFRAMES_CHECK setting.

/usr/bin/mencoder 'input-file' -o 'output-file' -quiet -of lavf -oac mp3lame -lameopts abr:br=36 -ovc lavc -vf scale=480:360 -lavcopts vcodec=flv:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:vbitrate=1500  -ofps 15 -srate 44100

Replace input-file in the example above with the filename of your source video. Replace output-file in the example above with the filename of the Flash movie being outputted. Your output will look similar to the following example:

MEncoder 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) D CPU 2.80GHz (Family: 15, Model: 4, Stepping: 4)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0  data: 0x0 - 0xb144770
ASF file format detected.
VIDEO:  [WMV3]  640x480  24bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:6  fourcc:0x33564D57  size:640x480  fps:30.00  ftime:=0.0333
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8005->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
** MUXER_LAVF *****************************************************************
If you wish to use libavformat muxing, you must ensure that your video stream
does not contain B frames (out of order decoding) and specify:
    -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames
on the command line.
REMEMBER: MEncoder's libavformat muxing is presently broken and will generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************

If you get an error message containing "-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames", then you need to disable the NO_BFRAMES_CHECK configuration option. If you don't get the message, enable NO_BFRAMES_CHECK.

TOUR_ALL_VIDEOS

Enable TOUR_ALL_VIDEOS to show all available videos on tours. Disabling the TOUR_ALL_VIDEOS configuration option hides all videos during site tours, unless the video was specifically marked as a tour video.