[{"data":1,"prerenderedAt":86},["ShallowReactive",2],{"page:\u002Farticles\u002Fwhisper-cpp-batch-subtitles":3},{"id":4,"title":5,"author":6,"body":10,"cover":71,"date":72,"description":73,"extension":74,"head":75,"layout":79,"meta":80,"navigation":81,"path":82,"seo":83,"stem":84,"__hash__":85},"pages\u002Farticles\u002F41.whisper-cpp-batch-subtitles.md","Batch Subtitles with whisper.cpp",{"name":7,"avatarUrl":8,"link":9},"Likun Cai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F103620968?v=4","https:\u002F\u002Fgithub.com\u002FAlchemist-Aloha",{"type":11,"value":12,"toc":67},"minimark",[13,17,25,44,47,58],[14,15,5],"h1",{"id":16},"batch-subtitles-with-whispercpp",[18,19,20,24],"p",{},[21,22,23],"code",{},"whisper.cpp_batch_subtitle"," is a PowerShell script for turning a directory of videos into subtitle files with FFmpeg and a local whisper.cpp build. It keeps media and transcription on the user's machine and applies the same command-line settings across a batch.",[18,26,27,28,31,32,35,36,39,40,43],{},"The setup has three external pieces: install FFmpeg and place it on ",[21,29,30],{},"PATH",", build whisper.cpp for the available CPU or GPU, and download an appropriate Whisper model. Then edit ",[21,33,34],{},"$whisperPath",", ",[21,37,38],{},"$modelPath",", and any whisper.cpp CLI arguments in ",[21,41,42],{},"whisper.cpp_transcribe.ps1"," before running the script and selecting the video directory.",[18,45,46],{},"Model size and hardware backend determine speed, memory use, and accuracy. Language selection, timestamps, and output format come from the whisper.cpp CLI rather than this wrapper, so test one representative file before processing a large folder.",[18,48,49,50,57],{},"The repository notes that this workflow has been superseded by the Python transcription command in ",[51,52,56],"a",{"href":53,"rel":54},"https:\u002F\u002Fgithub.com\u002FAlchemist-Aloha\u002FExplicitUtil",[55],"nofollow","ExplicitUtil",", which uses asynchronous processing and is the better starting point for new work. The PowerShell version remains useful as a compact Windows-focused reference.",[18,59,60,61,66],{},"Visit the ",[51,62,65],{"href":63,"rel":64},"https:\u002F\u002Fgithub.com\u002FAlchemist-Aloha\u002Fwhisper.cpp_batch_subtitle",[55],"whisper.cpp batch subtitle repository"," for the script and current setup notes.",{"title":68,"searchDepth":69,"depth":69,"links":70},"",2,[],"\u002Farticles\u002Fsubtitle-pipeline-cover.webp","2026-08-12T00:41:00.000Z","A PowerShell workflow that extracts audio with FFmpeg and transcribes a directory of videos through a local whisper.cpp build.","md",{"title":76},{"whisper":77},{"cpp_batch_subtitle":78},"Local Batch Transcription in PowerShell","page",{},true,"\u002Farticles\u002Fwhisper-cpp-batch-subtitles",{"title":5,"description":73},"articles\u002F41.whisper-cpp-batch-subtitles","l7t0Nq8tlXpdQIFof5zTpHDLGPEZYaA6P6Q2uy6coFA",1786980373676]