Debian Codegraph @

docs/using-frei0r.md

raw symbols SCIP
1 # Using frei0r
2
3 Install frei0r first, then select effects from a host application or load them
4 programmatically. The host owns decoding, timelines, controls and output; the
5 plugin transforms or creates frames.
6
7 ## Find plugins
8
9 On Unix-like systems, hosts search standard frei0r library directories such as:
10
11 - `/usr/lib/frei0r-1`
12 - `/usr/local/lib/frei0r-1`
13 - `$HOME/.frei0r-1/lib`
14
15 Set `FREI0R_PATH` to provide additional plugin directories:
16
17 ```sh
18 export FREI0R_PATH="$HOME/my-frei0r:/opt/frei0r/lib/frei0r-1"
19 ```
20
21 Unix uses `:` between entries. Windows uses `;`. The precise search and naming
22 rules are documented in
23 [`include/frei0r.h`](https://github.com/dyne/frei0r/blob/master/include/frei0r.h).
24
25 ## FFmpeg
26
27 Apply a frei0r filter:
28
29 ```sh
30 ffmpeg -i input.mp4 -vf "frei0r=filter_name=glow" output.mp4
31 ```
32
33 Pass plugin parameters as a `|`-separated string:
34
35 ```sh
36 ffmpeg -i input.mp4 \
37 -vf "frei0r=filter_name=pixeliz0r:filter_params=0.08|0.08" \
38 output.mp4
39 ```
40
41 Use a generator plugin as a video source:
42
43 ```sh
44 ffmpeg -f lavfi \
45 -i "frei0r_src=size=1280x720:framerate=30:filter_name=partik0l" \
46 -t 10 output.mp4
47 ```
48
49 Plugin names and parameters differ by installation. A source checkout includes
50 a metadata scanner:
51
52 ```sh
53 cd test
54 make frei0r-meta
55 make scan-meta
56 ```
57
58 See the current
59 [FFmpeg frei0r documentation](https://ffmpeg.org/ffmpeg-filters.html#frei0r)
60 for complete option and escaping rules.
61
62 ## Editors and frameworks
63
64 Kdenlive, Shotcut and Flowblade use MLT as their media engine. Installed frei0r
65 services appear through each editor's normal effects or filters interface.
66 Names and grouping can differ because the host supplies the user interface.
67
68 Liquidsoap exposes frei0r within programmable video pipelines. Start with its
69 [video documentation](https://www.liquidsoap.info/doc-dev/video.html).
70
71 The [supporting-software page](/software) distinguishes direct hosts from
72 applications receiving the plugins through another framework.
73
74 ## Troubleshooting
75
76 1. Confirm the plugin package matches the host architecture.
77 2. Confirm the host was built with its frei0r integration enabled.
78 3. Check the standard plugin path or set `FREI0R_PATH`.
79 4. Inspect plugin metadata from a source build.
80 5. Ask on [Telegram](https://t.me/frei0r) or open a
81 [GitHub issue](https://github.com/dyne/frei0r/issues) with operating system,
82 host version, plugin name and installation path.