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 Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 21st March 2021, 20:23   #1  |  Link
VideoOnTapes
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
}
I also try the following script :

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
}
and get the following error : "Script error : I don't know what 'clip' means".

Could you help me to solve this error?
VideoOnTapes is offline   Reply With Quote
Old 24th March 2021, 23:45   #2  |  Link
Stereodude
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)

### ###

""")
Stereodude is offline   Reply With Quote
Old 26th March 2021, 18:09   #3  |  Link
VideoOnTapes
Registered User
 
Join Date: Aug 2020
Location: France
Posts: 6
Thank you for your help. I can see more clearly now.
I think I should have read the documentation first.
VideoOnTapes is offline   Reply With Quote
Reply

Tags
mp_pipeline error

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:35.


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