Description
URI Argument
Select the output horizontal resolution for HD video output
Type: String
Values: "Full", "3/4"
hres
Select whether the output bit rate is constant or variable for HD video
output
Type: String
Values: "CBR", "VBR"
bitratemode
Select the output bit rate for HD output video
Type: Float
Values: 10.0..25.0
bitrate
Select whether to manually select the Group of Pictures settings
Type: String
Values: "I Frame Sync", "User GOP(MN)"
gop
If the HD GOP Control is under User GOP, select the M and N values
Type: String
Values: "1 0", "12 2", "15 2", "24 2", "30 2"
usergop
Select whether 3:2 pulldown is enabled or not
Type: String
Values: "Disabled", "Enabled"
pulldown32
POST Examples:
Example 1: Changing one HD Transcoding Parameter
The following example assumes that the user has successfully logged onto the unit, received the session id
and set it to the variable token. In addition, it is assumed that the IP of the unit is 192.168.0.1. You must
change the IP to the specific unit IP in use. The following example changes the bitratemode of transcoder 5
to CBR.
curl -X POST -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/transcode/hd?index=5&bitratemode=CBR"
If successful, the following is an example of the return body:
"response": {
"code": "10",
"result": "success",
"message": ""
}
Example 2: Changing multiple HD Transcoding Parameters
The following example assumes that the user has successfully logged onto the unit, received the session id
and set it to the variable token. In addition, it is assumed that the IP of the unit is 192.168.0.1. You must
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
246
API Definitions
Transcoding Configuration Commands