We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 279c337 commit 1cd5b78Copy full SHA for 1cd5b78
pfop_demo.php
@@ -8,8 +8,12 @@
8
9
$pfop->Bucket = "auditlog";
10
$pfop->Key = "1.mp4";
11
+
12
+$savedKey = "6.m3u8";
13
// $pfop->Fops = "avthumb/flv/r/24/vcodec/libx264";
-$pfop->Fops = "avthumb/m3u8/segtime/1";
14
+$savedEntry = Qiniu_Encode("$pfop->Bucket:$savedKey");
15
16
+$pfop->Fops = "avthumb/m3u8/segtime/60|saveas/$savedEntry";
17
$pfop->NotifyURL = "http://api.rwfeng.com/index.php";
18
19
list($ret, $err) = $pfop->MakeRequest($client);
0 commit comments