示例#1
0
文件: FFmpeg.php 项目: hisaboh/w2t
 public function image_str($sec)
 {
     return Command::out(sprintf("%s -ss %01.3f -i %s -f image2 -", $this->cmd, $sec, $this->filename));
 }
示例#2
0
 private function check($rev, $url)
 {
     $info = Command::out(sprintf("%s info -r %d %s", $this->cmd, $rev, $url));
     return substr_count($info, "\n") > 1;
 }