Download OpenAPI specification:Download
API for managing Transcoding in 5centsCDN
Contact Support: Email: help@5centscdn.com
List all active / pending video encoding job queue for the service
Accept |
string
Example:
application/json
|
{- "id": 4438,
- "jobid": "228129",
- "infile": "/raw/A Familiar Visitor.webm",
- "outfile": "/mp4/raw/A Familiar Visitor_seven.mp4",
- "percent": "100",
- "log": "",
- "error": "",
- "meta": "{\"zoneid\":\"4438\",\"projectid\":\"4d3c022746b8438b8fe1faab5ded81c4\",\"server\":\"vod-gb-lon-sl01\",\"installation\":\"5\",\"infile\":\"/userdata/home/vineeth_103_push_4438/raw/A Familiar Visitor.webm\",\"command\":\"ffmpeg -hide_banner -err_detect aggressive -stats -loglevel fatal -y -i <infile> -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:a:? -map 0:s:? -c:v:0 libx264 -threads:v:0 2 -preset:v:0 faster -r:v:0 30 -g:v:0 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:0 1280x720 -crf:v:0 24 -minrate:v:0 1340k -maxrate:v:0 2000k -bufsize:v:0 11100k -profile:v:0 high -level:v:0 4.1 -pix_fmt:v:0 yuv420p -c:v:1 libx264 -threads:v:1 2 -preset:v:1 veryfast -r:v:1 30 -g:v:1 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:1 848x480 -crf:v:1 24 -minrate:v:1 1005k -maxrate:v:1 1500k -bufsize:v:1 8325k -profile:v:1 high -level:v:1 4.1 -pix_fmt:v:1 yuv420p -c:v:2 libx264 -threads:v:2 2 -preset:v:2 veryfast -r:v:2 30 -g:v:2 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:2 640x360 -crf:v:2 24 -minrate:v:2 503k -maxrate:v:2 750k -bufsize:v:2 4165k -profile:v:2 main -level:v:2 4.1 -pix_fmt:v:2 yuv420p -c:v:3 libx264 -threads:v:3 2 -preset:v:3 superfast -r:v:3 30 -g:v:3 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:3 424x240 -crf:v:3 24 -minrate:v:3 536k -maxrate:v:3 800k -bufsize:v:3 4440k -profile:v:3 high -level:v:3 4.1 -pix_fmt:v:3 yuv420p -c:v:4 libx264 -threads:v:4 2 -preset:v:4 veryfast -r:v:4 30 -g:v:4 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:4 1920x1080 -crf:v:4 24 -minrate:v:4 2010k -maxrate:v:4 3000k -bufsize:v:4 16650k -profile:v:4 high -level:v:4 4.1 -pix_fmt:v:4 yuv420p -c:v:5 libx264 -threads:v:5 2 -preset:v:5 veryfast -r:v:5 30 -g:v:5 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:5 2560x1440 -crf:v:5 24 -minrate:v:5 2680k -maxrate:v:5 4000k -bufsize:v:5 22200k -profile:v:5 high -level:v:5 4.1 -pix_fmt:v:5 yuv420p -c:v:6 libx264 -threads:v:6 2 -preset:v:6 veryfast -r:v:6 30 -g:v:6 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:6 4096x2160 -crf:v:6 24 -minrate:v:6 3350k -maxrate:v:6 5000k -bufsize:v:6 27750k -profile:v:6 high -level:v:6 4.1 -pix_fmt:v:6 yuv420p -c:a aac -ac:a 2 -b:a:0 128k -ar:a:0 44100 -c:s mov_text -async 1 -vsync 1 -f mp4 -movflags +faststart <outfile>\",\"extension\":\"mp4\",\"outfile\":\"/userdata/home/vineeth_103_push_4438/mp4/raw/A Familiar Visitor_seven.mp4\",\"outdir\":\"/userdata/home/vineeth_103_push_4438/mp4/raw\",\"relativepath\":{\"infile\":\"/raw/A Familiar Visitor.webm\",\"outfile\":\"/mp4/raw/A Familiar Visitor_seven.mp4\"},\"upscale\":{\"allowed\":true},\"out\":{\"videoTracks\":7,\"audioTracks\":1},\"splitted\":{\"command\":\"ffmpeg -hide_banner -err_detect aggressive -stats -loglevel fatal -y -i <infile> -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:a:? -map 0:s:? -c:v:0 libx264 -threads:v:0 2 -preset:v:0 faster -r:v:0 30 -g:v:0 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:0 1280x720 -crf:v:0 24 -minrate:v:0 1340k -maxrate:v:0 2000k -bufsize:v:0 11100k -profile:v:0 high -level:v:0 4.1 -pix_fmt:v:0 yuv420p -c:v:1 libx264 -threads:v:1 2 -preset:v:1 veryfast -r:v:1 30 -g:v:1 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:1 848x480 -crf:v:1 24 -minrate:v:1 1005k -maxrate:v:1 1500k -bufsize:v:1 8325k -profile:v:1 high -level:v:1 4.1 -pix_fmt:v:1 yuv420p -c:v:2 libx264 -threads:v:2 2 -preset:v:2 veryfast -r:v:2 30 -g:v:2 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:2 640x360 -crf:v:2 24 -minrate:v:2 503k -maxrate:v:2 750k -bufsize:v:2 4165k -profile:v:2 main -level:v:2 4.1 -pix_fmt:v:2 yuv420p -c:v:3 libx264 -threads:v:3 2 -preset:v:3 superfast -r:v:3 30 -g:v:3 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:3 424x240 -crf:v:3 24 -minrate:v:3 536k -maxrate:v:3 800k -bufsize:v:3 4440k -profile:v:3 high -level:v:3 4.1 -pix_fmt:v:3 yuv420p -c:v:4 libx264 -threads:v:4 2 -preset:v:4 veryfast -r:v:4 30 -g:v:4 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:4 1920x1080 -crf:v:4 24 -minrate:v:4 2010k -maxrate:v:4 3000k -bufsize:v:4 16650k -profile:v:4 high -level:v:4 4.1 -pix_fmt:v:4 yuv420p -c:v:5 libx264 -threads:v:5 2 -preset:v:5 veryfast -r:v:5 30 -g:v:5 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:5 2560x1440 -crf:v:5 24 -minrate:v:5 2680k -maxrate:v:5 4000k -bufsize:v:5 22200k -profile:v:5 high -level:v:5 4.1 -pix_fmt:v:5 yuv420p -c:v:6 libx264 -threads:v:6 2 -preset:v:6 veryfast -r:v:6 30 -g:v:6 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:6 4096x2160 -crf:v:6 24 -minrate:v:6 3350k -maxrate:v:6 5000k -bufsize:v:6 27750k -profile:v:6 high -level:v:6 4.1 -pix_fmt:v:6 yuv420p -c:a aac -ac:a 2 -b:a:0 128k -ar:a:0 44100 -c:s mov_text -async 1 -vsync 1 -f mp4 -movflags +faststart <outfile>\",\"outdir\":\"/userdata/home/vineeth_103_push_4438/mp4/raw\",\"upload\":\"direct\"}",
- "created_at": "2025-01-26 03:42:24",
- "updated_at": "2025-01-26 03:48:49",
- "timings": {
- "process": {
- "start": "1737862951318",
- "end": "1737863328981"
}, - "infile": {
- "check": {
- "start": "1737862952014",
- "end": "1737862952612"
}, - "probe": {
- "start": "1737862952612",
- "end": "1737862953760"
}
}, - "download": {
- "start": "1737862954452",
- "end": "1737863011601"
}, - "encoder": {
- "start": "1737863011601",
- "end": "1737863325827"
}, - "outfile": {
- "check": "{}",
- "probe": {
- "start": "1737863325827",
- "end": "1737863326285"
}
}, - "thumbs": {
- "process": "{}"
}, - "upload": {
- "start": "1737863328629",
- "end": "1737863328868"
}
}, - "profile": "seven"
}
List all active / pending video encoding job queue for the zone
zoneid
required
|
integer
Example:
4438
(Required) Id of the Push Zone |
Content-Type |
string
Example:
application/json
|
Accept |
string
Example:
application/json
|
file |
string
|
{- "file": "/raw/A Familiar Visitor.webm"
}
{- "id": 4438,
- "jobid": "228129",
- "infile": "/raw/A Familiar Visitor.webm",
- "outfile": "/mp4/raw/A Familiar Visitor_seven.mp4",
- "percent": "100",
- "log": "",
- "error": "",
- "meta": "{\"zoneid\":\"4438\",\"projectid\":\"4d3c022746b8438b8fe1faab5ded81c4\",\"server\":\"vod-gb-lon-sl01\",\"installation\":\"5\",\"infile\":\"/userdata/home/vineeth_103_push_4438/raw/A Familiar Visitor.webm\",\"command\":\"ffmpeg -hide_banner -err_detect aggressive -stats -loglevel fatal -y -i <infile> -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:a:? -map 0:s:? -c:v:0 libx264 -threads:v:0 2 -preset:v:0 faster -r:v:0 30 -g:v:0 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:0 1280x720 -crf:v:0 24 -minrate:v:0 1340k -maxrate:v:0 2000k -bufsize:v:0 11100k -profile:v:0 high -level:v:0 4.1 -pix_fmt:v:0 yuv420p -c:v:1 libx264 -threads:v:1 2 -preset:v:1 veryfast -r:v:1 30 -g:v:1 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:1 848x480 -crf:v:1 24 -minrate:v:1 1005k -maxrate:v:1 1500k -bufsize:v:1 8325k -profile:v:1 high -level:v:1 4.1 -pix_fmt:v:1 yuv420p -c:v:2 libx264 -threads:v:2 2 -preset:v:2 veryfast -r:v:2 30 -g:v:2 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:2 640x360 -crf:v:2 24 -minrate:v:2 503k -maxrate:v:2 750k -bufsize:v:2 4165k -profile:v:2 main -level:v:2 4.1 -pix_fmt:v:2 yuv420p -c:v:3 libx264 -threads:v:3 2 -preset:v:3 superfast -r:v:3 30 -g:v:3 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:3 424x240 -crf:v:3 24 -minrate:v:3 536k -maxrate:v:3 800k -bufsize:v:3 4440k -profile:v:3 high -level:v:3 4.1 -pix_fmt:v:3 yuv420p -c:v:4 libx264 -threads:v:4 2 -preset:v:4 veryfast -r:v:4 30 -g:v:4 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:4 1920x1080 -crf:v:4 24 -minrate:v:4 2010k -maxrate:v:4 3000k -bufsize:v:4 16650k -profile:v:4 high -level:v:4 4.1 -pix_fmt:v:4 yuv420p -c:v:5 libx264 -threads:v:5 2 -preset:v:5 veryfast -r:v:5 30 -g:v:5 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:5 2560x1440 -crf:v:5 24 -minrate:v:5 2680k -maxrate:v:5 4000k -bufsize:v:5 22200k -profile:v:5 high -level:v:5 4.1 -pix_fmt:v:5 yuv420p -c:v:6 libx264 -threads:v:6 2 -preset:v:6 veryfast -r:v:6 30 -g:v:6 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:6 4096x2160 -crf:v:6 24 -minrate:v:6 3350k -maxrate:v:6 5000k -bufsize:v:6 27750k -profile:v:6 high -level:v:6 4.1 -pix_fmt:v:6 yuv420p -c:a aac -ac:a 2 -b:a:0 128k -ar:a:0 44100 -c:s mov_text -async 1 -vsync 1 -f mp4 -movflags +faststart <outfile>\",\"extension\":\"mp4\",\"outfile\":\"/userdata/home/vineeth_103_push_4438/mp4/raw/A Familiar Visitor_seven.mp4\",\"outdir\":\"/userdata/home/vineeth_103_push_4438/mp4/raw\",\"relativepath\":{\"infile\":\"/raw/A Familiar Visitor.webm\",\"outfile\":\"/mp4/raw/A Familiar Visitor_seven.mp4\"},\"upscale\":{\"allowed\":true},\"out\":{\"videoTracks\":7,\"audioTracks\":1},\"splitted\":{\"command\":\"ffmpeg -hide_banner -err_detect aggressive -stats -loglevel fatal -y -i <infile> -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:V:0? -map 0:a:? -map 0:s:? -c:v:0 libx264 -threads:v:0 2 -preset:v:0 faster -r:v:0 30 -g:v:0 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:0 1280x720 -crf:v:0 24 -minrate:v:0 1340k -maxrate:v:0 2000k -bufsize:v:0 11100k -profile:v:0 high -level:v:0 4.1 -pix_fmt:v:0 yuv420p -c:v:1 libx264 -threads:v:1 2 -preset:v:1 veryfast -r:v:1 30 -g:v:1 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:1 848x480 -crf:v:1 24 -minrate:v:1 1005k -maxrate:v:1 1500k -bufsize:v:1 8325k -profile:v:1 high -level:v:1 4.1 -pix_fmt:v:1 yuv420p -c:v:2 libx264 -threads:v:2 2 -preset:v:2 veryfast -r:v:2 30 -g:v:2 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:2 640x360 -crf:v:2 24 -minrate:v:2 503k -maxrate:v:2 750k -bufsize:v:2 4165k -profile:v:2 main -level:v:2 4.1 -pix_fmt:v:2 yuv420p -c:v:3 libx264 -threads:v:3 2 -preset:v:3 superfast -r:v:3 30 -g:v:3 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:3 424x240 -crf:v:3 24 -minrate:v:3 536k -maxrate:v:3 800k -bufsize:v:3 4440k -profile:v:3 high -level:v:3 4.1 -pix_fmt:v:3 yuv420p -c:v:4 libx264 -threads:v:4 2 -preset:v:4 veryfast -r:v:4 30 -g:v:4 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:4 1920x1080 -crf:v:4 24 -minrate:v:4 2010k -maxrate:v:4 3000k -bufsize:v:4 16650k -profile:v:4 high -level:v:4 4.1 -pix_fmt:v:4 yuv420p -c:v:5 libx264 -threads:v:5 2 -preset:v:5 veryfast -r:v:5 30 -g:v:5 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:5 2560x1440 -crf:v:5 24 -minrate:v:5 2680k -maxrate:v:5 4000k -bufsize:v:5 22200k -profile:v:5 high -level:v:5 4.1 -pix_fmt:v:5 yuv420p -c:v:6 libx264 -threads:v:6 2 -preset:v:6 veryfast -r:v:6 30 -g:v:6 180 -force_key_frames:v \\\"expr:eq(mod(n,180),0)\\\" -x264opts rc-lookahead=180:keyint=360:min-keyint=180 -s:v:6 4096x2160 -crf:v:6 24 -minrate:v:6 3350k -maxrate:v:6 5000k -bufsize:v:6 27750k -profile:v:6 high -level:v:6 4.1 -pix_fmt:v:6 yuv420p -c:a aac -ac:a 2 -b:a:0 128k -ar:a:0 44100 -c:s mov_text -async 1 -vsync 1 -f mp4 -movflags +faststart <outfile>\",\"outdir\":\"/userdata/home/vineeth_103_push_4438/mp4/raw\",\"upload\":\"direct\"}",
- "created_at": "2025-01-26 03:42:24",
- "updated_at": "2025-01-26 03:48:49",
- "timings": {
- "process": {
- "start": "1737862951318",
- "end": "1737863328981"
}, - "infile": {
- "check": {
- "start": "1737862952014",
- "end": "1737862952612"
}, - "probe": {
- "start": "1737862952612",
- "end": "1737862953760"
}
}, - "download": {
- "start": "1737862954452",
- "end": "1737863011601"
}, - "encoder": {
- "start": "1737863011601",
- "end": "1737863325827"
}, - "outfile": {
- "check": "{}",
- "probe": {
- "start": "1737863325827",
- "end": "1737863326285"
}
}, - "thumbs": {
- "process": "{}"
}, - "upload": {
- "start": "1737863328629",
- "end": "1737863328868"
}
}, - "profile": "seven"
}
Add a file encoding job
zoneid
required
|
integer
Example:
4438
(Required) Id of the Push Zone |
profileid
required
|
integer
Example:
1
(Required) Id of the Transcode Profile |
Content-Type |
string
Example:
application/json
|
Accept |
string
Example:
application/json
|
video |
object
|
audio |
object
|
subtitle |
object
|
file |
string
|
priority |
integer
|
{- "video": {
- "resolution": "1920x1080",
- "codec": "H.264"
}, - "audio": {
- "format": "AAC",
- "bitrate": "128 kbps"
}, - "subtitle": {
- "language": "English",
- "format": "SRT"
}, - "file": "/raw/A Familiar Visitor.webm",
- "priority": 66
}
{- "result": "success",
- "jobid": 229453
}
Retry an encoding job, after fixing issues
jobid
required
|
integer
Example:
229453
(Required) Id of the VideEncoding job |
Accept |
string
Example:
application/json
|
[ ]
Cancel an encoding job. Jobs can be cancelled only before its get processed.
jobid
required
|
integer
Example:
222589
(Required) Id of the VideEncoding job |
Accept |
string
Example:
application/json
|
[ ]
Get reports of Video Encoding Minutes
r |
string
Example:
<string>
(Required) Enter date range
format should be
yyyy-mm-dd hh:min:sec -
yyyy-mm-dd hh:min:sec
|
f |
string
Example:
<string>
Enter reported by |
Accept |
string
Example:
application/json
|
{- "result": "success",
- "zones": [
- 4438,
- 4497
], - "logs": [
- {
- "serverid": 30,
- "id": 4438,
- "type": "push",
- "serviceid": 103,
- "usage": "04:19",
- "file": "/raw/A Familiar Visitor.webm -> /mp4/raw/A Familiar Visitor_720p.mp4",
- "from": 1737954871,
- "to": 1737955068,
- "disk": 0
}
], - "logsinfo": {
- "count": 3,
- "sum": "35 mins",
- "ndvr": "35 mins",
- "dvr": "0 mins"
}
}
These presets will be automatically added to your new zones
Content-Type |
string
Example:
application/json
|
Accept |
string
Example:
application/json
|
{- "defaultprofiles": [
- 1,
- 2,
- 4
]
}
{- "result": "success",
- "message": "Transcoding Settings Updated"
}
Create Transcoding Profiles
Content-Type |
string
Example:
application/json
|
Accept |
string
Example:
application/json
|
name |
string
|
outdir |
string
|
f |
string
|
cv |
string
|
sv |
integer
|
svvalue |
string
|
crfv |
integer
|
bv |
integer
|
bvvalue |
integer
|
vpass |
integer
|
vprofile |
string
|
fps |
integer
|
gop |
integer
|
upscale |
string
|
ca |
string
|
aca |
integer
|
ba |
integer
|
bavalue |
integer
|
ara |
integer
|
tm |
string
|
tv |
string
|
filters |
Array
of integers
|
_METHOD |
string
|
filemode |
string
|
{- "name": "kippo",
- "outdir": "mp4/",
- "f": "mp4",
- "cv": "libx264",
- "sv": 0,
- "svvalue": "",
- "crfv": 24,
- "bv": 1,
- "bvvalue": 2000,
- "vpass": 1,
- "vprofile": "disabled",
- "fps": 30,
- "gop": 10,
- "upscale": "Y",
- "ca": "aac",
- "aca": 2,
- "ba": 1,
- "bavalue": 80,
- "ara": 44100,
- "tm": "disabled",
- "tv": "06:00:00",
- "filters": [
- 1,
- 2,
- 5
], - "_METHOD": "PUT",
- "filemode": "Single"
}
{- "result": "success",
- "message": "Transcoding Settings, New Profile Created",
- "profileid": 110860
}
Edit Transcoding Profile
profileid
required
|
integer
Example:
110860
(Required) Id of the Transcode Profile |
Content-Type |
string
Example:
application/json
|
Accept |
string
Example:
application/json
|
name |
string
|
outdir |
string
|
f |
string
|
cv |
string
|
sv |
number
|
svvalue |
string
|
crfv |
number
|
bv |
number
|
bvvalue |
number
|
vpass |
number
|
vprofile |
string
|
fps |
number
|
gop |
number
|
preset |
string
|
upscale |
string
|
ca |
string
|
aca |
number
|
ba |
number
|
bavalue |
number
|
ara |
number
|
tm |
string
|
tv |
string
|
filters |
Array
of numbers
|
filemode |
string
|
{- "name": "kippo",
- "outdir": "mp4/",
- "f": "mp4",
- "cv": "libx264",
- "sv": 0,
- "svvalue": "",
- "crfv": 24,
- "bv": 1,
- "bvvalue": 2000,
- "vpass": 1,
- "vprofile": "disabled",
- "fps": 30,
- "gop": 10,
- "preset": "superfast",
- "upscale": "Y",
- "ca": "aac",
- "aca": 2,
- "ba": 1,
- "bavalue": 80,
- "ara": 44100,
- "tm": "disabled",
- "tv": "06:00:00",
- "filters": [
- 1
], - "filemode": "Single"
}
{- "result": "success",
- "message": "Transcoding Settings Updated"
}
Delete the information of Transcoding Profile. To cast request method POST and parameters _METHOD = DELETE
profileid
required
|
integer
Example:
110860
(Required) Id of the Transcode Profile |
Accept |
string
Example:
application/json
|
{- "result": "success",
- "message": "Transcoding Settings Updated"
}
List File Transcoding Profiles
Accept |
string
Example:
application/json
|
{- "result": "success",
- "profiles": {
- "1": {
- "id": 1,
- "serviceid": 103,
- "type": "file",
- "name": "720p",
- "filemode": "Single",
- "settings": {
- "name": "720p",
- "outdir": "mp4/",
- "f": "mp4",
- "cv": "libx264",
- "sv": "720p",
- "svvalue": "",
- "crfv": 24,
- "bv": 1,
- "bvvalue": 2000,
- "vpass": 1,
- "vprofile": "high",
- "vlevel": "4.1",
- "fps": 30,
- "gop": 6,
- "preset": "faster",
- "upscale": "Y",
- "ca": "aac",
- "aca": 2,
- "ba": 1,
- "bavalue": 128,
- "ara": 44100,
- "tm": "disabled",
- "tv": "00:00:30",
- "threads": 2,
- "bframe": 1,
- "format": "mp4"
}, - "codec": "h264"
}
}
}
Create File Transcoding Filters
Content-Type |
string
Example:
application/json
|
Accept |
string
Example:
application/json
|
name |
string
|
||||||||||||||||||||||
filter |
string
|
||||||||||||||||||||||
object
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
_METHOD |
string
|
{- "name": "flutter",
- "filter": "drawtext",
- "args": {
- "drawtext": {
- "text": "Flutter",
- "fontsize": 16,
- "fontcolor": "#2599f8",
- "position": "Top Left"
}
}, - "_METHOD": "PUT"
}
{- "result": "success",
- "message": "Transcoding Settings, New Filter Created",
- "filterid": 324
}
Edit Transcoding Profile Filter
filterid
required
|
integer
Example:
324
(Required) Id of the Transcode Profile filter |
Content-Type |
string
Example:
application/json
|
Accept |
string
Example:
application/json
|
name |
string
|
||||||||
object
|
|||||||||
|
{- "name": "flutter",
- "args": {
- "text": "Flutter",
- "fontsize": 16,
- "fontcolor": "#2599f8",
- "position": "Top Left"
}
}
{- "result": "success",
- "message": "Transcoding Settings Updated"
}
Delete the information of Transcoding Profile filter. To cast request method POST and parameters _METHOD = DELETE
filterid
required
|
integer
Example:
324
(Required) Id of the Transcode Profile filter |
Accept |
string
Example:
application/json
|
{- "result": "success",
- "message": "Transcoding Settings Updated"
}
List File Transcoding Filters
Accept |
string
Example:
application/json
|
{- "result": "success",
- "filters": {
- "1": {
- "id": 1,
- "serviceid": 0,
- "type": "file",
- "name": "Horizontal Flip",
- "settings": {
- "filter": "hflip",
- "args": [ ]
}
}
}
}