将 Windows 网络摄像头流式传输到 iPhone
我正在尝试将视频(无音频)从 Windows 网络摄像头 DirectShow 流式传输到 iPhone 浏览器。我想使用 VLC 通过 HTTP 将视频转码为 MJPEG 流,并在浏览器中打开它。
我尝试使用以下 VLC 命令来执行此操作: vlc -vvv dshow:// :sout=#transcode{vcodec=MJPG,vb=2000,scale=1}:duplicate{dst=std{access=http,mux=mpjpeg,dst=192.168.1.178:8080/stream。 mpjpg}}
当我尝试在移动 Safari 中打开此流时,收到消息“Safari 无法打开文件”。
有人对成功将网络摄像头流式传输到 iPhone 有什么建议吗?我正在寻找修改上述代码的建议,或者为我执行此转码和流传输的软件解决方案的建议。
谢谢。
I am attempting to stream video (no audio) from a Windows webcam DirectShow to the iPhone browser. I am thinking that I will want to use VLC to transcode the video to an MJPEG stream over HTTP and open it in the browser.
I attempted to do this using this VLC command:
vlc -vvv dshow:// :sout=#transcode{vcodec=MJPG,vb=2000,scale=1}:duplicate{dst=std{access=http,mux=mpjpeg,dst=192.168.1.178:8080/stream.mpjpg}}
When I attempt to open this stream in mobile Safari, I get the message "Safari cannot open file."
Does anyone have any suggestions for successfully streaming a webcam to the iPhone? I am looking for either suggestions for modifying the above code, or suggestions for software solutions that will preform this transcoding and streaming for me.
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我目前正在使用 ffserver 和 ffmpeg (http://ffmpeg.org/)。
启动服务器。我的 ffserver.conf 是
mjpeg 流可以直接在 safari 中打开,或者如果您正在开发,则可以嵌入到 UIWebView 中。
I am currently using ffserver and ffmpeg (http://ffmpeg.org/) for this.
starts the server. My ffserver.conf is
The mjpeg stream can be opened directly in safari, or embedded in a UIWebView if you are developing.