4 Nageru is a live video mixer, based around the standard M/E workflow.
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.
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, optional 10-bit input
16 * Proper sound support: Syncing of multiple unrelated sources through
17 high-quality resampling, multichannel mixing with separate effects
18 per-bus, cue out for headphones, dynamic range compression,
19 three-band graphical EQ (pluss a fixed low-cut), level meters conforming
20 to EBU R128, automation via MIDI controllers.
22 * Theme engine encapsulating the design demands of each individual
23 event; Lua code is responsible for setting up the pixel processing
24 pipelines, running transitions etc., so that the visual look is
25 consistent between operators.
27 * Comprehensive monitoring through Prometheus metrics.
29 .. [1] For reference, that is: Core i7 4600U (dualcore 2.10GHz, clocks down
30 to 800 MHz after 30 seconds due to thermal constraints), Intel HD Graphics
31 4400 (ie., without the extra L4 cache from Iris Pro), single-channel DDR3 RAM
32 (so 12.8 GB/sec theoretical memory bandwidth, shared between CPU and GPU).
39 The preferred way of getting Nageru is usually from your Linux distribution
40 of choice, but you can of course also compile it yourself (which will also
41 usually give you a newer version). It currently need:
43 - Movit, my GPU-based video filter library (https://movit.sesse.net).
44 You will need at least version 1.5.2.
46 - Qt 5.5 or newer for the GUI.
48 - QCustomPlot for the histogram display in the frame analyzer
49 (no longer needed from Nageru 2.2.0).
51 - libmicrohttpd for the embedded web server.
53 - x264 for encoding high-quality video suitable for streaming to end users.
55 - FFmpeg for muxing, and for encoding audio. You will need at least
58 - Working OpenGL; Movit works with almost any modern OpenGL implementation.
59 Nageru has been tested with Intel on Mesa), and with NVIDIA's proprietary drivers.
60 The status of AMD's proprietary drivers is currently unknown.
62 - libzita-resampler, for resampling sound sources so that they are in sync
63 between sources, and also for oversampling for the peak meter.
65 - LuaJIT, for driving the theme engine. You will need at least version 2.1.
67 - libjpeg, for encoding MJPEG streams when VA-API JPEG support is not
70 - Protocol Buffers (protobuf), for storing various forms of settings and
73 - Meson, for building.
75 - Optional: CEF (Chromium Embedded Framework), for :doc:`HTML graphics <html>`.
76 If you build without CEF, the HTMLInput class will not be available from
77 the theme. You can get binary downloads of CEF from
79 http://opensource.spotify.com/cefbuilds/index.html
81 Download the right build for your platform (the “minimal” build
82 is fine) and add -Dcef_dir=<path>/cef_binary_X.XXXX.XXXX.XXXXXXXX_linux64
83 on the meson command line (substituting X with the real version as required).
85 - Optional: libsrt, for SRT inputs (by default, Nageru will listen on
86 port 9710, although you can change this port on the command line,
87 turn it off with --srt-port -1, or turn it off live in the UI).
88 SRT can also be used for output in addition to listening for HTTP
89 (see --srt-destination). If you build with libsrt, make sure it is not
90 linked to OpenSSL, for license reasons.
92 - Optional: SVT-AV1, for encoding high-quality video suitable for streaming to
93 end users (higher quality than using x264, but not nearly as mature).
94 You will need at least version 1.5.0.
97 :doc:`Futatabi <futatabi>` also needs:
99 - A fast GPU with OpenGL 4.5 support (GTX 1080 or similar recommended for
100 best quality at HD resolutions, although 950 should work).
102 - SQLite, for storing state.
104 If on Debian bullseye or something similar, you can install everything you need
108 apt install qtbase5-dev libqt5opengl5-dev qt5-default \
109 pkg-config libmicrohttpd-dev libusb-1.0-0-dev libluajit-5.1-dev \
110 libzita-resampler-dev libva-dev libavcodec-dev libavformat-dev \
111 libswscale-dev libavresample-dev libmovit-dev libegl1-mesa-dev \
112 libasound2-dev libx264-dev libbmusb-dev protobuf-compiler \
113 libprotobuf-dev libsqlite3-dev meson libjpeg-dev libsrt-gnutls-dev
116 Exceptions as of September 2023:
118 - Debian does not carry CEF (but it is optional). You can get experimental
119 (and not security-supported) CEF Debian packages built for unstable at
120 http://storage.sesse.net/cef/, and then configure Nageru with
122 meson obj -Dcef_dir=/usr/lib/x86_64-linux-gnu/cef -Dcef_build_type=system -Dcef_no_icudtl=true
125 The patches/ directory contains a patch that helps zita-resampler performance.
126 It is meant for upstream, but was not in at the time Nageru was released.
127 It is taken to be by Steinar H. Gunderson <sesse@google.com> (ie., my ex-work
128 email), and under the same license as zita-resampler itself.
130 Nageru and Futatabi use Meson to build. For a default build, type
132 meson obj && cd obj && ninja
134 To start it, hook up your equipment, and then type “./nageru”.