public function testPassthru() { $source = fopen("{$this->_files}/video_theora_comments.ogv", 'rb'); $target = fopen('php://temp', 'wb'); $subject = new Media_Process_Adapter_FfmpegShell($source); $subject->passthru('s', '50x100'); $subject->store($target); fclose($source); $subject = new Media_Process_Adapter_FfmpegShell($target); $this->assertEquals(50, $subject->width()); $this->assertEquals(100, $subject->height()); fclose($target); }