如何--enable-protocol = ffmpeg的SRT?

时间:2018-07-09 01:27:39

标签: ffmpeg

我正在尝试--enable-protocol = ffmpeg的SRT。我的工作如下: 1.检查ffmpeg的当前配置,表明它不支持SRT协议。 enter image description here

2。因此,我尝试使用msys64通过--enable-protocol = SRT和命令来编译ffmpeg $ ./configure --toolchain=msvc --arch=x64 --enable-yasm --enable-asm --enable-shared --enable-protocol=SRT 但结果如下: enter image description here 这表明该配置没有用。谢谢您能帮我!

1 个答案:

答案 0 :(得分:0)

SRT是通过外部库提供的,因此您需要该库可用于通过pkg-config进行链接。

配置标志为--enable-protocol=libsrt --enable-libsrt。仅当您禁用了所有组件或协议时才需要前一个标志。不过,保留它不会受到伤害。