您的位置:首页 > 运维架构 > Nginx

基于nginx和nginx-rtmp-module搭建rtmp流媒体服务器

2017-02-24 15:20 260 查看

编译m3u8-segmenter

下载地址:https://github.com/johnf/m3u8-segmenter.git

编译问题:

1.configure: error: Package requirements (libavformat libavcodec libavutil) were not met:

解决方法:

手动编译

gcc -Wall  m3u8-segmenter.c -o segmenter -L/usr/local/lib -lavformat -lavcodec -lavutil

2.

‘CODEC_ID_MP3’ undeclared (first use in this function)

解决方法:

宏名前加AV_

参考https://github.com/johnf/m3u8-segmenter/pull/39/commits/b349ae9748bec61cb15d8853edcd671039d36bc1
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: