Best Tools for Extracting Audio from Video?

Discussion in 'Working with Video' started by yomav, Oct 27, 2024 at 6:49 PM.

  1. yomav

    yomav Newbie

    Joined:
    May 31, 2023
    Messages:
    45
    Likes Received:
    2
    Hi everyone,

    I'm looking for recommendations on the best tools to extract audio from video files. I’ve got some MP4 and MOV files, and I’d like to convert them into high-quality MP3 or WAV files. I’ve tried a few audio extractor from video online tools, but I’m looking for something that retains sound quality and supports batch processing.

    Ideally, it would work on both Windows and Mac, and have a user-friendly interface. Any tips on software you've had good experiences with? Free options would be awesome, but I’m open to paid tools if they’re worth it.

    Thanks in advance!
     
  2.  
  3. xorome

    xorome Audiosexual

    Joined:
    Sep 28, 2021
    Messages:
    1,096
    Likes Received:
    825
    ffmpeg -i video_file.mp4 -map 0:a:0 -c:a copy output.mp4

    Will losslessly extract the first audio stream from a video file. ffmpeg is free & open source and available on all OSs. It's the best tool, but far from the best user experience. I'm sure there's a pretty Mac GUI available though!
     
  4. soldina

    soldina Ultrasonic

    Joined:
    Jun 20, 2023
    Messages:
    42
    Likes Received:
    31
    Put your video on a REAPER track and export the audio to the format of your choosing
     
  5. Daskeladden

    Daskeladden Rock Star

    Joined:
    Jan 7, 2018
    Messages:
    1,001
    Likes Received:
    386
    best way is probably a video editing software like Vegas, Premiere or DaVinci. Or something free open source. Then you can edit the file for your liking before rendering a .Wav or mp3 file
     
  6. saccamano

    saccamano Rock Star

    Joined:
    Mar 26, 2023
    Messages:
    1,179
    Likes Received:
    477
    Location:
    CBGB omfug
    If the file has DTS or Dolby, surround or stereo audio, MP4BOX will extract the audio stream along with the video stream into separate files. The audio stream being a .DTS or .AC3 (dolby) file, no losses incurred. At that point it's an easy task to pull that audio stream into any decent audio editor and make your final file. I would suggest .FLAC as a final compressed LOSSLESS format. Last I heard MP4BOX was free.
     
    Last edited: Oct 27, 2024 at 8:54 PM
  7. orbitbooster

    orbitbooster Audiosexual

    Joined:
    Jan 8, 2018
    Messages:
    1,099
    Likes Received:
    613
    It depends which audio stream you want, because .mp4 or .mov are containers, I don't think you'll find within uncompressed .wav or (lossless) .flac.
    Usually are aac, opus or m4a, always compressed.

    You can try Virtualdub or Xrecode (supports batch I think) or similar and extract the stream(s), but if you don't like the above formats, you'll have tho recode them (losing quality), and that brings you at the starting point: instead of extract streams, encode clips directly (i.e. mp4 to mp3) with your desired quality (losing quality in anyway).

    BTW I suggest before any operation to check audio quality of the video clip with a spectrogram (i.e. spek): if the frequency cut is 15kHz there is no logical sense to convert it in 320kb mp3, and more so in wav or flac.

    See below the example: 128kb are enough to retain quality.
    test.mp4.png
     
  8. Edna_Uebel

    Edna_Uebel Ultrasonic

    Joined:
    Feb 15, 2020
    Messages:
    88
    Likes Received:
    26
    Location:
    Switzerland
    I would always use a splitter for such a task: e.g. MKVCleaver for MKV files or MP4Box (GUI) for MP4 or MOV files. They can also process multiple files at the same time. They extract the original audio track from the container file. This eliminates the need for additional encoding.
     
  9. orbitbooster

    orbitbooster Audiosexual

    Joined:
    Jan 8, 2018
    Messages:
    1,099
    Likes Received:
    613
    Ya right, as you pointed out there will be no mp3 or wav or flac as OP requested, so converting is mandatory in this case.

    Spek (or any spectrogram sw) is our friend, as it shows the real bandwidth no matter the audio format/bitrate contained in mp4 or whatever.
     
  10. Strat4ever

    Strat4ever Rock Star

    Joined:
    Aug 17, 2019
    Messages:
    556
    Likes Received:
    348
    mkvtoolnix will extract any audio from a video file in a matter of seconds.
     
  11. Mr.Mister

    Mr.Mister Ultrasonic

    Joined:
    Sep 4, 2024
    Messages:
    64
    Likes Received:
    24
    gMKVextract is a GUI for MKVtoolnix

    tsmuxer

    Btw: little tools and helpers were the reason, why I had to downgrade to Win10 on the new laptop:
    Startmenu with personally organized subfolders and the alias to the program with a short description of what a tool does.
    For me impossible to work without, because after a few days I do no longer remember what tool I had needed for what.

    Running now W11 in a VM just to find out, if StartAllBack really brings back folders and aliases, because I can't afford to lose my start menu and all the info I have collected over 20 years since WinXP...
     
  12. Mr.Mister

    Mr.Mister Ultrasonic

    Joined:
    Sep 4, 2024
    Messages:
    64
    Likes Received:
    24
    Really? Isn't the codec, when using lower bandwidth, not raising masking levels throughout the whole spectrum?
     
Loading...
Loading...