Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: audio upload #35

Open
onkoe opened this issue Nov 20, 2024 · 0 comments
Open

feat: audio upload #35

onkoe opened this issue Nov 20, 2024 · 0 comments

Comments

@onkoe
Copy link

onkoe commented Nov 20, 2024

if a user uploads an audio file, the script can use that instead of requiring video files.

my current process is kinda funny:

  1. record giant 40 GiB file
  2. extract audio and compress with Audacity (Tenacity)
  3. add a black screen to the video with ffmpeg: ffmpeg -f lavfi -i color=c=black:s=1280x720:r=5 -i input.mp3 -crf 0 -c:a copy -shortest output.mp4
  4. upload that to the google colab
  5. wait for it to extract the audio
  6. then, finally, it can start the transcription process

that's not great... but yes, it does technically work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant