Partial File Transcription #257
-
I'm trying to work on transcriptions of a podcast and I'm only using Deepgram for the parts that aren't scripted. My problem is that I'm not sure how to have Deepgram start at a specific timestamp rather than transcribing the entire thing (both I and the podcast are on pretty tight budgets, so we're trying not to do any more than we need to). My Python is functional but not the strongest (and also pretty specialized in other applications), but I've included my script below:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @colvinem! You'll want to split your audio up into multiple files, based on the segments that you want Deepgram to transcribe. The most effective way to do this is by using The relevant command line command is |
Beta Was this translation helpful? Give feedback.
Hey @colvinem! You'll want to split your audio up into multiple files, based on the segments that you want Deepgram to transcribe. The most effective way to do this is by using
ffmpeg
, which has python bindings.The relevant command line command is
ffmpeg -ss START_TIME -t DURATION -i INPUT OUTPUT
, so that's what you'll want to emulate via the Python bindings if you use Python. You could also probably use the pythonsubprocess
module to callffmpeg
directly.