Streaming Output with Motion

From wiki.ferrari.mo.it
Revision as of 14:16, 16 January 2019 by Admin (talk | contribs) (Created page with "== Streaming Camera Output to http == First of all, install motion and its dependencies: apt-get install motion Then, create a configuration file (e.g. motion.conf): str...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Streaming Camera Output to http

First of all, install motion and its dependencies:

apt-get install motion

Then, create a configuration file (e.g. motion.conf):

stream_port 8080
stream_localhost off
output_pictures off
width 1280
height 720
framerate 30
stream_maxrate 30

This is an example working at full frame rate and definition for fa-cam202.

Please note the 'output_pictures off' line, this is to avoid saving each frame on the disk.

Then, start motion:

motion -m -c ./motion.conf

The '-m' option is to disable motion detection if not necessary, the second to specify locatin of configuration file.