Google Flix Engine Linux Reference Manual User Manual

Page 372

Advertising
background image

366

Flix Engine Linux Page Documentation

--authdir path

path

to

search

for flixd authorization files (default: user’s

home directory)

--pidfile file

write pid to file; e.g., /var/run/flixd.pid

--logfile file

file to log messages to (default:

debug

mode:

stderr,

daemon

mode: use syslog(3))

--loglevel level

logging verbosity (0-4, 0: none, 1: errors, 2: status, 3: debug,

4: heavy), the levels are cumulative. (default: 2, errors+infor-

mational)

ENVIRONMENT

flixd’s behavior is affected by the following environment variables.

FLIXD_MENCODER

This

variable

specifies the path to mencoder that flixd should

use during transcoding. By default flixd allows

the

system

to

locate

mencoder

via

the

PATH environment variable. Therefore

this variable is useful if you have installed mencoder to a non-

standard

location

or

have

multiple

versions

of

mencoder

installed. For

example,

if

you

have

installed

mencoder

to

/opt/on2/flixengine/bin

you

would

set

FLIXD_MEN-

CODER=/opt/on2/flixengine/bin/mencoder to ensure this version is

used during transcoding.

FLIX_OGG_PHYMEM_PCTMAX

This variable controls the maximum amount of physical memory any

one encode instance’s ogg demuxer will use. This is to prevent a

possible

segmentation fault due to unchecked memory allocations

within libogg. This value is given as an integer percent,

e.g.,

FLIX_OGG_PHYMEM_PCTMAX=50, will limit the demuxer’s memory usage

to 50% of available physical memory. If left unset or set

to

0

the

only

upper

bound is that imposed by the system itself.

A

reasonable target is 400-500MB.

HOME

When --authdir is omitted HOME

is

used

as

the

authorization

directory.

TMPDIR Temporary file location. If unset /tmp is used.

COPYRIGHT

2008 On2 Technologies, Inc.

ACKNOWLEDGEMENTS

On2 Technologies flixd uses:

o

FFmpeg (ffmpeg.mplayerhq.hu)

o

LAME mp3 encoder (lame.sourceforge.net)

o

libogg (xiph.org/ogg/)

o

libpng (www.libpng.org)

o

OpenSSL Toolkit (www.openssl.org)

o

MEncoder (mplayerhq.hu)

o

zlib (zlib.net)

Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen

Advertising