从火线获取视频流 [英] Grab Video Stream from FireWire

查看:158
本文介绍了从火线获取视频流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试通过FireWire将来自相机(Sony HVR-Z1E)的视频流式传输到我的电脑。输入的图像/流将被一些期望CVMat格式(从openCV)的函数进一步处理。
现在我的问题是,我不知道如何抓取流。好的openCV 2.1提供了一些方法(cvCapturefromCam),但无论我给他什么参数,它总是从笔记本电脑的网络摄像头获取流,而不是从火线。我听说我需要在DirectShow API(使用Windows SDK)中切换主凸轮。但我实际上不知道如何做到。
那么任何建议如何做呢?

I'm trying to stream a video from a camera ( Sony HVR-Z1E ) over FireWire to my Computer. The incoming pictures/stream shall be processed further by some functions which expect the CVMat format ( from openCV ). Well my problem is now that I have no idea how to grab the stream. Okay openCV 2.1 offers me some methods ( cvCapturefromCam ) , but no matter which parameter I give him, it always gets the stream from the webcam of the laptop and not from the firewire. I heard I need to switch the primary cam in the DirectShow API ( with the Windows SDK ). But I actually don't know how to do that either. So any suggestions how to do this?

推荐答案

查看我的相关答案在这里。 OpenCV无法从本机捕获Firewire摄像机的视频。您需要使用CMU1394驱动程序或Sony驱动程序(如果有SDK可用)捕获来自该摄像机的视频,然后将其传递给OpenCV。

See my related answer here. OpenCV cannot capture video from Firewire cameras natively. You will either need to use the CMU1394 driver, or the Sony driver (if an SDK is available for it) to capture video from that camera, and then pass it to OpenCV.

这篇关于从火线获取视频流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆