Log in

View Full Version : How to escape strings in Avisynth? (ApplyInterlacedFilter + Deen)


Selur
30th April 2013, 14:20
I wanted to use 'ApplyInterlacedFilter' (http://avisynth.org/mediawiki/ApplyInterlacedFilter) in combination with Deen("a2d",7,14,20), the problem is that neither:

ApplyInterlacedFilter("Deen("a2d",7,14,20)")
nor
ApplyInterlacedFilter("Deen(\"a2d\",7,14,20)")

-> is there a way to escape strings in Avisynth which would allow to use ApplyInterlacedFilter and Deen?

Cu Selur

Groucho2004
30th April 2013, 14:39
I wanted to use 'ApplyInterlacedFilter' (http://avisynth.org/mediawiki/ApplyInterlacedFilter) in combination with Deen("a2d",7,14,20), the problem is that neither:

ApplyInterlacedFilter("Deen("a2d",7,14,20)")
nor
ApplyInterlacedFilter("Deen(\"a2d\",7,14,20)")

-> is there a way to escape strings in Avisynth which would allow to use ApplyInterlacedFilter and Deen?

Cu Selur
Three quotes, Python-style.
Also here (http://avisynth.org/mediawiki/Script_variables).

Selur
30th April 2013, 14:43
Nice! Thanks!
ApplyInterlacedFilter("""Deen("a2d",7,14,20)""")
works like intended :)