agermanidis / autosub

[NO LONGER MAINTAINED] Command-line utility for auto-generating subtitles for any video file
MIT License
4.14k stars 1.65k forks source link

Bypass Google Web Speech API, and generate only time-stamps #68

Open ghost opened 7 years ago

ghost commented 7 years ago

Hi there, @agermanidis I was wondering if it is possible to bypass the "Google Web Speech API", and instead create an .srt file with only the time-stamps & no transcription, It would be helpful for non-english languages. Having a ready-made .srt file with segmented time-stamps would decrease the work needed in a manual process of subtitle creation, thus the user would skip the part of manually segmenting the video, and proceed to the transcribing part with filling-up the blanks.

JeanDown123 commented 7 years ago

http://www.nikse.dk/subtitleedit/ Try Subtitle Edit.exe WaveForm - "Guess Times Codes"

jboldin commented 6 years ago

If you have the text file (transcript) of the video, just upload the video to YouTube and then upload your plain text transcript and it will do this for you.

BingLingGroup commented 5 years ago

Now the codes in my repo can generate time codes or in other words, empty subtitles file. But it hasn't been released. Install it from the latest code in dev branch instead.

Usage:

usage: 
  autosub source_path [options]

Auto-generates subtitles for any video or audio file.

Required:
path                    The path to the video or audio file needs to generate
                        subtitle. If Speech Options not given, it will only
                        generate the times.(arg_num = 1)

I also change the internal method to detect speech regions. Perhaps increasing the accuracy. See CHANGELOG.md

BingLingGroup commented 5 years ago

I've already released the standalone version with ffmpeg dependency. Click here and download.

Now the codes in my repo can generate time codes or in other words, empty subtitles file. But it hasn't been released. Install it from the latest code in dev branch instead.

Usage:

usage: 
  autosub source_path [options]

Auto-generates subtitles for any video or audio file.

Required:
path                    The path to the video or audio file needs to generate
                        subtitle. If Speech Options not given, it will only
                        generate the times.(arg_num = 1)

I also change the internal method to detect speech regions. Perhaps increasing the accuracy. See CHANGELOG.md

I've already released the standalone version with ffmpeg dependency. Click here and download.