m1guelpf / yt-whisper

Using OpenAI's Whisper to automatically generate YouTube subtitles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run on local files?

Erik262 opened this issue · comments

Hi, nice project!!
Do you know how to run this on local .mp4 files? Is there a command I could use? Nothing was mentioned in your readme.

Thanks in advance! :)

Yes, I would like to be able to run this on local files as well.

I may implement this in a pull request soon. I have a PoC working on my machine. I just haven't cleaned it up. A question for those here. Would you prefer to just replace the URL passed with a file directory, and the script will just figure out which one it is? Or do you want to have separate flags for passing a URL or a directory?

I vote for it just figuring it out.

Same here. Vote for figuring out.

It would be nice to be able to translate via local paths