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

Any way to transcribe entire directory and output as srt/vtt? #246

Open
snwefly opened this issue Sep 10, 2024 · 1 comment
Open

Any way to transcribe entire directory and output as srt/vtt? #246

snwefly opened this issue Sep 10, 2024 · 1 comment

Comments

@snwefly
Copy link

snwefly commented Sep 10, 2024

This repo seems faster than all the one i used.

Is there are any way to transcribe entire directory and output as srt/vtt?

Thanks

@tatatomsmath
Copy link

its annoying but what I do is get transcribe-anything activated, go to the directory, run "dir /b > new.txt" (which makes a list of all that directories files WITH file extensions WITHOUT full directory and pops it in that folder (it includes the new.txt file in the list which is dumb but whatever), open that in notepad++, copy "transcribe-anything "" to clipboard (with the space and quote at the end), hit the "start recording" button, ctrl+v down home, stop recording, hit "run macro multiple times" and run that as many times as number of videos i have (minus one), then the same thing but paste "" --device insane --timestamp chunk --model large" at the end, so ctrl+v down end (also delete new.txt from the list), save, change to .bat file, "new.bat" at command line, wait for it to finish, open "ReNamer" (free program), load my transcribe-anything preset which 1. replaces current name of file to -> :File_FolderName: so your subtitles are named what the video file was, 2. delete from position one until cound 5 to remove the text_ prefix. 3. Adds a filter for incoming/drag-dropped files to only include *.vtt or *.srt files, drag all the text_etc files into renamer, hit "rename" go back to folder, search ".vtt" or ".srt", cut, paste into main folder. delete all the "text_" folders. Annoying for sure but honestly not that bad. If there's an easier way I'd love to know, I don't mind making the bat file but to just be able to pick a file type output that named the same as the video and in the same directory would be the ideal way for this to output.

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

2 participants