Example #1
0
 public function image_str($sec)
 {
     return Command::out(sprintf("%s -ss %01.3f -i %s -f image2 -", $this->cmd, $sec, $this->filename));
 }
Example #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;
 }