总结:关于使用ffmpeg video4linux2 打开usb摄像头流的失败过程排查

在ubuntu下,虽然使用opencv可以可以打开usb摄像头视频流,但项目中用的 ffmpeg做为解码工具。linux 以前的代码可以正常打开rtsp流了。ubuntu 网上搜索到使用代码:ide ............................... AVInputFormat *inputFmt = av_find_input_format("video4linux2"); ...
相关文章
相关标签/搜索