mixing.transcript.formats¶
Transcript output formats: SRT, plain prose, time remapping.
Functions
|
Map |
|
Render a Scribe word list as plain prose, with paragraph breaks on long pauses. |
|
Render an SRT from a Scribe word list (no filler removal, no remapping). |
|
SRT aligned to a post-cut timeline. |
- mixing.transcript.formats.remap_time_after_cuts(t, cuts)[source]¶
Map
tfrom the original timeline onto the post-cut timeline.If
tfalls inside a cut, snaps to the moment that cut would have started in the post-cut timeline.- Return type:
- mixing.transcript.formats.words_to_prose(words, *, paragraph_pause=1.2, drop_fillers=False, fillers=frozenset({'ah', 'eh', 'er', 'erm', 'hmm', 'mhm', 'mm', 'mmm', 'uh', 'uhh', 'uhm', 'um', 'umm'}), audio_events=frozenset({'(coughs)'}))[source]¶
Render a Scribe word list as plain prose, with paragraph breaks on long pauses.
- Parameters:
- Return type:
- mixing.transcript.formats.words_to_srt(words, *, max_chars=80, sentence_endings='.?!')[source]¶
Render an SRT from a Scribe word list (no filler removal, no remapping).
- Return type:
- mixing.transcript.formats.words_to_srt_remapped(words, cuts, *, max_chars=80, sentence_endings='.?!', drop_fillers=True, fillers=frozenset({'ah', 'eh', 'er', 'erm', 'hmm', 'mhm', 'mm', 'mmm', 'uh', 'uhh', 'uhm', 'um', 'umm'}), audio_events=frozenset({'(coughs)'}))[source]¶
SRT aligned to a post-cut timeline.
Each word’s timestamp is shifted earlier by the cumulative duration of all cuts that ended before it, so the resulting SRT drops in over the cleaned media.
- Return type: