PHP code example of ping-qu / multimedia-transcoder
1. Go to this page and download the library: Download ping-qu/multimedia-transcoder library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ping-qu / multimedia-transcoder example snippets
bash
$job = new \Pingqu\MultimediaTranscoder\V1\Job(accessKeyId,accessKeySecret,'http://yun.linyue.hznwce.com');
$job->setParams(['pipeline_id'=>'111',
'input_file'=>'111',
'preset_id'=>'111',
]);
$data = $job->addFileJob();
return $data;