Last update:2024-01-09 15:20:42
The Low Bandwidth High Definition(LBHD) offered by CDNetworks is a unique transcoding capability, realized through the use of progressive technologies like Scene Recognition, Lossless Bitrate Reduction, and Image Quality Rebuild. These technologies enable CDNetworks to substantially decrease the bitrate without compromising the image quality. Visit the Demo Video to fully appreciate this exceptional transcoding functionality.
Structure your fops
in the request body as follows:
<op>/<Format>
/nbhd/<value>
|saveas/<Urlsafe_Base64_Encode(bucket:savedfilename)>
Video Transcoding Fops Parameters
Parameter | Required | Description |
---|---|---|
op | Yes | Operation type. For LBHD transcoding, set the operation type to avthumb . |
format | Yes | Target format for output, supports mp4, flv, m3u8, mpd, etc. |
nbhd | No | Whether to enable LBHD for transcoding:0(Default) - LBHD will not be enabled.1 - LBHD will be enabled. |
saveas | No | This parameter defines the output location and filename as a URL-safe Base64-encoded string with the pseudocode Urlsafe_Base64_Encode(bucket:savedfilename) . |
The following example demonstrates how to transcode a video named test.flv
into an LBHD MP4
. The ouput video will be named test.mp4
and will be saved in the same vod-wcs-test001
bucket.
Pseudocode format for the request:
curl -v -X POST
–d "bucket=Urlsafe_Base64_Encode(vod-wcs-test001)&key=Urlsafe_Base64_Encode(test.flv)&fops=Urlsafe_Base64_Encode(avthumb/mp4/nbhd/1|saveas/Urlsafe_Base64_Encode(vod-wcs-test001:test.mp4))&force=1&separate=1"
–H "Authorization:AccessKey:EncodeSign"
--url "http://mgrDomain/fops"
Actual request format:
curl -v -X POST
-d "bucket=dm9kLXdjcy10ZXN0MDAx&key=dGVzdC5mbHY=&fops=YXZ0aHVtYi9tcDQvbmJoZC8xfHNhdmVhcy9kbTlrTFhkamN5MTBaWE4wTURBeE9uUmxjM1F1YlhBMA==&force=1&separate=1"
-H "Authorization:AccessKey:EncodeSign"
--url "http://mgrDomain/fops"