Get information about a specific Codec
GET /codecs/ID
Parameters
- format : json or xml. This will override the Request Accept header.
- human : true or false. If 'true', it causes the response to be in a structured, more human-readable form. This is useful when calling the API through curl or from a browser.
Example
GET /codecs/ID
curl "https://api.xvid.com/v1/codecs/525ce63284aed52635e85d05?format=json&human=true"
{
"codec": {
"name": "H.264",
"description": "H.264 Encoder",
"type": "video",
"passes": [
1,
1
],
"autograph": [
true,
false
],
"profiles": [
{
"name": "Baseline",
"containers": [
"flv",
"mp4",
"mkv",
"mov",
"m4v"
],
"capabilities": {
"interlaced": [
false
],
"max_key_distance": [
1,
30
],
"max_width": [
64,
4096
],
"max_height": [
64,
3072
],
"max_framerate": [
5,
7.5,
10,
15,
23.976,
24,
25,
29.97,
30,
59.94,
60
],
"max_bitrate": [
64,
20000
],
"max_buffersize": [
128,
2048
],
"max_ref_frames": [
1,
5
]
}
},
{
"name": "Main",
"containers": [
"mp4",
"mkv",
"mov",
"m4v"
],
"capabilities": {
"interlaced": [
true,
false
],
"max_key_distance": [
1,
30
],
"max_width": [
64,
4096
],
"max_height": [
64,
3072
],
"max_framerate": [
5,
7.5,
10,
15,
23.976,
24,
25,
29.97,
30,
59.94,
60
],
"max_bitrate": [
64,
50000
],
"max_buffersize": [
128,
2048
],
"max_ref_frames": [
1,
5
]
}
},
{
"name": "High",
"containers": [
"mp4",
"mkv",
"m4v",
"mov"
],
"capabilities": {
"interlaced": [
true,
false
],
"max_key_distance": [
1,
30
],
"max_width": [
64,
4096
],
"max_height": [
64,
3072
],
"max_framerate": [
5,
7.5,
10,
15,
23.976,
24,
25,
29.97,
30,
59.94,
60
],
"max_bitrate": [
64,
60000
],
"max_buffersize": [
256,
2048
],
"max_ref_frames": [
1,
5
]
}
}
],
"version": 1,
"created_at": 1362119988773,
"updated_at": 1362119988773,
"id": "525ce63284aed52635e85d05",
"href": "https://api.xvid.com/v1/codecs/525ce63284aed52635e85d05"
}
}
Overview
Content Tools