.TXT file created from markers - how to change time format?

I think a recent update made a change. I use Shotcut to make videos for a gaming channel for YouTube. I used to export the markers file and it worked flawlessly to create chapters for YouTube, so as part of my editing process this was all done. The new time stamps include more time segments than before so now I need to delete the first 3 and last 3 characters of every time entry. This is very time consuming now for my video editing. Is there a way to go back to min:sec instead of hour:min:sec:subsecond that it does now?

As an example:

What it give gives me now:
00:01:11:13 Getting job
00:09:51:02 Hauling
00:39:35:24 Delivery & debrief
00:43:12:49 Wrap up

What it used to give me:
00:40 Getting job
13:04 Hauling
30:35 Delivery & debrief

It is affected now by Settings > Time Format, not intentionally but as a negative side effect. Markers are now created based on that time setting and saved into the project file in that manner. Changing Time Format of an existing project does not change all of the time stamps in the project file even though they appear to do so in the UI Markers panel. The older export markers code expects that time values are always stored in clock value (hour:min:sec:subsecond).

There is an easy code fix I can make for the next version for any setting other than Time Format > Frames. Changing the code to always save markers with clock value is a bigger change that needs to wait for a later version.

The workaround is to use Settings > Time Format > Clock before adding markers.

1 Like

FYI @Caracarn, if you wanted to save some time fixing those you can use Notepad++ and click drag while holding the “ALT” to select the whole column and delete it. It’s a quick fix if you need to on existing files. If you’re on a Windows PC that is.

2 Likes

I didn’t know that one. Nice trick. Thanks.

Thanks for the response. I will try that adjustment next time. Glad to at least know it was able to be understood.

I have done them all manually for now. I do some videos for PGA Golf and I typically mark each hole if people want to jump around and so I have about 20-25 markers per video there and it was just annoying enough figured I’d ask. Thanks for replying!

This topic was automatically closed after 90 days. New replies are no longer allowed.

This is fixed for next version 25.01