Repository navigation
Conversation
|
As a minimum this sequence should be made into a subroutine: LabelFormat format = LabelFormat::TEXT; I think also that we need an #ifdef EXPERIMENTAL_SUBRIP_FORMATS. We should support import of our own exported SRT, even if we don't support the full WebVVT format. Closed for a resubmit with these corrections. |
Importing exported SRT files works; it's only WebVVT that can't be imported again. |
|
OK. |
|
As another note, I feel like there must already be some timestamp parsing code somewhere in audacity that I could re-use (since the UI has timestamps), but I couldn't find it. |
|
The UI that draws the time ruler converts raw times into formatted timestamps. It does not do the reverse conversion. |
|
This looks like a very specialist use case, which would be better as an optional plug-in or module rather than a core feature. Could we at least discus this on the QA list? |
Not intended for the 2.3.3; this is just something I needed for my own use (for Wikimedia Commons) and now that I've implemented it, I might as well put it out.
This adds support for importing and exporting label track context in the format used by SubRip (with some weak documentation here), and also exporting in the related WebVVT format (but not importing due to the increased complexity of that format).