The HW Blog

Want to be updated? @opencoconut | Feed

The automatic_encode parameter is now implicit

Bruno Celeste (@brunoceleste)

May 03, 2013 Features

When you want to automatically encode a video as soon as it's transferred to Coconut, you used to use the parameter automatic_encode=true along with a format_id of your choice.

These two parameters are quite redundant because if you set the format_id, it means you want to encode the video using this format, right?

For the sake of API simplification, if you specify the format_id param, you don't need to use automatic_encode any more.

This change is already active and should not cause any problem with your integration.

A simple call like this will transfer the video and encode it in iOS 720p format automatically:

$ coconut download:create url=http://yoursite.com/video/video format_id=ios_720p


Any Comment? Send us a message on Twitter @opencoconut
If you have questions or feedbacks, you can also contact us via our contact page