How to effectively draw on frames of a video

gimpopenshotvideo

I used to use Camtasia on Windows for editing videos, specifically recorded screencasts. One thing this did well was give me the ability to draw simple annotations on top of the video, including canned symbols like arrows, along with text boxes that I could enter text into.

I was hoping to find something on Linux that did the same thing. I've tried pitivi and openshot, and looked at the docs for kdenlive. None of them can do that.

So then I figured that the next possibility would be to extract an individual image from the video, then use something like gimp or some other drawing program to draw my annotations onto a separate layer on top of the image, then extract that layer to an image that I can then import into one of the video editors and place it at the correct point in the video.

I believe I've seen some command-line tools that generate individual frame images from a video using a timestamp range. Would something like this be part of the process?

Has anyone put all of these pieces together in a real process, as opposed to just a theoretical idea?

Best Answer

It's possible using Kdenlive and GIMP.

In Kdenlive, put your video clip on the timeline in the 2nd video track. Scrub to the frame you want, then right click on the project monitor and select 'extract frame'. Save it, then open that file in GIMP.

In GIMP, create a new layer and draw your annotation, then hide the background image layer and, from the file menu, select 'overwrite ' to save it.

Back in Kdnelive, import the png annotation (project > add clip), and place it in the desired position on the 1st video track. If you're using the 15.12 version of Kdenlive, that's it. On earlier versions, you may have to add a composite transition for the duration of the annotation to preserve the transparency of the png.

Related Question