26 December 2019
about 5 years ago by Encoding.com Product Team #2
BuyDRM KeyOS CPIX
Added support of BuyDRM KeyOS CPIX.
You can apply the BuyDRM KeyOS CPIX DRM to your output with our API. You should generate public and private keys in KeyOS Console then just add them in API request.
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<source>[SourceFile]</source> <!-- required-->
<format>
<output>[OutputFormat]</output> <!-- required-->
<buydrm_cpix_drm>[yes|no]</buydrm_cpix_drm>
<buydrm_cpix_content_id>[COntentID]</buydrm_cpix_content_id>
<buydrm_cpix_private_key>[PrivateKey]</buydrm_cpix_private_key>
<buydrm_cpix_cert>[PublicKey]</buydrm_cpix_cert>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"source": "[SourceFile]",
"format": {
"output": "[OutputFormat]",
"buydrm_cpix_drm": "[yes|no]",
"buydrm_cpix_content_id": "[yes|no]",
"buydrm_cpix_private_key": "[yes|no]",
"buydrm_cpix_cert": "[yes|no]"
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
buydrm_cpix_drm | Enable BuyDRM CPIX KMS | yes, no | no |
buydrm_cpix_content_id | BuyDRM CPIX Content ID | string | none |
buydrm_cpix_private_key | BuyDRM CPIX Private Key | string | none |
buydrm_cpix_cert | BuyDRM CPIX Public Key | string | none |
Note
BuyDRM only works with advanced multibitrate output formats.
New advanced H.264 options
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<source>[SourceFile]</source> <!-- required-->
<format>
<output>[OutputFormat]</output> <!-- required-->
<video_codec_parameters>
<rc-lookahead>[LookaheadNumber]</rc-lookahead>
<nal-hrd>[none|vbr|cbr]</nal-hrd>
</video_codec_parameters>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"source": "[SourceFile]",
"format": {
"output": "[OutputFormat]",
"video_codec_parameters": {
"rc-lookahead": "[LookaheadNumber]",
"nal-hrd": "[none|vbr|cbr]"
}
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
rc-lookahead | Number of frames to use for mb-tree ratecontrol and vbv-lookahead | Integer number between 0 and 250 | none |
nal-hrd | Signal HRD information | none vbr * cbr | none |