我已经将ffserver设置为通过ffmpeg从实时rtsp源流式传输mpeg-ts和flv,但是当我还在配置中包含webm格式并尝试在浏览器中播放webm文件时,我在日志中得到以下错误
WebM仅支持VP8、VP9视频和Vorbis、Opus(实验性,使用-strict -2)音频和WebVTT字幕
我使用的ffmpeg命令是ffmpeg -i rtsp://192.168.1.1:5543/lowQ.sdp -c http://xxx.xxxx.xxxx:8080/feed1.ffm
ffserver配置为
Feed feed1.ffm格式webm NoAudio AVOptionVideo标志+global_header VideoBitRate 500k VideoBufferSize 40 VideoFrameRate 25 VideoCodec libvpx StartSendOnKey Preroll 15
感谢您在这方面的帮助!
发布于 2014-08-04 14:40:14
尝试使用libvpx支持编译ffmpeg (../configure --enable-libvpx)
https://stackoverflow.com/questions/23533272
复制相似问题