Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我喜欢流式传输由 opencv 捕获的网络摄像头图片。我考虑使用 ffmpeg 和 live555 的解决方案(不幸的是,它们的文档记录不太好)。我的问题是:
如何将捕获的图像转换为 H264 格式,以便图片/秒匹配。如果它在一个循环中,我会得到超过 25 张图片/秒,并且视频速度很快。
我如何通过 rtp / rtps 或类似的方式在网络上直接流式传输转换后的 H264 流。
谢谢你的帮助!
编辑:Apple 公开了视频编码器 API,允许在 iOS8 中访问 h264 帧流
有关如何使用 x264 和 Live555 编码和流式传输帧的示例,请参见以下内容: