EasyManuals Logo

Cisco D9800 User Manual

Cisco D9800
294 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #263 background imageLoading...
Page #263 background image
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. This 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/sd/transcode?index=5&bitratemode=CBR"
If successful, the following is an example of the return body will be:
"response": {
"code": "10",
"result": "success",
"message": ""
}
Example 2: Changing multiple SD 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
change the IP to the specific unit IP in use. The following example changes several HD transcoder 5 parameters.
It will set the bitratemode to CBR, bitrate to 14 and, pulldown32 to Disabled.
curl -X POST -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/
service_cfg/transcode/sd?index=5&bitratemode=CBR&bitrate=14&pulldown32=Disabled"
If successful, the following is an example of the return body:
"response": {
"code": "10",
"result": "success",
"message": ""
}
GET Examples:
Example 3: GET the full SD transcoder values for a specific transcoder
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 retrieves all of the SD transcoder settings
for transcoder 5.
The user must specify the index in the URI.Note
curl -X GET -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/transcode/sd?index=5"
If successful, the following is an example of the return body:
"transcode": {
"sd": {
"index": "5",
"vres": "SD Output",
"hres": "720",
"bitratemode": "CBR",
"bitrate": "4.0",
"gop": "User GOP(MN)",
"usergop": "15 2",
"pulldown32": "Disabled",
"aspectratio": "16:9",
"aspectconv": "None",
"ccpkt1": "CEA 708",
"ccpkt2": "None"
}
}
Example 4: GET a specific SD transcode value for a specific transcoder
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
251
API Definitions
Transcoding Configuration Commands

Table of Contents

Other manuals for Cisco D9800

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco D9800 and is the answer not in the manual?

Cisco D9800 Specifications

General IconGeneral
BrandCisco
ModelD9800
CategoryReceiver
LanguageEnglish

Related product manuals