HARVID(1) User Commands HARVID(1)

harvid - video server

harvid [OPTION] [document-root]

harvid - http ardour video server

space separated list of allowed admin commands. An exclamation-mark before a command disables it. default: 'flush_cache'; available: flush_cache, purge_cache, shutdown
change system root - jails server to this path
set initial frame-cache size (default: 128)
fork into background and detach from TTY
assume this user-group
display this help and exit
space separated list of optional features. An exclamation-mark before a features disables it. default: 'index'; available: index, seek, flatindex, keepraw
specify file for log messages
attempt to lock memory (prevent cache paging)
TCP port to listen on (default 1554)
IP address to listen on (default 0.0.0.0)
inhibit usual output (may be used thrice)
send messages to syslog
set maximum decoder-threads (default: 8)
set a timeout after which the server will terminate if no new request arrives
server will act as this user
print more information (may be used twice)
print version information and exit

The default document-root (if unspecified) is the system root: / or C:\.

If both syslog and logfile are given that last specified option will be used.

--verbose and --quiet are additive. The default is to print warnings and above only. Available log-levels are 'mute', 'critical, 'error', 'warning' and 'info'.

The --features option allows one to enable or disable /seek and /index http-handlers and change their respone: The 'flatindex' option concerns /index&flatindex=1 which recursively indexes all video file. It is disabled by defaults since a recursive search of the default docroot / can takes a very long time. When requesting png or jpeg images harvid decodes a raw RGB frame and then encodes it again. If 'keepraw' feature is enabled, both the raw RGB and encoded image are kept in cache. The default is to invaldate the RGB frame after encoding the image.

harvid -A '!flush_cache purge_cache shutdown' -C 256 /tmp/

sudo harvid -c /tmp/ -u nobody -g nogroup /

Report bugs to <robin@gareus.org> or https://github.com/x42/harvid/issues
Website http://x42.github.com/harvid/

Compiled with Lavf58.45.100 Lavc58.91.100 Lavu56.51.100

Copyright © GPL 2002-2013, 2022 Robin Gareus <robin@gareus.org>

December 2022 harvid v0.9.1