broken ffmpeg default settings detected

主宰稳场 提交于 2019-12-03 23:37:49

for the error:

[libx264 @ 0x8d6220] broken ffmpeg default settings detected
[libx264 @ 0x8d6220] use an encoding preset (e.g. -vpre medium)
[libx264 @ 0x8d6220] preset usage: -vpre <speed> -vpre <profile>
[libx264 @ 0x8d6220] speed presets are listed in x264 --help
[libx264 @ 0x8d6220] profile is optional; x264 defaults to high

you may need the command -vpre perset (e.g. -vpre fast). maybe you libx264 is too old. I meet the same error while using a ffmpeg built in 2014.

I don't remember if you need to re build opencv with open h264 support, but for sure, standart opencv doesn't provide h264 codec. Here is a hint:

http://answers.opencv.org/question/104346/how-to-encode-a-h264-video-on-windows/

please install libx264-dev and try compiling openvc3.0 with that. follow this link

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!