Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Handling Multiple Sources
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
balic
Posted: Jun 8 2012, 09:33 PM


Newbie


Group: Members
Posts: 2
Member No.: 35004
Joined: 8-June 12



Hey,

I have VirtualDub 1.10.2 and PluginSDK 1.2.

I have to write new filter which will do some work with two input files and generate one output. My problem is how to open the second file? I get the error "Cannot start filters: an instance of filter MY_FILTER has too few inputs (expected 2, got 1)" ← how to open second file?

Thanks for help!
 
     Top
johnmeehan
Posted: Jun 8 2012, 11:14 PM


Member


Group: Members
Posts: 16
Member No.: 33594
Joined: 15-November 11



I have the same problem with other filters. Hopefully someone will be kind enough to help us out.
 
     Top
balic
Posted: Jun 9 2012, 12:25 PM


Newbie


Group: Members
Posts: 2
Member No.: 35004
Joined: 8-June 12



In filters list clik right mouse button on filter and there is "Add input", but it looks like there is no option to open two video files...
 
     Top
phaeron
Posted: Jun 9 2012, 09:05 PM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



Yes, currently you can only branch within the filter chain and not pull from multiple source files. When that is implemented, though, the filters shouldn't notice a difference.
 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
3 replies since Jun 8 2012, 09:33 PM Track this topic | Email this topic | Print this topic

<< Back to VirtualDub Filters and Filter Development