Ai
1 Star 0 Fork 1

艾合/PHP-FFmpeg-video-streaming

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
TestCase.php 492 Bytes
一键复制 编辑 原始数据 按行查看 历史
Amin 提交于 2019-08-22 04:16 +08:00 . - Test updated
<?php
namespace Tests\FFMpegStreaming;
use Streaming\FFMpeg;
use PHPUnit\Framework\TestCase as BaseTestCase;
class TestCase extends BaseTestCase
{
public $srcDir;
public function setUp(): void
{
$this->srcDir = __DIR__ . '/files';
}
public function getFFMpeg(): FFMpeg
{
return FFMpeg::create();
}
public function getVideo()
{
$service = $this->getFFMpeg();
return $service->open($this->srcDir . '/test.mp4');
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/torghay/PHP-FFmpeg-video-streaming.git
git@gitee.com:torghay/PHP-FFmpeg-video-streaming.git
torghay
PHP-FFmpeg-video-streaming
PHP-FFmpeg-video-streaming
master

搜索帮助