I didn't create this script myself, you can find it right there:
https://github.com/Soletude/Stagsi-Reci ... kmarks.lua
But I've created this video on my YouTube channel to show this addon in action:
https://youtu.be/Qppv9mAXN2U
I personally use VLC player and Stagsi altogether on a daily basis to organize my videos and tag segments in a long videos. It's great for labeling various parts of a video tutorial. I hope you'll find this addon helpful for your own vlc projects!
P.S. It would be nice if contributors could create a better hotkey than 'pausing' the video for creating the M3U bookmarks. Pausing is a bit annoying given I need to pause the video for other purpose than creating m3u files, but for the time being it's definitely a nice addon.