What other params can you use in the Text filter?


#1

All I’ve heard about is the timestamp one, and I’m asking because if that parameter is the only one for the Text filter, that would be kinda disappointing. :stuck_out_tongue:

over here


#2

Kind’a disappointing that you’re just going on heresay and haven’t bothered to look further than that screenshot.
Try actually using Shotcut and in particular the Text filter and see for yourself.


#3

To be fair, the Text filter itself only provides the presets for an escaped hash sign, the Timecode, Frame #, File date, and File name.

There’s no mention of e.g. #localtime# which inserts the current time. Or #width#, #height, #aspect_ratio#, #audio_channels#, #colorspace#, #original_position#. let alone #meta.media.0.codec.name#, etc. that you’d need to dig up from the MLT framework docs, as alluded to by the Dynamictext filter docs:
https://www.mltframework.org/plugins/FilterDynamictext/

Most of them aren’t going to be too particularly useful in editing (e.g. do you really need to output that the clip was h264, has 2 audio channels, at 48kHz?), though #original_position# is nice to have around, and I’m sure there’s others people would find useful.