Video unable to play or map to buffers
-
Hi,
I am trying to stream video through my QML application. I get the video through the c200 Hauppage usb capture device which uses the USBVision driver (http://linuxtv.org/wiki/index.php/USBVision_devices ). I can see the video display in VLC where I set it as the capture device /dev/video1. When it displays it says vl42:///dev/video1. When I try to display the video using these two locations (I'm not sure which I should use) I get the following errors:
@
Video {
id: camera
autoLoad: true
playing: true
source: "file://dev/video1"
onStarted: {
camera.play()
}
}
@
Results in:
@
GStreamer; Unable to pause - "file://dev/video1"
GStreamer; Unable to play - "file://dev/video1"
@
And...
@
Video {
id: camera
autoLoad: true
playing: true
source: "v4l2://///dev/video1"
onStarted: {
camera.play()
}
}
@
Results in:
@
GStreamer; Unable to pause - "v4l2://///dev/video1"
GStreamer; Unable to play - "v4l2://///dev/video1"
Error: "Could not map buffers from device '/dev/video1'"
@Does anyone have any idea how I can get this video to display?
-
When I use that source path, it says
@
Error: "Could not read from resource."
@
EDIT: The file://... now gives the error
@
Error: "Resource not found."
@
To clarify I am trying to stream NTSC video