Ten lines of code gets vibrato no watermark video address

Videoparse ( https://www.videoparse.cn ) provides video watermark to resolve the interface, the following code appId and appSecret available in the developer background.

PHP code examples are as follows:

//开发者后台生成的appid
$appId = '';

//开发者后台生成的appsecret
$appSecret = '';

//需要解析的url
$url = '';

$param = [
    'appid'     => $appId,
    'appsecret' => $appSecret,
    'url'       => $url,
];

//得到请求的地址:https://api-sv.videoparse.cn/api/video/normalParse?appid=2m3Ju99MPXrNtkgH&appsecret=bNG3JYjT83qp4cib&url=http%3A%2F%2Fv.douyin.com%2Fa2X5ab%2F
$apiUrl = 'https://api-sv.videoparse.cn/api/video/normalParse?'.http_build_query($param);
$videoInfo = file_get_contents($apiUrl);
print_r($videoInfo);

Guess you like

Origin blog.51cto.com/14633978/2456613