Forum Discussion

kurtsoeser's avatar
kurtsoeser
Iron Contributor
Oct 10, 2024

Re: Ways to generate transcripts for videos over 4GB

Hi, I am interested in the command line prompt and how to transcribe a audio with it

3 Replies

  • Neman_Syed's avatar
    Neman_Syed
    Copper 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.mp3

     

     

    To completely ignore the video (-vn) during processing (speeds it up) (this is fastest):

     

    C:\fred\bin\fred.exe -i video.mp4 -vn audio.mp3

     

     

    To 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.mp3

     

     

    To 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.mp3

     

     

    This 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"
    pause

     

     

    Note: 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!

    • kurtsoeser's avatar
      kurtsoeser
      Iron Contributor
      Thank 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...
      • Neman_Syed's avatar
        Neman_Syed
        Copper Contributor

        kurtsoeser Ugh. In which case, if you have access to the web version of Word through office.com, you can use it to transcribe up to 300 minutes per month, and it supports MP3 files for sure. (Your questions are basically uncovering my past trauma... ğŸ˜€) HTH!

         

         

Resources