Unregistered
January 20, 2003, 16:52:05
Hi,
I am trying to display two video feeds simultaneously using a capture card. When I run the program, I am able to show only either of the video feed and not both at the same time. I click the start button for one video, it displays and now when i click the other start button to diplay the other video too, it changes the previous video to the current video and gives gives a run time error saying
Run-time error - '2':
An Unexpected DShowLibException occured:
CFilterGraph::connect(CPin& src, CPin& dest, CVideoFormat&): no intervening filter found
In file FilterGraph.cpp at line: 229
I am sending the code I wrote in Visual Basic using the ImagingControl ActiveX control. I am using two imagingcontrols and one start button for each control.
Private Sub Command1_Click()
ic1.Device = "ATI Rage Theater Video Capture"
ic1.InputChannel = "02 Video: SVideo"
ic1.VideoFormat = "YUY2 (80x60)"
ic1.VideoNorm = "NTSC_M"
ic1.LiveStart
End Sub
Private Sub Command2_Click()
ic2.Device = "ATI Rage Theater Video Capture"
ic2.InputChannel = "01 Video: Tuner"
ic2.VideoFormat = "YUY2 (80x60)"
ic2.VideoNorm = "NTSC_M"
ic2.LiveStart
End Sub
I would greatly appreciate if someone can tell me what I am missing.
Thanks
Sathish
I am trying to display two video feeds simultaneously using a capture card. When I run the program, I am able to show only either of the video feed and not both at the same time. I click the start button for one video, it displays and now when i click the other start button to diplay the other video too, it changes the previous video to the current video and gives gives a run time error saying
Run-time error - '2':
An Unexpected DShowLibException occured:
CFilterGraph::connect(CPin& src, CPin& dest, CVideoFormat&): no intervening filter found
In file FilterGraph.cpp at line: 229
I am sending the code I wrote in Visual Basic using the ImagingControl ActiveX control. I am using two imagingcontrols and one start button for each control.
Private Sub Command1_Click()
ic1.Device = "ATI Rage Theater Video Capture"
ic1.InputChannel = "02 Video: SVideo"
ic1.VideoFormat = "YUY2 (80x60)"
ic1.VideoNorm = "NTSC_M"
ic1.LiveStart
End Sub
Private Sub Command2_Click()
ic2.Device = "ATI Rage Theater Video Capture"
ic2.InputChannel = "01 Video: Tuner"
ic2.VideoFormat = "YUY2 (80x60)"
ic2.VideoNorm = "NTSC_M"
ic2.LiveStart
End Sub
I would greatly appreciate if someone can tell me what I am missing.
Thanks
Sathish