# Video Ref(erence)

get youtube video link

- set a `on_post` with a query ? that has the youtube url
- save the youtube url as a txt file

download the youtube video to directory

convert the video to mp3 file

execute whisper on the mp3 file, save all 

execute 

structure of the data

directory has hash (a4FXd8)

- url.txt
- video.mp4
- audio.mp3
- *time*.jpg
- transcript.json
- ... .tsv, vtt,srt


```bash
ffmpeg -i input.mp4 -vn -acodec libmp3lame -ab 192k output.mp3
```