A container for kdenlive, a free and open-source video editor for GNU/Linux.
$ docker pull lvm23/kdenlive
$ docker pull ark74/kdenlive
(this might change in the future)
or
$ git clone https://github.com/lvm/docker-kdenlive && \
cd docker-kdenlive && \
docker build -t kdenlive .
$ git clone https://github.com/Ark74/docker-kdenlive && \
cd docker-kdenlive && \
docker build -t kdenlive .
$ docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -v $HOME/Videos:/videos -e DISPLAY=unix$DISPLAY --name knl kml2/kdenlive
$ docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -v $HOME/Videos:/videos -e DISPLAY=unix$DISPLAY --name knl ark74/kdenlive
-v $HOME/videos:/videos
is used to mount the container's /videos
directory to the host $HOME/kdenlive
directory, you can choose other directory.
Note: probably you might also need to execute xhost local:root
or xhost +my-computer-hostname.local
.
You might wanna use the device options to enable sound and hw acceletarion on graphic cards (Intel only), since you'll be editing video on this software:
--device=/dev/dri
Also sound is an option, for ALSA:
--device=/dev/snd
note that sound might get disabled on your host machine until you close the container.