Difference between revisions of "CARMA Configuration Variables"

From TMM Wiki
Jump to navigationJump to search
m
(No difference)

Revision as of 11:44, 17 December 2008

CARMA
Configuration Admin
The Configuration Admin
CARMA Configuration Variables
Video Format

The following options can be configured in the CARMA Configuration Admin.

Convert

Enter the file system path to ImageMagick. If your image thumbnails aren't generated, this path is probably wrong. Ask your Host for the correct path.

MPlayer

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

ENABLE_ERROR_POSTS

Sends errors on your server to our support server. If we see anything worrisome, we'll notify you.

NO_BFRAMES_CHECK

You must check this option to use recent versions of mplayer. If you have a problem or get an error creating Flash content, please try flipping this option: if it's enabled, try disabling it; if it's disabled, try enabling it.

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

/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 with the filename of your source video. Replace output-file with the filename of your output Flash movie. The 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 the message containing "-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames", then you need to disable NO_BFRAMES_CHECK. If you don't get the message, enable NO_BFRAMES_CHECK.

TOUR_ALL_VIDEOS

Enable TOUR_ALL_VIDEOS to show all videos on tours. Disable TOUR_ALL_VIDEOS to hide videos during tours unless the video was marked as a tour video.