FLIXD(8) FLIXD(8) NAME flixd - Flix encoding daemon SYNOPSIS flixd [ -d ] [ -p port ] [ -i interface ] [ -r ] [ --max-sessions snct ] [ --authdir path ] [ --pidfile file ] [ --logfile file ] [ --loglevel level ] flixd [ -h ] [ -v ] DESCRIPTION flixd is an rpc-based flix encoding server. As such, portmap MUST be running for it to operate. The port and interface to listen on can be specified using the --port and --interface options. By default flixd will allow the rpc service to bind to any available port and interface. A port is usually specified to bypass the necessity for a connection to portmap by a client. By default flixd will allow an unlimited (except by available resources) number of encoding sessions. This behavior can be modified by specifying the --max-sessions option with a count >0. Any sessions that start an encode after the count is reached will be queued. flixd will look for authentication files (flixengine.lic, provided by On2 at the time of install) in the user's home directory unless a path is specified with the --authdir option. The default install location is $HOME/.on2. flixd can be stopped by sending it the TERM signal. The pid can be stored for this purpose in a file by giving the --pidfile option. By default, when running as a daemon, flixd will log using syslog(3). A log file can be specified by using the --logfile option. The amount of logging can be adjusted using the --loglevel option. OPTIONS -h,--help Prints a summary of available command line options and exits. -v,--version Prints version information and exits. -d debug mode; do not daemonize -p,--port port port to listen for rpc connections on (default: any) -i,--interface interface interface to bind rpc socket to. Argument may be a numeric IPv4 address or device name; --port MUST be specified when using this option (default: any available) -r,--reuseaddr Set SO_REUSEADDR socket option on listen socket. Only meaningful when used in conjunction with the --port option --max-sessions snct max number of concurrent encoding sessions (default: -1, unlim- ited) --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) o See the Flix Engine API documentation for complete list- ing/description BUGS Email bug reports to flixsupport@on2.com. Make sure to include the word(s) 'flixd' or 'flix engine linux' in the subject field. If possi- ble attach a copy of the install log, 'flix-engine-installer- linux-<version>.bin.log', or include the Flix Engine version and any pertinent system information in the message body. SEE ALSO portmap(8) flixd June 2008 FLIXD(8)