Log in

View Full Version : How to load videofiles through avs-Scripts in windows


cipoint
12th August 2015, 08:34
I have an avs-Script for frame interpolation which runs in realtime. How can I use the script without manually changing the path to the source file for each video? I want to doubleclick on a video file so that MPCHC will open the avs script and load the doubleclicked file into it. Is that possible?

Mounir
12th August 2015, 08:40
you have to associate .avs extension with mpchc. Right click on the file> choose default program>mpchc

Groucho2004
12th August 2015, 08:55
ffdshow can do that. It has an "Avisynth" filter that you can use to apply a script for each video.

vivan
12th August 2015, 10:03
Yeah, you'll need ffdshow... Unfortunately there's nothing better even though it was abandoned long time ago.
Btw, that's exactly what SVP does. Using it might be a better idea, instead of manually messing with Interframe (which is actually based on SVP).

creaothceann
13th August 2015, 00:35
I have an avs-Script for frame interpolation which runs in realtime. How can I use the script without manually changing the path to the source file for each video? I want to doubleclick on a video file so that MPCHC will open the avs script and load the doubleclicked file into it. Is that possible?

I'd associate the video file extension with a batch script that does this:

@echo off
set T=%TEMP%\tempfile.avs
echo f = "%~1">%T%
type c:\processing_script.avs>>%T%
start %T%

("c:\processing_script.avs" is the Avisynth interpolation script (replace the path with yours). It must use the variable "f" as the input file name.)

Music Fan
19th August 2015, 09:46
Good idea, but what is the path of input video in the processing_script.avs file ?