Forum Discussion
Ways to generate transcripts for videos over 4GB
AlyssaAshleyTsang another option is to use a tool like ffmpeg to separate the MP3, transcribe that file (typically 1 MB/minute) and use its captions for the video. I currently have 3 x 2 GB files and have already run into this problem with Stream, so this will be my workaround. I suspect Whisper is not worth the time and effort if the audio quality is good to start with, but might become so if it's low to middling at best. HTH!
- kurtsoeserOct 10, 2024Iron ContributorHi, I am interested in the command line prompt and how to transcribe a audio with it
- Neman_SyedOct 11, 2024Copper Contributor
kurtsoeser these techniques don't transcribe the audio - they create an MP3 from an MP4 which is CONSIDERABLY smaller than the MP4 and probably avoid the file size restrictions of your transcription method.
Assumption: You've installed ff-mp-eg. Google is your friend. 🙂
(Dashes between those six letters because that solution is apparently verboten in this community. Because who would want an answer that works? Below I'm referring to it as "fred".)
Basic:
C:\fred\bin\fred.exe -i video.mp4 audio.mp3To completely ignore the video (-vn) during processing (speeds it up) (this is fastest):
C:\fred\bin\fred.exe -i video.mp4 -vn audio.mp3To completely ignore the video (-vn) during processing (speeds it up) and specify a constant bitrate of 192 kbs (-b:a 192K):
C:\fred\bin\fred.exe -i video.mp4 -b:a 192K -vn audio.mp3To encode variable bitrate using libmp3lame (-q:a or -qscale:a):
C:\fred\bin\fred.exe -i input.wav -codec:a libmp3lame -qscale:a 2 output.mp3This can be batched so you can rip through a pile of MP4 in a folder and create all the MP3s at once. For example:
@echo off for %%a in ("*.mp4") do C:\fred\bin\fred.exe -i "%%a" -b:a 192K -vn "%%a.mp3" pauseNote: I am NOT an fred expert, just some guy who hacked his way from here to there. Since you have access to AI chat tools, I expect you'll be able to create far more elegant and useful command lines than these. Good luck!
- kurtsoeserNov 04, 2024Iron ContributorThank you very much...
The problem is, that Microsoft do not support MP3's to be transcribed via the Stream-App/"world"... (what I find is a very "strange" limitation...