Is there such a thing as a filter for Avisynth (or Virtual Dub) which would reverse the effects of "credit squeezing" at the end of TV programmes?
I would imagine it would work something like this: Specify the coordinates of the four corners of the credits at their maximum size, and their minimum size, then specify the last frame at which they were maximum size, the first and last frame at which they were minimum size, and the first frame in which they are back to maximum size. The filter could then work out for any frame what size the credits have been shrunk to, and expand them out to fill the maximum size.
I don't know how good the results would look, but it seems eminently possible to me, if only I had the knowledge to write it myself.
+ Reply to Thread
Results 1 to 4 of 4
-
-
Good luck. Even if you find a way to do it, the results probably won't meet your expectations.
-
Originally Posted by AlanL
It's bit blurry, still an improvement on the promos running in-screen.
Here's an example of one where the original credits were compressed into the bottom half of the screen while a promo ran in the top half:
Code:AVISource("01_TBP.avi") EnsureVBRMP3sync() #ShowFrameNumber(x=100,y=100) trim(0,122882)++\ trim(124266,124990).Crop(0,244,0,0).LanczosResize(640,368).Amplify(0.0) ++\ trim(125001,0) LanczosResize(688,576,0,0,640,368) AddBorders(16,0,16,0)
ShowFrameNumber -- Used while writing the script. Commented out at the end.
trim(0,122882) and trim(125001,0) -- The normal parts of the video
trim(124266,124990) --The segment with squeezed credits.
Crop(0,244,0,0) -- Crop down to the miniature credits
LanczosResize(640,368) -- Resize to the full frame
Amplify(0.0) -- Kill the audio for this (optional)
You can use the crop editor in AvsP or VDub to get the exact crop.
Note that I just omitted transition frames.
It would get messy if you wanted to restore every single frame of those while it was zooming in or out.
That usually takes less than a second, and I didn't lose any names from the credits by skipping that.
Similar Threads
-
VirtualDub: "AVI Import Filter error: (Unknown) 80040154"
By Xavier in forum Newbie / General discussionsReplies: 11Last Post: 15th Dec 2021, 17:49 -
XMedia Recode Crashes when going to "Filter/Preview" tab
By BoxesofBags in forum Newbie / General discussionsReplies: 3Last Post: 19th Feb 2012, 12:46 -
VirtualDub Filter for problem with "Horizontal Sync Issues"?
By lonerzzz in forum RestorationReplies: 6Last Post: 6th Apr 2009, 17:29 -
Vdubmod "Source image format incorrect" when cropping with filter
By Gruelius in forum Newbie / General discussionsReplies: 4Last Post: 22nd Dec 2008, 19:37 -
NAME="mplayerc.exe" FILTER="GRABMI_FILTER_PRIVACY"
By tigerb in forum Newbie / General discussionsReplies: 0Last Post: 7th Aug 2008, 15:40