This program is an experiment to see if we can use Python to automate our post-production steps.
We are setting this up as a series of command-line programs, but eventually want to turn this into an automated pipeline of tasks.
- Dolby.io Client
- Audio Enhancement
- Audio and Speech Analysis
- Job status polling
- AssemblyAI transcription
- Speaker labeling
- Word boosting
- Job status polling
- Local transcoding using ffmpeg to mp3 format
- requires ffmpeg on the local machine
- allows intro and outro music to be added
- S3-compatible storage
- Webhook callbacks to avoid job status polling
Note: This project uses poetry and assumes you have it installed. Directions
- Clone or download the project from the repository
poetry install
poetry run tppp INPUTFILE
$ tppp enhance input.mp3
$ tppp transcode input.mp3 --intro-music intro.mp3 --outro-music outro.mp3
$ tppp transcribe input.mp3
This project requires a Dolby.io API key. You can get one for free from here. As of July 2021, they are offering 200 free minutes of media processing per month.
You can set your API key as an environment variable ('DOLBY_API_KEY') or in a .env file at the root of the project.
This project requires an AssemblyAI API key. You can get one for free from here. As of July 2021, they are offering the first 5 hours of transcription for free.
You can set your API key as an environment variable ('ASSEMBLYAI_API_KEY') or in a .env file at the root of the project.