How to use ffmpeg to generate previews of audio files
Posted by Andre Kuehnemund, Last modified by Andre Kuehnemund on 09 November 2018 22:19
This question recently came up in a support ticket. The customer had tried to use ffmpeg to generate previews of .wav audio files - and it wasn't working.|
Here's what I did to get it to work:
- I created a new archive plan for archiving audio files.
- In the previews tab, I clicked on 'New', then 'ffmpeg'...
- Under 'File name extensions, I deleted all listed file extensions listed and added '.wav'.
- I then clicked on the arrow next to 'command options', deleted what was there and pasted 'ffmpeg -i SRCPATH -loglevel quiet' into the field (without the single quotes).
- Finally, I clicked the 'Apply' button and closed the archive plan settings.
I then archived a single .wav file I had earlier copied on my Desktop. The file was archived successfully and a preview .mp4 file was generated. The job log showed the following: