public function image_str($sec) { return Command::out(sprintf("%s -ss %01.3f -i %s -f image2 -", $this->cmd, $sec, $this->filename)); }
private function check($rev, $url) { $info = Command::out(sprintf("%s info -r %d %s", $this->cmd, $rev, $url)); return substr_count($info, "\n") > 1; }