Coconut supports all the Cloud Storage Services like AWS S3, Google Cloud Storage, Azure, Wasabi and more.
100% agnostic, no vendor lock-in, store your media files anywhere.
Any services compatible with the Amazon S3 API are supported too!
We support HTTP, FTP and SFTP protocols.
For custom workflows, you can setup your own server to handle file uploads
HTTP / HTTPS
Receive media files directly to your web app via POST requests.
Learn more
FTP
Your CDN provides a FTP server or you want to setup your own.
Learn more
SFTP
Receive media files through the secure protocol SFTP (SSH).
Learn more
Example using Amazon S3 as cloud storage.
Enjoy powerful
libraries to harness cloud video encoding for your project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Our mission at Coconut is to make cloud video transcoding simple
const coconut = new Coconut.Client('api-key');
coconut.notification = {
'url': 'https://app/api/coconut/webhook'
};
coconut.storage = {
'service': 's3',
'bucket': 'mybucket',
'region': 'us-east-1',
'credentials': { 'access_key_id': 'xxx', 'secret_access_key': 'xxx' }
};
coconut.Job.create({
'input': { 'url': 'https://cdn/path/file.mp4' },
'outputs': {
'mp4:360p': { 'path': '/360p.mp4' },
'mp4:720p': { 'path': '/720p.mp4' },
'mp4:1080p': { 'path': '/1080p.mp4' }
}
}, function(job, err) {
...
});