Debian Codegraph @

examples/images_videos/simple_video_editor/README.md

raw symbols SCIP
1 # Simple Video Editor
2
3 Simple example of loading a video file and playing it in Castle Game Engine
4 window, with some simple editing features.
5 Can load:
6
7 - image sequence.
8
9 By default loads image sequence in `data/flame_seamless/0001.png`, `data/flame_seamless/0002.png`...
10 It can be referred to using CGE URL like this: `castle-data/flame_seamless/@counter(4).png` .
11
12 - some video formats, if FfMpeg is installed and available on command-line.
13
14 Beware! CGE `TVideo` is *not* suitable to load larger videos. It will take
15 a long time, and consume a lot of memory. It is only suitable for a short videos
16 used typically for visual effects.
17
18 - can also load single image files.
19
20 We can load all image formats to TVideo by just treating them as movies with 1 frame.
21
22 Using [Castle Game Engine](https://castle-engine.io/).
23
24 ## Building
25
26 Compile by:
27
28 - [CGE editor](https://castle-engine.io/editor). Just use menu items _"Compile"_ or _"Compile And Run"_.
29
30 - Or use [CGE command-line build tool](https://castle-engine.io/build_tool). Run `castle-engine compile` in this directory.
31
32 - Or use [Lazarus](https://www.lazarus-ide.org/). Open in Lazarus `x3d_call_pascal_code_standalone.lpi` file and compile / run from Lazarus. Make sure to first register [CGE Lazarus packages](https://castle-engine.io/lazarus).