MCPcopy Create free account

hub / github.com/agermanidis/autosub / functions

Functions18 in github.com/agermanidis/autosub

↓ 2 callersFunctionis_exe
Checks whether a file is executable.
autosub/__init__.py:156
↓ 1 callersFunctionextract_audio
Extract audio from an input file to a temporary WAV file.
autosub/__init__.py:175
↓ 1 callersFunctionfind_speech_regions
Perform voice activity detection on a given audio file.
autosub/__init__.py:194
↓ 1 callersFunctiongenerate_subtitles
Given an input audio/video file, generate subtitles in the specified language and format.
autosub/__init__.py:233
↓ 1 callersFunctionmain
Run autosub as a command-line program.
autosub/__init__.py:353
↓ 1 callersFunctionpercentile
Calculate the given percentile of arr.
autosub/__init__.py:39
↓ 1 callersFunctionsrt_formatter
Serialize a list of subtitles according to the SRT format, with optional time padding.
autosub/formatters.py:14
↓ 1 callersFunctionvalidate
Check that the CLI arguments passed to autosub are valid.
autosub/__init__.py:321
↓ 1 callersFunctionwhich
Return the path for a given executable.
autosub/__init__.py:152
Method__call__
(self, region)
autosub/__init__.py:63
Method__call__
(self, data)
autosub/__init__.py:93
Method__call__
(self, sentence)
autosub/__init__.py:131
Method__init__
(self, source_path, include_before=0.25, include_after=0.25)
autosub/__init__.py:58
Method__init__
(self, language="en", rate=44100, retries=3, api_key=GOOGLE_SPEECH_API_KEY)
autosub/__init__.py:87
Method__init__
(self, language, api_key, src, dst)
autosub/__init__.py:123
Functionjson_formatter
Serialize a list of subtitles as a JSON blob.
autosub/formatters.py:38
Functionraw_formatter
Serialize a list of subtitles as a newline-delimited string.
autosub/formatters.py:54
Functionvtt_formatter
Serialize a list of subtitles according to the VTT format, with optional time padding.
autosub/formatters.py:29