Skip to content

Commit c168d59

Browse files
committed
add vframe pfop with saveas
1 parent b3139fb commit c168d59

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pfop_demo.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66

77
$pfop = new Qiniu_Pfop();
88

9-
$pfop->Bucket = "auditlog";
9+
$pfop->Bucket = "rwxf";
1010
$pfop->Key = "1.mp4";
1111

12-
$savedKey = "6.m3u8";
12+
$savedKey = "6.jpg";
1313
// $pfop->Fops = "avthumb/flv/r/24/vcodec/libx264";
1414
$savedEntry = Qiniu_Encode("$pfop->Bucket:$savedKey");
1515

16-
$pfop->Fops = "avthumb/m3u8/segtime/60|saveas/$savedEntry";
17-
$pfop->NotifyURL = "http://api.rwfeng.com/index.php";
16+
$pfop->Fops = "vframe/jpg/offset/180/w/1000/h/1000/rotate/90|saveas/$savedEntry";
17+
//$pfop->NotifyURL = "http://api.rwfeng.com/index.php";
1818

1919
list($ret, $err) = $pfop->MakeRequest($client);
2020

0 commit comments

Comments
 (0)