1. Go to this page and download the library: Download ping-qu/transcode 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 / transcode example snippets
$client = new \Pingqu\Transcode('endpoint',access_key','access_secret');
//endpoint填service.cloud.ping-qu.com
$client->addVideoJob('objectKeyInput', 'objectKeyOutput', 'type', 'preset_id', 'pipeline_id');//添加视频转码任务
$client = new \Pingqu\Transcode('access_key','access_secret');
$client->transcodeAgain($job_id);
$client = new \Pingqu\Transcode('access_key','access_secret');
$client->addLiveJob($preset_id_array);
$client = new \Pingqu\Transcode('endpoint',access_key','access_secret');
$data = $client->getCallbackDate();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.