Embodiment 28 Posted December 27, 2024 Posted December 27, 2024 This is what I have come up with. set filename=%~n1 SubtitleCreator.exe -ffmpegPath="C:\FFmpeg" -infile="%E%%"Test Fake Videos"%%filename%.srt I get a consistent error: SubtitleCreator version 1.2.5.5 ffmpeg Path: C:\FFmpeg Input File: .srt Audio Language: English Translate to English: False Attempt to Repair: True Create SDH Subtitles: True Force Whisper Model Update: False Input file .srt does not exist. Exiting. I created a folder with all the files you mentioned in it. A test folder with a .mpg video in it. The batch file is in the same folder as SubtitleCreator. I am hoping I can use this pointing to a network share folder, and it would do all mpg files in that folder when ran.
Embodiment 28 Posted December 27, 2024 Posted December 27, 2024 Changed .srt to mpg and same result "Input file .mpg does not exist. Exiting." Thought I had it. I want all mpg files in a NAS share called Movies to have their Closed Captions extracted to .srt files. The NAS share is mapped to a drive letter L.
Embodiment 28 Posted December 27, 2024 Posted December 27, 2024 Must be clear, my sample is just a test not at the present pointing to the NAS. Taking small steps first.
Embodiment 28 Posted December 28, 2024 Posted December 28, 2024 I got it working by using a single filename with just the one file in the directory. The process is considerably longer than CCExtractor on generating .srt files. Not sure why. I never did get the syntax right on processing 'any' file in the folder. Thank you for your time.
rbjtech 5284 Posted December 28, 2024 Posted December 28, 2024 11 hours ago, Embodiment said: The process is considerably longer than CCExtractor on generating .srt files. Not sure why. Maybe you misunderstand what this utility is. It is using AI models (using Whisper openAI) to create / translate raw audio/voice to written text/subtitles. It is not simply extracting data from either text based or graphical based existing subtitles. If you have existing subtitle streams - then there is zero reason to use this utility.
BillOatman 596 Posted December 28, 2024 Author Posted December 28, 2024 (edited) 16 hours ago, Embodiment said: I got it working by using a single filename with just the one file in the directory. The process is considerably longer than CCExtractor on generating .srt files. Not sure why. I never did get the syntax right on processing 'any' file in the folder. Thank you for your time. Glad you got it working, but like rbjtech said, this utility creates new subtitles from the videos audio, it does not extract anything existing. That is why CCExtractor is faster, it simply extracts what is there. To make it do multiple files would need the bat file to do the looping and call SubtitleCreator for each file in the loop. Something like this @echo off setlocal set executablePath=C:\SubtitleCreator\SubtitleCreator.exe set videoDir=C:\Recordings set ffmpegDir=C:\ffmpeg\bin REM Loop through each .mp4 file in the directory for %%f in ("%videoDir%\*.mp4") do ( echo Processing %%f "%executablePath%" -ffmpegpath="%ffmpegDir%" -infile="%%f" -model=medium ) endlocal @rbjtech There could still be a reason to generate a new srt file, Emby has problems with some CC. Edited December 28, 2024 by BillOatman 1
rbjtech 5284 Posted December 29, 2024 Posted December 29, 2024 On 28/12/2024 at 16:20, BillOatman said: @rbjtech There could still be a reason to generate a new srt file, Emby has problems with some CC. Agree 100% - you will also never experience sync issues ! I've used it on a few shows where sync drift was an issue and of course it's now perfect as it uses the audio itself as the time base .. A great piece of software
Embodiment 28 Posted December 31, 2024 Posted December 31, 2024 Thank you. Yes, I have looked a CCExtractor for literally days trying to make it work. The only documentation I found on it where it handles many files at a time without having to list them by name, is by dragging the files onto the application directly via the shortcut to the batch file. (Or you have to highlight all the mpg files and use Windows Sent To.) That code is at the very end of this post. However, I want the process to be where I click the batch file and it does the same thing. The reason being I want to add to the batch file another process. I sure have tried.! Loop "C:\Program Files (x86)\CCextractor\ccextractorwinfull.exe" %1 -o "%~dpn1.srt" shift pause if not %1=="" goto :Loop Piggy-backing on this, does Emby if you have the SRT's in the same folder as a movie, with the Premier version, download the SRT along with the movie.? By downloading use my SRT already in the folder rather than going to the Internet to pull one down? This would be for offline viewing.
BillOatman 596 Posted December 31, 2024 Author Posted December 31, 2024 (edited) 1 hour ago, Embodiment said: Thank you. Yes, I have looked a CCExtractor for literally days trying to make it work. The only documentation I found on it where it handles many files at a time without having to list them by name, is by dragging the files onto the application directly via the shortcut to the batch file. (Or you have to highlight all the mpg files and use Windows Sent To.) That code is at the very end of this post. However, I want the process to be where I click the batch file and it does the same thing. The reason being I want to add to the batch file another process. I sure have tried.! Loop "C:\Program Files (x86)\CCextractor\ccextractorwinfull.exe" %1 -o "%~dpn1.srt" shift pause if not %1=="" goto :Loop Piggy-backing on this, does Emby if you have the SRT's in the same folder as a movie, with the Premier version, download the SRT along with the movie.? By downloading use my SRT already in the folder rather than going to the Internet to pull one down? This would be for offline viewing. I don't know anything about ccextractor. My bat file example was to get subtitlecreator to do all video files in a directory. I believe there is a Emby plugin to download subtitles, but I am not at my Emby server now. Look in the plugin catalog. Edited December 31, 2024 by BillOatman
BillOatman 596 Posted January 3, 2025 Author Posted January 3, 2025 New release Uses newest whisper model for large model. It is supposed to be faster than the medium model.
TeamB 2438 Posted January 7, 2025 Posted January 7, 2025 is there a way to specify the input audio stream from the MKV file? I have a multi JPN audio MKV (original JPN audio track and a JPN commentary track) and it is using the wrong track (the commentary one). Is it possible to specify WAV as the input file, I could extract the track myself then feed it into the subcreator
TeamB 2438 Posted January 7, 2025 Posted January 7, 2025 I worked it out, extracted the wav from the mkv using ffmpeg and used Whisper.net directly to translate.
Przemek 70 Posted January 7, 2025 Posted January 7, 2025 Hello @BillOatmando You know it's possible to make polish subtitles from English audio series/movies? Regards.
rbjtech 5284 Posted January 7, 2025 Posted January 7, 2025 3 hours ago, Przemek said: Hello @BillOatmando You know it's possible to make polish subtitles from English audio series/movies? Regards. Using something like subtitleedit - you can convert the english subs to many different languages. https://www.nikse.dk/subtitleedit 1
Przemek 70 Posted January 7, 2025 Posted January 7, 2025 16 minutes ago, rbjtech said: Using something like subtitleedit - you can convert the english subs to many different languages. https://www.nikse.dk/subtitleedit Thank You very much. Regards 1
BillOatman 596 Posted January 7, 2025 Author Posted January 7, 2025 16 hours ago, Przemek said: Hello @BillOatmando You know it's possible to make polish subtitles from English audio series/movies? Regards. My app uses whisper, and it can go from many audio languages to English, but nothing other than English the last I checked. I will have a look and post here if I find anything. 1
Neminem 1518 Posted January 8, 2025 Posted January 8, 2025 @BillOatmanlast I looked it only did many languages to English.
Shanefalk 9 Posted January 23, 2025 Posted January 23, 2025 (edited) I’ve used SubtitleCreator a few times, and it’s a solid tool if you’re looking for something easy to use for creating subtitles. It’s not overly complicated, and it does a good job for basic subtitling. However, if you're working on bigger projects, you might want to look into professional subtitling agencies. They can help with accuracy and formatting, especially if you’re dealing with different languages or need captions for a large video library. One I’d recommend checking out is Rev.com, they’re great for fast, high-quality subtitles. Edited January 23, 2025 by Shanefalk
BillOatman 596 Posted June 14, 2025 Author Posted June 14, 2025 Correction to Windows auto shutdown logic.
BillOatman 596 Posted November 22, 2025 Author Posted November 22, 2025 Updated to the latest Whisper 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now