Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 18th September 2014, 17:42   #1  |  Link
Formerly davidh*****
wonkey_monkey's Avatar
Join Date: Jan 2004
Posts: 2,125
How to write a filter which creates a clip from nothing?


I'd like to write a plugin which doesn't take a video clip as input, but does create one and return it as output.

Is there a "right" way to do this? How should I declare the constructor, which normally looks something like this:

example::example(PClip _child,  IScriptEnvironment* env) :
	GenericVideoFilter(_child) {
, since there is no PClip _child?

Do I create my own VideoInfo structure to create the output clip?

Does anyone have an example of some code for a filter which does this?


My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 01:22.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.