Skip to main content
Morgendunst

Video Editing On Linux

Which video editing program?

There are a wide variety of programs available for editing videos on Linux. Among the best-known are KDEnlive and DaVinci Resolve. Both are excellent for editing tutorials recorded with OBS Studio, for example.

However, there are a few things to keep in mind here.

DaVinci Resolve

Unlike the Windows version, DaVinci Resolve on Linux does not support certain codecs due to licensing restrictions—at least not in the free version.
If you record your videos as MKV or MP4 files, you’ll likely have no audio or no video (or possibly both) after importing them into DaVinci Resolve. You can fix this by converting the videos to a format that Resolve can process. The MOV format is a good choice for this.

The conversion is done using a small script that I run in the directory where the videos created by OBS are stored.
Since I tend to be cautious, I copy the videos to another directory just to be safe—that way I have a backup in case something goes wrong.

Here are the scripts, one for MKV files and one for MP4 files.
Use at your own risk!

I saved the scripts as encodemkv.sh and encodemp4.sh.

For the mkv files, the script looks like this:
mkdir transcoded; for i in *.mkv; do ffmpeg -i "$i" -vcodec mjpeg -q:v 2 -acodec pcm_s16be -q:a 0 -f mov "transcoded/${i%.*}.mov"; done

For the mp4 files:
mkdir transcoded; for i in *.mp4; do ffmpeg -i "$i" -vcodec mjpeg -q:v 2 -acodec pcm_s16be -q:a 0 -f mov "transcoded/${i%.*}.mov"; done

Please don't forget to make the scripts executable as well.
:-)

I got the script from this site:
https://brushlesswhoop.com/converting-fpv-footage-for-davinci-resolve/

KDEnlive

You won't have these problems with KDEnlive, since the program (even though there are versions for Windows and Mac) comes from the Linux world.
So far, I haven’t had any problems with either the AppImage or the Flatpak version. That’s why KDEnlive is currently my favorite when it comes to video editing.

I ran into just one snag there. It concerns the "Speak to Text" option in the settings. Neither the Flatpak version nor the AppImage version started downloading the speech module recommended there.
To fix this problem, you simply need to create a directory named “whisper” in the cache folder.

If you're using the AppImage or have installed KDEnlive from the repository, you'll need to create the "whisper" directory in the cache folder of your home directory.
For the Flatpak version, the cache directory for KDEnlive is located here:
/home/YourUsername/.var/app/org.kde.kdenlive/cache/

Then restart the program, and the download will complete without any problems.


Here are the links to the programs:

KDEnlive

DaVinci Resolve

You can find more articles about Linux here.

 

 

Not yet rated

Comments

No Comments

Add a comment:

*Required fields




Subscribe to comments RSS Feed

« Gimp 3


Blog