Log in

View Full Version : DirectShowSource


Kaiousama
27th August 2005, 12:20
I'm looking for directshowsource filter source code, unfortunately i wasn't able to find it in the SF cvs, where can i download it from ? is this filter included in some other source file?

Thanks.

ARDA
27th August 2005, 12:34
http://cvs.sourceforge.net/viewcvs.py/avisynth2/avisynth/src/plugins/DirectShowSource/

Kaiousama
27th August 2005, 12:42
thank you very much ^_^

IanB
25th September 2005, 09:10
Please let me know if you spot any bugs or ill considered code. DirectShow, like most M$ COM related API's has extreme amounts of fine print.

IanB

stevenxu
28th September 2005, 04:48
Why make a new render filter in DirectshowSource to recieve A/V samples? Is there any benifit compare with SampleGrabber filter?

IanB
30th September 2005, 15:22
@stevenxu,

I am not sure what you are asking??? DSS builds a graph with the class GetSample implementing a renderer. Thus when "playing" the graph the video frames end up inside Avisynth buffers instead of on the screen or out the speakers.

The SampleGrabber filter snaffles copies of frames and also passes them through the graph to the final renderer, so I guess you could use this approach if you wanted to display the video while siphoning the frames, but why would Avisynth want to do this.

IanB

stevenxu
9th October 2005, 03:54
Yes, SampleGrabber need a renderer fillter follow it. Since we don't need a real renderer filter, we can put a Null Renderer at that position. It would be much more simple and neat using SampleGrabber than implementing a new renderer filter.

IanB
9th October 2005, 07:07
If you want to code it up feel free.