Exemplo n.º 1
0
 public function testEncodeOtherCodec()
 {
     $format = new ThreeGP();
     $format->setVideoCodec('libx264');
     $format->setAudioCodec('amr');
     try {
         $this->ffmpeg->open($this->input)->save($format, $this->output);
     } catch (\FFMpeg\Exception\Exception $e) {
         $this->fail($e->getMessage());
     }
 }
Exemplo n.º 2
0
 /**
  * @covers FFMpeg\Format\Video\ThreeGP::supportBFrames
  */
 public function testSupportBFrames()
 {
     $this->assertFalse($this->format->supportBFrames());
 }