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. |
|
|
Thread Tools | Search this Thread | Display Modes |
21st March 2021, 20:23 | #1 | Link |
Registered User
Join Date: Aug 2020
Location: France
Posts: 6
|
Help with MP_Pipeline : error "Invalid arguments to function ..."
Hi,
I would like to use 32 bit and 64 bit filters with MP_Pipeline in the following script, but I get a script error "Invalid arguments to function FixChromaBleeding". Code:
clip = FFmpegSource2("file.mp4", vtrack = -1, atrack = -1) clip = ConvertToYV12(clip, interlaced=true) clip = clip.QTGMC(FPSDivisor=2) clip = clip.callFixChromaBleeding() function callFixChromaBleeding(clip clip) { MP_Pipeline(""" ### platform: win32 Import("C:\Program Files (x86)\AviSynth+\plugins\FixChromaBleeding.avsi") FixChromaBleeding() ### ### """) return last } Code:
clip = callFixChromaBleeding(clip) function callFixChromaBleeding(clip clip) { MP_Pipeline(""" ### platform: win32 Import("C:\Program Files (x86)\AviSynth+\plugins\FixChromaBleeding.avsi") FixChromaBleeding(clip) ### ### """) return last } Could you help me to solve this error? |
24th March 2021, 23:45 | #2 | Link |
Registered User
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
|
I don't think it works like that. Try this:
Code:
MP_Pipeline(""" ### platform: win64 clip = FFmpegSource2("file.mp4", vtrack = -1, atrack = -1) clip = ConvertToYV12(clip, interlaced=true) clip.QTGMC(FPSDivisor=2) ### ### ### platform: win32 Import("C:\Program Files (x86)\AviSynth+\plugins\FixChromaBleeding.avsi") clip=last FixChromaBleeding(clip) ### ### """) |
Tags |
mp_pipeline error |
Thread Tools | Search this Thread |
Display Modes | |
|
|