Contact Us
Audio Transcoding
Easily transcode the formats of audio files, shorten the clip, adjust the bitrate or starting point, and more.
Convert Audio Formats
By simply calling video_convert, easily convert from mp3, wav, ogg, aac, & wma to the following audio formats: mp3, oga, m4a, & aac.
Here’s a soundclip in .OGG format:
Here’s the same soundclip converted to .MP3 format:
$ curl -X GET "https://process.filestackapi.com/AhTgLagciQByzXpFGRI0Az/video_convert=preset:mp3/http://techslides.com/demos/sample-videos/small.mp4"
{"data":{"url":"https://cdn.filestackcontent.com/DgecxsvgQQWQGWzaqHjz"},"metadata":{"result":{"audio_bitrate":192,"audio_channels":1,"audio_codec":"mp3","audio_sample_rate":44100,"created_at":"2016/06/28 15:19:20 +0000","duration":5591,"encoding_progress":100,"encoding_time":1,"extname":".mp3","file_size":134835,"mime_type":"audio/mpeg","started_encoding_at":"2016/06/28 15:19:23 +0000","updated_at":"2016/06/28 15:19:24 +0000"},"source":{"audio_bitrate":83,"audio_channels":1,"audio_codec":"aac","audio_sample_rate":48000,"created_at":"2016/06/28 15:19:20 +0000","duration":5568,"extname":".mp4","file_size":383631,"fps":30,"height":320,"mime_type":"video/mp4","updated_at":"2016/06/28 15:19:24 +0000","video_bitrate":465,"video_codec":"h264","width":560}},"status":"completed","timestamp":"1467131372","uuid":"3e7979369c5af5f3849a51746d998558"}
Resulting audio track extracted from video file:
Extract Audio Tracks from Video Files
Need only the sound from your video clip? Easily extract the audio track..
The File Uploading API
Crop Audio Clips
Easily adjust the audio clip’s duration or starting point.
$ curl -X GET "https://process.filestackapi.com/AhTgLagciQByzXpFGRI0Az/video_convert=preset:mp3,clip_offset:00:00:05,clip_length:00:00:10/ualPLxPTQZig8xCA88nB"
{"data":{"url":"https://cdn.filestackcontent.com/k81PmHw1Rt6rW54RzxYu"},"metadata":{"result":{"audio_bitrate":192,"audio_channels":2,"audio_codec":"mp3","audio_sample_rate":44100,"created_at":"2015/12/29 22:24:38 +0000","duration":10032,"encoding_progress":100,"encoding_time":1,"extname":".mp3","file_size":241415,"mime_type":"audio/mpeg","started_encoding_at":"2015/12/29 22:24:42 +0000","updated_at":"2015/12/29 22:24:44 +0000"},"source":{"audio_bitrate":256,"audio_channels":2,"audio_codec":"vorbis","audio_sample_rate":44100,"created_at":"2015/12/29 22:24:38 +0000","duration":252472,"extname":".ogg","file_size":5.302273e+06,"mime_type":"audio/ogg","updated_at":"2015/12/29 22:24:44 +0000"}},"status":"completed","timestamp":"1467131527","uuid":"1a86f7a4ad390a9d1bced547291634c5"}
Result:
$ curl -X GET "https://process.filestackapi.com/AhTgLagciQByzXpFGRI0Az/video_convert=audio_bitrate:64,audio_sample_rate:48000,filename:custom,preset:mp3/ualPLxPTQZig8xCA88nB"
{"data":{"url":"https://cdn.filestackcontent.com/EkcJsNJMRBCr2Oh4YmnQ"},"metadata":{"result":{"audio_bitrate":64,"audio_channels":2,"audio_codec":"mp3","audio_sample_rate":48000,"created_at":"2015/12/29 22:23:55 +0000","duration":252504,"encoding_progress":100,"encoding_time":15,"extname":".mp3","file_size":2.020269e+06,"mime_type":"audio/mpeg","started_encoding_at":"2015/12/29 22:23:58 +0000","updated_at":"2015/12/29 22:24:14 +0000"},"source":{"audio_bitrate":256,"audio_channels":2,"audio_codec":"vorbis","audio_sample_rate":44100,"created_at":"2015/12/29 22:23:55 +0000","duration":252472,"extname":".ogg","file_size":5.302273e+06,"mime_type":"audio/ogg","updated_at":"2015/12/29 22:24:14 +0000"}},"status":"completed","timestamp":"1467131869","uuid":"2b73890cfc934a147a8756e72ff46f2a"}
Result:
Adjust the Quality & Size of Audio Clips
Easily change the bitrate & sample rate of any audio clip.
Webhooks & Cache Audio Files
Once you have initiated an encoding process any future call with the same parameters will return the current status of the encoding job. So if you run the same conversion multiple times, you will receive its current status immediately.
Once the audio transcoding has completed, a webhook will be sent, notifying your application.
Transcode with More Parameters
See more about setting file names, storage locations, signatures, and more in our documentation »
Integrate in Just Seconds!
No matter what language you code in, you can easily implement Filestack onto your application. We are easily implemented in any language.
javascript
python
cake
node
javascript
<script src="https://api.filestackapi.com/filestack.js"></script> <script> filepicker.setKey(YOUR_API_KEY); </script>
python
from filepicker import FilepickerClient client = FilepickerClient(api_key='YOUR_API_KEY')
cake
$config = array( 'Filepicker' => array( 'apikey' => 'YOUR_API_KEY', ) );
node
var Filepicker = require('node-filepicker'), filepicker = new Filepicker('YOUR_API_KEY');