Red animated pencil circle for highlighting text etc in Shotcut

Hi @namna, no, you’re on topic! As @PoisonedSlice pointed out was indeed one of the questions @nurub asked in the Opening post. That’s very helpful for users - thank you.

1 Like

Gosh, thanks for those words @Stephen_SE9, especially for the compliments on my tutorials! Well, I haven’t actually been very far but I’ve been busy making a lot of music videos to go with my flute compositions - all done with Shotcut of course!
This has meant that I haven’t had much free time to do any more SC tutorials, or contribute here, but I do check in daily to see what’s going on. I would love to get back yo tutorials one day.

Yes, my flute videos have been very fruitful thank you. I have made lots of flute-playing friends all over the globe. Very satisfying. Hope you are OK.

Hi @PoisonedSlice, your method works fine so far in the limited time I had to test it today! Bravo - great idea to use percentage mask values and incorporate it all into one clip. Genius.

So here’s my idea - not better than yours but just an alternative. It’s based on your idea of having a clip for each of the border lines and uses the SPR filter, but I’ve been thinking of how to make it easier to generate and input all the values.
So here goes. First, this diagram explains that I’ve identified the four SPR values as A, B, C and D. You’ll also need value E, which is the border thickness. This can be any value of your choice.
(Note - all the best ideas begin by being drawn on the back of a fag packet…) :rofl:

In Diagram 2, I show how the 4 border lines will appear on screen:

Next, Lightbulb moment number 1: Using @PoisonedSlice’s MLT example as a guide, I worked out the keyframing values needed for each line to appear, but not in numbers - in a series of mathematical formulae based on the values A B C D and E.
Here’s what I came up with. I have limited time to explain this now but I hope it is fairly clear how it works.

Next, Lightbulb moment number 2:
I put these formulae in a spreadsheet. I don’t have Excel so I used LibreOffice Calc:

So, how to use it.
(BTW I punched the air when it worked)!!

I made a short tutorial video which I hope explains it. I used it to highlight a bar of music and I’ll be using it in a forthcoming video.
The basic process is to begin with a colour box sized at exactly where you want it on screen.
This generates values A B C and D. Then decide on value E (border line thickness).
Then input these values into the spreadsheet, and immediately the required values appear for each of the four border line clips (two for each, start and end keyframes).
Then transfer these values into the SPR filters of each clip.

Finally, hide the original box and Ta-Da!
Here’s my tutorial video. BTW the program I used to keep the spreadsheet in view is TurboTop. :

The big plus point of this method is that you can choose a box of any size and any border line thickness, and the border stays exactly that size, on all sides of the rectangle.
The PITA of course is that it’s still fiddly to input each of the 32 values (although some are duplicates). However the tutorial is only 4 minutes long (although I did speed up some of the tutorial video slightly. In real time it took me 5:30 from start to finish.
If anyone would like the spreadsheet file to try it out, it’s here, in both ODS (LibreCalc) and XML (Excel) formats. Just delete the fake TXT extension:

Revealing box with border - calculations (JonRay method) 01.ods.txt (19.4 KB)

Revealing box with border - calculations (JonRay method) 01.xml.txt (19.3 KB)
Here’s the MLT of my tutorial but it won’t have the music graphic:
Revealing Box border with automatic calculations (JonRay) 01.mlt (38.6 KB)

2 Likes

I am thanks, @jonray. I wouldn’t mind checking out these flute videos edited with Shotcut if they’re in the public domain that is :laughing:

Fantastic! It takes the grunt work out of the process and removes any potential for miscalculation. I think you should start a separate resource topic on this box reveal since I can definitely see a use case for it. And if you don’t include SPR in the title - something like “Animated box drawing for outlining text” - then I can reply with a detailed post including my own alternative mask method (which I’ve done some more work on also, including an improved screen recording on how to use, but I will save all that for your new thread).

1 Like

They are on Jon’s Youtube channel:

1 Like

Thanks for the heads -up, @elusien. Actually I had forgotten just how many videos I’ve made! (I make it 60 - and more in the pipeline) …

@Stephen_SE9 - for an example of some custom masking action, see:

https://youtu.be/CMg65Ap4H3k

1 Like

That’s a great idea, @PoisonedSlice. Will do, as soon I can find some time. Today if possible…

@jonray, I like those words “more in the pipeline”.

1 Like