Simple Encoding API
The simple encoding API enables developers to get perform Encodings with nearly 0% effort.
Instead of building complex API workflows to complete a full E2E encoding, we simplified and automated the steps for you and offer to generate videos in the best quality by performing one API call only.
Below you will find a curl examples to perform AV1 or H264 encodings. Give it a try
curl --location --request POST 'https://api.bitmovin.com/v1/encoding/simple/jobs/vod' \
--header 'x-api-key: paste_bitmovin_api_key_here' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "AV1_tears of steel",
"encodingTemplate" : "AV1",
"inputs": [
{
"url": "https://ftp.halifax.rwth-aachen.de/blender/demo/movies/ToS/ToS-4k-1920.mov"
}
],
"outputs": [
{
"url": "s3://my-bucket/path/to/destination/folder/",
"credentials": {
"accessKey": "{{aws_output_access}}",
"secretKey": "{{aws_output_secret}}"
}
}
]
}'
curl --location --request POST 'https://api.bitmovin.com/v1/encoding/simple/jobs/vod' \
--header 'x-api-key: paste_bitmovin_api_key_here' \
--data-raw '{
"name": "H264_tears of steel",
"inputs": [
{
"url": "https://ftp.halifax.rwth-aachen.de/blender/demo/movies/ToS/ToS-4k-1920.mov"
}
],
"outputs": [
{
"url": "s3://my-bucket/path/to/destination/folder/",
"credentials": {
"accessKey": "{{aws_output_access}}",
"secretKey": "{{aws_output_secret}}"
}
}
]
}'
Try out our recipes.
π¦
Simple Encoding API
Open Recipe
Here our Postman collection:
Updated 3 months ago
Did this page help you?