Batch Finding corrupt dead sounds

Discussion in 'Genre Specific Production' started by curtified, Oct 12, 2022.

  1. curtified

    curtified Rock Star

    Joined:
    Feb 3, 2015
    Messages:
    675
    Likes Received:
    453
    Is there a tool to search for audio files that are corrupt? Every once and a while I go into packs that didn't download properly and find sounds that won't play. They are their full file size but they have no use because they are corrupt. Is there a tool I could use to batch-locate them and delete them?
     
  2.  
  3. xorome

    xorome Audiosexual

    Joined:
    Sep 28, 2021
    Messages:
    1,176
    Likes Received:
    860
    No idea if you need a GUI.
    If you're handy with the command line, grab a copy of fd and ffmpeg:

    ffmpeg -loglevel error -hide_banner -nostats -i the_file_to_check.wav -f null -

    It'll stay silent if the file works and spit out an error if the file is corrupt.

    For all wav, flac and aif files in a folder and all its subfolders:

    fd -ewav -eflac -eaif -tf -x ffmpeg -loglevel error -hide_banner -nostats -i "{}" -f null -

    Same deal. Silence if the files decode correctly, error msg if not.
     
Loading...
Similar Threads - Batch Finding corrupt Forum Date
Batch Re-Save Kontakt Nov 16, 2024
MIDI to Audio Batch Converter (Mac) Working with Sound Nov 11, 2024
How to batch resave a Kontakt Library with a Smart Voicing GUI Kontakt Oct 27, 2024
Batch convert Wav files to (or close to) zero size when minifying Kontakt Libraries? Kontakt Jul 17, 2024
Batch audio processor for Mac? (sample rate, bit depth, etc.) Software Jun 13, 2024
Loading...