Log in

View Full Version : Direct Feeding to Avisynth - Part 2


aithai
26th October 2008, 04:45
May I be excused for asking another direct feeding to avisynth with using a script.

1. I want to feed Realmedia movie (*.rmvb) directly to Avisynth and play the movie in a video player. Normally, I would have to write a script with the following contents:
LoadPlugin("c:\0-7 Stunt Video to RM\DirectShowSource.dll")

DirectShowSource("C:\9-Video to Test\Rambo.rmvb", fps=25, convertfps=true)

Say I named the avs script as real.avs then get the video player to open the real.avs.

2. I got guidance from my earlier post that I can directly open the plugin and the video by the following codes:

var avsval : AVS_Value;


avs_invoke(env, 'loadplugin',
avs_new_value_string(PChar('directshowfilter')));


avsval:=avs_invoke(env,'Eval',
avs_new_value_string(PChar(
'real.rmvb')));



3. After these invoking, I am lost. How do I feed the AVS_Value to my video player instead of using a script? Can I do it?

4. Do I have directshow filter such as dspack or ffdshow as an interface?

Do please guide me on these puzzles.

I hope my question is clear enough to understand.

Thank you.

Guest
26th October 2008, 05:49
Where did you get Rambo.rmvb?

aithai
26th October 2008, 07:36
Using RealProducer and Rambo Part III from my VCD collections. That's where rambo.rmvb came from.