Knowledgebase:
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:


Description:
Archive plan 'Audio' archiving 'alarm.wav'
Start time:
Fri, 09. Nov 2018 14:11
End time:
Fri, 09. Nov 2018 14:11
Job command:
JobMgr archive 10012 -client localhost -dirlist /Users/akuehnemund/Desktop/alarm.wav -meta {}
Result:
Finished
Log:
Protocol
Full save of /Users/akuehnemund/Desktop/alarm.wav to pool audio_pool.

                     Drives
Name       Files & Folders  Size       Status    
drive_3.1  1                117.00 KB  Finished  

                                         Volumes
Label            Id     Location  Barcode  Drive      ConfigBlkNo  Rewrites  WErrors      
audio_pool.0001  10369  Slot 1    10369    drive_3.1  25           0         0            



Notice:
The last volume listed contains the latest copy of the configuration database.
------------

Loading clips, metadata: 1/1 clips loaded (12.00 KB used), no metadata loaded.
------------

The archive index at the following filesystem path:

/usr/local/aw/config/index/archive/Default-Archive

is not automatically saved on media. It is the admin's
responsibility to assure backups of the above index.

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).