This repo contains a remotion project that generates the said audiogram for the podcast and a python script that generates the audio subtitle available in the directory subtitle-script/whisper_run.py
First, clone this repository to your local machine
Install the dependencies using npm:
npm install
Run the remotion studio using:
npm start
This will open up an interactive remotion studio with a sample audio and subtitle. From here you can configure most of the inputs for your video. If you're new to remotion please check out their official docs before proceeding.
Once you've generated audio using notebook LM audio overview, download and add it to the public
folder. This will ensure that the audio is available for remotion to use.
- Create your own virtual env and install openai's whisper:
pip install git+https://github.com/openai/whisper.git
for more information follow the steps in the official repo.
-
Then install ffmpeg on your system.
-
Modify the audio file name in the script (ideally the audio file should be inside public folder) and run:
python subtitle-script/whisper-run.py
this will create an srt file of the same name as the audio file in the public folder
Once you have both the audio and the srt file, render using the remotion studio or remotion cli. For more help to use the cli, follow the official remotion docs.