This is the stereo version of MLT by Sparky Stereo OS, forked from mltframework/mlt. It reads and writes the stereoscopic 3D packing of a video, as the H.264 and H.265 frame packing SEI and Matroska StereoMode carry it, and adds a filter that unpacks it.
Where it comes from:
- MLT is made by Meltytech, LLC and its contributors. Its authors include Charles Yates and Dan Dennedy; see AUTHORS.
- Debian is the base of the system.
- SparkyLinux, by Paweł "pavroo" Pijanowski, builds on Debian.
- Sparky Stereo OS is the stereo 3D edition of SparkyLinux: SparkyOS, powered by Debian.
The stereo3d-7.40 branch holds the version the distribution builds.
The branch starts from MLT 7.40.0.
The licence is unchanged; see COPYING.
Sparky Stereo OS, Daniel Ramos's edition of SparkyLinux (by Paweł "pavroo" Pijanowski).
MLT is a LGPL multimedia framework designed for video editing.
This document provides a quick reference for the minimal configuration, build and installation of MLT.
See the docs/ directory for usage details.
See the website for development details and a contributing guide.
This repository provides a standardized development environment using the Development Containers specification. It is compatible with VS Code, CLion, DevPod, and other IDEs supporting the .devcontainer standard.
- Docker (or Podman)
- An IDE with Dev Container support.
By default, the container runs in Restricted Mode (secure/headless). In this mode:
- Audio is routed to a
dummydriver (no sound). - GPU access might be limited to software rendering.
To enable Full GPU Acceleration (DRI) and Physical Audio (ALSA/PulseAudio/PipeWire), follow these steps:
-
Modify
devcontainer.json: Uncomment the following lines inside therunArgsarray:"--ipc=host", "--privileged"
- What this does:
--ipc=hostallows shared memory access for high-performance video frames, and--privilegedgrants the container direct access to host devices (GPU nodes and Sound Cards).
- What this does:
-
Trigger a Rebuild: Changes to
runArgsrequire a container recreation.- In VS Code: Run the command
Dev Containers: Rebuild Container. - In CLion: Select
Restart and Rebuild Container.
- In VS Code: Run the command
-
Switch the Audio Driver: The
Dockerfiledefaults toSDL_AUDIODRIVER=dummy. Once in privileged mode, you must tell the MLT consumer to use a real driver:- Temporary (CLI):
SDL_AUDIODRIVER=alsa melt video.mp4
- Permanent: Edit the
ENV SDL_AUDIODRIVERline in your.devcontainer/Dockerfiletoalsaorpulseaudio.
Warning: Using
--privilegedmode reduces the security isolation between the container and your host machine. Use it only when real-time hardware playback is required for development.
Configuration is triggered by running CMake from inside a build directory, not from the project root.
mkdir -p build
cd build
cmake ..Alternatively, you can configure CMake with Ninja:
cmake -G Ninja ..More information on usage is found by viewing CMakeLists.txt and the CMake manual page.
Once configured, it should be sufficient to run:
cmake --build .Alternatively, you can compile with Ninja:
ninjaAlternatively, you can compile using CMake or Ninja with one less CPU core (recommended only on systems with many CPU cores):
cmake --build . --parallel $(($(nproc) - 1))
# or
ninja -j $(($(nproc) - 1))All generated files (Makefiles, Ninja files, cache, object files, binaries) will remain inside the build/ directory.
To execute the MLT tools without installation, or to test a new version on a system with an already installed MLT version, run:
source ../setenv
ctest --output-on-failure # -j $(($(nproc) - 1))NB:
- This applies to the current shell only
- It assumes a bash or Bourne-compatible shell is in use
- The command must be executed from inside the
build/directory
Installation is triggered by running:
sudo cmake --install .This installs the files generated in the build/ directory, without affecting the project source tree.
Note: After installation, some Linux systems may require running
sudo ldconfigto refresh the shared library cache, especially if the install prefix is not already part of the system linker configuration.
mkdir build
cd build
cmake ..
cmake --build .
source ../setenv
ctest --output-on-failure
sudo cmake --install .This approach keeps the source tree clean and allows the entire build to be removed safely by deleting the build/ directory.
For more detailed information, please refer to https://mltframework.org/docs/install/.