Mystery Keeper
29th March 2008, 16:55
I wrote a simple, but very powerful plugin that applies any custom filter to exact frame ranges leaving "healthy" frames untouched. I mainly use it for accurate deinterlacing in DVD with different filters for different ranges. The effect is awesome! But it's applications are not limited to deinterlacing.
Get it here (http://www.mediafire.com/?ebnyjdvnogs).
Readme file:
Lom v1.01 for AviSynth 2.5
by Aleksey [Mystery Keeper] Lyashin Jr.
mail, Jabber: mystkeeper@gmail.com
ICQ: 73041684
MSN: mysteryk@pisem.net
AIM: beyondkawaii
Pluging is intended for accurate filtering of heterogeneous video source. It takes in two clips and a range or list file of frames. When frame is requested it checks if it's in the list. If it's not, it returns the frame from the first clip, if it is - from the second.
Possible application:
-Accurate deinterlacing in DVD
-Deblocking of high motion scenes
-Logotype removing
-Mosaicing
-Anything that comes in mind
Syntax:
Lom(clip, clip2, int firstf, int lastf)
Lomf(clip, clip2, string hintfile)
Hint file syntax:
frame1[-frame2[(4)]], frame1[-frame2[(4)]], ... ,frame1[-frame2[(4)]]
example: 20-35,38,40-52(4)
frame2 must be equal or greater than frame1. Each next range must contain greater frames than previous. Expression "frame1-frame2(4)" is used to filter every 4th frame starting with frame1 and is validated by expression "(frame2-frame1) mod 4=0".
Questions and answers:
Q: What is "Lom"?
A: "Lom" is Russian for "crowbar" and is taken from the proverb "There's no trick against a crowbar."
Q: Can instanses of Lom stack and overlap?
A: Yes, they can.
Q: Why would I need to filter every 4th frame?
A: Frame sequences with interlaced every 4th frame seem to be an often case in Japanese DVD.
Q: What extension does hint file use?
A: Any of your liking. Plugin doesn't care. But it must be a text in ANSI encoding.
Q: Can I break lines in the hint file?
A: Yes, you can. Line breaks, spaces and tabs are ignored. Any other symbol apart from "," and "-" will cause an error.
Get it here (http://www.mediafire.com/?ebnyjdvnogs).
Readme file:
Lom v1.01 for AviSynth 2.5
by Aleksey [Mystery Keeper] Lyashin Jr.
mail, Jabber: mystkeeper@gmail.com
ICQ: 73041684
MSN: mysteryk@pisem.net
AIM: beyondkawaii
Pluging is intended for accurate filtering of heterogeneous video source. It takes in two clips and a range or list file of frames. When frame is requested it checks if it's in the list. If it's not, it returns the frame from the first clip, if it is - from the second.
Possible application:
-Accurate deinterlacing in DVD
-Deblocking of high motion scenes
-Logotype removing
-Mosaicing
-Anything that comes in mind
Syntax:
Lom(clip, clip2, int firstf, int lastf)
Lomf(clip, clip2, string hintfile)
Hint file syntax:
frame1[-frame2[(4)]], frame1[-frame2[(4)]], ... ,frame1[-frame2[(4)]]
example: 20-35,38,40-52(4)
frame2 must be equal or greater than frame1. Each next range must contain greater frames than previous. Expression "frame1-frame2(4)" is used to filter every 4th frame starting with frame1 and is validated by expression "(frame2-frame1) mod 4=0".
Questions and answers:
Q: What is "Lom"?
A: "Lom" is Russian for "crowbar" and is taken from the proverb "There's no trick against a crowbar."
Q: Can instanses of Lom stack and overlap?
A: Yes, they can.
Q: Why would I need to filter every 4th frame?
A: Frame sequences with interlaced every 4th frame seem to be an often case in Japanese DVD.
Q: What extension does hint file use?
A: Any of your liking. Plugin doesn't care. But it must be a text in ANSI encoding.
Q: Can I break lines in the hint file?
A: Yes, you can. Line breaks, spaces and tabs are ignored. Any other symbol apart from "," and "-" will cause an error.