1 Installing
Video uses FFmpeg as part of its back-end. The language includes FFmpeg for macOS and Windows. Linux (and other OS) users will need to install FFmpeg themselves. Custom FFmpeg builds are also an option when needed. Details are provided for Windows/macOS/Linux.
1.1 Windows
Video for Windows comes bundled with FFmpeg. You can optionally install a different version of FFmpeg. To install a custom FFmpeg build, open the environment variables window and add the path to the DLLs to the your library path. Make sure to use at least the minimum version of FFmpeg as documented in FFmpeg Requirements.
1.2 macOS
As with Windows, Video comes bundled with macOS. If you want to use your own build of FFmpeg, ad the path to the dylib to your LD_LIBRARY_PATH.
1.3 Linux
You need to install FFmpeg. Either from the FFmpeg website, or from your distro’s repository. See FFmpeg Requirements to make sure you have the correct version installed.
1.4 FFmpeg Requirements
Video requires at least FFmpeg 3.2, and recommends FFmpeg 3.3. The full requirements are as follows:
FFmpeg 4.0 support for Video is still under development.
Minimum Version:
avutil
55.58
libavcodec
57.89
libavformat
57.71
libavfilter
6.82
libswscale
4.6
libswresample
2.7
libavdevice
57.6
Recommended Version:
libavutil
55.58
libavcodec
57.89
libavformat
57.71
libavfilter
6.82
libswscale
4.6
libswresample
2.7
libavdevice
57.6
Note that the miner version is a minimum, while the major version is exact. Video has this requirement because major versions of FFmpeg libraries breaks backwards compatibility.
You can test your version of FFmpeg with ffmpeg -v.