]> git.sesse.net Git - nageru-docs/blob - intro.rst
Update the compilation section from last README.
[nageru-docs] / intro.rst
1 Introduction
2 ============
3
4 Nageru is a live video mixer, based around the standard M/E workflow.
5
6 Features:
7
8  * High performance on modest hardware (720p60 with two input streams
9    on my Thinkpad X240 [1]_); almost all pixel processing is done on the GPU.
10
11  * High output quality; Lanczos3 scaling, subpixel precision everywhere,
12    white balance adjustment, mix of 16- and 32-bit floating point
13    for intermediate calculations, dithered output.
14
15  * Proper sound support: Syncing of multiple unrelated sources through
16    high-quality resampling, multichannel mixing with separate effects
17    per-bus, cue out for headphones, dynamic range compression,
18    three-band graphical EQ (pluss a fixed low-cut), level meters conforming
19    to EBU R128, automation via MIDI controllers.
20
21  * Theme engine encapsulating the design demands of each individual
22    event; Lua code is responsible for setting up the pixel processing
23    pipelines, running transitions etc., so that the visual look is
24    consistent between operators.
25
26 .. [1] For reference, that is: Core i7 4600U (dualcore 2.10GHz, clocks down
27        to 800 MHz after 30 seconds due to thermal constraints), Intel HD Graphics
28        4400 (ie., without the extra L4 cache from Iris Pro), single-channel DDR3 RAM
29        (so 12.8 GB/sec theoretical memory bandwidth, shared between CPU and GPU).
30
31 .. _compile:
32
33 Compiling
34 ---------
35
36 The preferred way of getting Nageru is usually from your Linux distribution
37 of choice, but you can of course also compile it yourself (which will also
38 usually give you a newer version). It currently need:
39
40  - Movit, my GPU-based video filter library (https://movit.sesse.net).
41    You will need at least version 1.5.2.
42
43  - Qt 5.5 or newer for the GUI.
44
45  - QCustomPlot for the histogram display in the frame analyzer.
46
47  - libmicrohttpd for the embedded web server.
48
49  - x264 for encoding high-quality video suitable for streaming to end users.
50
51  - ffmpeg for muxing, and for encoding audio. You will need at least
52    version 3.1.
53
54  - Working OpenGL; Movit works with almost any modern OpenGL implementation.
55    Nageru has been tested with Intel on Mesa (you want 11.2 or newer, due
56    to critical stability bugfixes), and with NVIDIA's proprietary drivers.
57    AMD's proprietary drivers (fglrx) are known not to work due to driver bugs;
58    I am in contact with AMD to try to get this resolved.
59
60  - libzita-resampler, for resampling sound sources so that they are in sync
61    between sources, and also for oversampling for the peak meter.
62
63  - Lua, for driving the theme engine.
64
65  - libpci, for printing friendly PCI device names in an error message.
66
67
68 If on Debian stretch or something similar, you can install everything you need
69 with:
70
71   apt install qtbase5-dev libqt5opengl5-dev qt5-default libqcustomplot-dev \
72     pkg-config libmicrohttpd-dev libusb-1.0-0-dev liblua5.2-dev \
73     libzita-resampler-dev libva-dev libavcodec-dev libavformat-dev \
74     libswscale-dev libavresample-dev libmovit-dev libegl1-mesa-dev \
75     libasound2-dev libx264-dev libbmusb-dev protobuf-compiler \
76     libprotobuf-dev libpci-dev
77
78 Exceptions as of July 2017:
79
80   - You will need Movit from unstable; stretch only has 1.4.0.
81
82   - You will need bmusb from unstable; stretch only has 0.5.4.
83
84 The patches/ directory contains a patch that helps zita-resampler performance.
85 It is meant for upstream, but was not in at the time Nageru was released.
86 It is taken to be by Steinar H. Gunderson <sesse@google.com> (ie., my ex-work
87 email), and under the same license as zita-resampler itself.
88
89 To start it, just hook up your equipment, type “make” and then “./nageru”.