OpenShot / openshot-qt

OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality video editing and animation solutions to the world.
http://www.openshot.org
Other
4.36k stars 544 forks source link

Subtitles #4744

Open Oink70 opened 2 years ago

Oink70 commented 2 years ago

Describe the new feature: Support for external subtitles files.

Describe the solution you'd like:

Describe alternatives you have considered: Manually creating png's for every line of text and manually positioning on the time line.

stale[bot] commented 2 years ago

Thank you so much for submitting an issue to help improve OpenShot Video Editor. We are sorry about this, but this particular issue has gone unnoticed for quite some time. To help keep the OpenShot GitHub Issue Tracker organized and focused, we must ensure that every issue is correctly labelled and triaged, to get the proper attention.

This issue will be closed, as it meets the following criteria:

We'd like to ask you to help us out and determine whether this issue should be reopened.

Thanks again for your help!

chenlung commented 2 years ago

I propose that it be re-opened. It's essential for foreign-language features or those with hearing impairments.

JacksonRG commented 2 years ago

I agree this is important. I was under the impression that our captioning system used a common format. But it looks like there's a slight variation.

Openshot:

00:00:09:266 --> 00:00:14:266
Sample Caption

.srt (via wikipedia)

4
00:03:18,608 --> 00:03:20,371
I guess I was wrong

and .vtt (via wikipedia)

00:11.000 --> 00:13.000
<v Roger Bingham>We are in New York City

Would you consider the first bullet point solved if a . or , were both accepted as a separator for the last number in the timestamps?

@Oink70 Regarding the other two bullet points: (@chenlung If you have any experience in this area, I'd love to hear your input as well) 2) Currently in our daily build (not yet in the release version) the + button will create a new timestamp wherever the playhead (preview position) is on the timeline. While the cursor is on that line, pressing the + again will fill in the ending timestamp. (In the new playhead position, or 5 seconds later, if the playhead hasn't moved.) 3) When you say an option to save the caption text to a file, you mean a single caption file for the whole project?

JacksonRG commented 2 years ago

Openshot Exporting Standard Subtitle Files

chenlung commented 2 years ago

Hi @JacksonRG,

At the moment, my subtitle editor of choice is Subtitle Horse, and I'm eagerly awaiting its upcoming version.

In relation to audio-to-text, Subtitle Edit has Vosk. However, it recently implemented experimental support for Whisper. At the moment, I use Happy Scribe and tidy from there.

SRT (sample and specification) and VTT (samples and specification) indeed use commas and full stops respectively, as far as I know.

Nowadays, I tend to submit files as iTunes Timed Text (because it's frame-based). See the specification and samples.

Support for other formats might be a good idea (others might be better placed to answer which), though I'd say some of the legacy ones should take lower priority (being able to at least open and convert would be ideal). For example, see samples and the specification for DVD Studio Pro.

I'm happy to provide some more samples (perhaps privately) and try to do some testing.

stale[bot] commented 1 year ago

Thank you so much for submitting an issue to help improve OpenShot Video Editor. We are sorry about this, but this particular issue has gone unnoticed for quite some time. To help keep the OpenShot GitHub Issue Tracker organized and focused, we must ensure that every issue is correctly labelled and triaged, to get the proper attention.

This issue will be closed, as it meets the following criteria:

We'd like to ask you to help us out and determine whether this issue should be reopened.

Thanks again for your help!

chenlung commented 1 year ago

Still valid, I believe.

huangweicong112 commented 8 months ago

I hope to know when subtitle will be supported, I think it is realy important.