How do I create a new encoding job?

Encoder Farm is designed for developers who are comfortable with using an API, but that doesn't mean it's not super easy. The quickest way to get up to speed with using our API is by using the Job Creation Tool in our Dashboard. The Job Creation Tool allows you to quickly play around with different settings and see the resulting cURL request update in realtime.

For most users, using one of the preset templates will be the most effective way of creating a new encoding job e.g.

curl -X POST "https://api.encoderfarm.com/encode/create/" -d \
"{ \
    \"data\": { \
        \"input\": \"gs://input-bucket/folder/filename.ext\", \
        \"output\": \"gs://input-bucket/folder/\", \
        \"template\": \"hls-master\" \
    } \
}" \
-H "Content-Type: application/json" \
-H "Authorization: myApiKey"

If a preset template doesn't offer you the exact settings you need, then simply remove the "template" parameter and add your desired encoding settings e.g.

curl -X POST "https://api.encoderfarm.com/encode/create/" -d \
"{ \
    \"data\": { \
        \"input\": \"gs://input-bucket/folder/filename.ext\", \
        \"output\": \"gs://input-bucket/folder/\", \
        \"container\": \"h264\", \
        \"vProfile\": \"high_41\", \
        \"vBitrate\": 800, \
        \"vWidth\": 640, \
        \"aProfile\": \"aac_he\", \
        \"aBitrate\": 128, \
        \"thumbCount\": 20, \
        \"thumbWidth\": 240, \
    } \
}" \
-H "Content-Type: application/json" \
-H "Authorization: myApiKey"

A full list of encoding settings can be found at our API Documentation or by using our Job Creation Tool.