Hi, im doing some DVD rips of The Simpsons with meGUI and AVIsynth.
Like most cartoons, its animated in 24p then telecined to 60i for editing. Then there are credits and overlays and disolves all done in 60i meaning that a simple IVTC discards a fair bit of temporal information.
Ive been using this script here which gives me the picture I want and eliminates any combing and artifacts but what i'm looking for is a script that will detelecine the regular 2:3 film content and bob deinterlace anything thats left interlaced into full 60p frames as a vfr mkv. Is this doable?
+ Reply to Thread
Results 1 to 11 of 11
-
-
Dup.
There's also DeDup and Dupped.
Basically, tfm with a double rate deinterlacer fed into clip2 followed by dup is pretty much what you want.Last edited by ndjamena; 8th Jan 2017 at 07:18.
-
Oh, you want double TFM...
Um
Code:a = QTGMC Interleave(TFM(field=GetParity ? 1 : 0, clip2=a.selecteven), TFM(field=GetParity ? 0 : 1, clip2=a.selectodd)) DeDup
http://avisynth.nl/index.php/External_filters#Duplicate_Frame_DetectorsLast edited by ndjamena; 8th Jan 2017 at 09:07.
-
Would it be better for a script to detect which bits have a propper 2:3 pull down and which don't and isolate them.
-
As far as I'm aware there's no filter that actually does that.
What would you want it to do exactly? How would it be any different to what's up there?
You could try scene detection to work on the videos scene by scene but I'm not sure if that's what you're asking. -
Apparently you need to remove blends.
Since you're going to 60fps srestore should work.
Otherwise you'll have to rewrite that script to let the FieldMatch function output 60fps.
Personally, since you're using it with TFM I'd add SourceMatch and Lossless to QTGMC... but... you know, to each their own. -
And apparently it's just DeDup that makes vfr files... sorry it's been a while.
-
I don't know of a way to output combinations of 23.976 and 59.940. Maybe someone else knows if there's a clever way to get TIVTC to do it. Combinations of 23.976 and 29.970 can be done though, and it'd probably be all you need. From what I can see the script you linked to decimates the 29.970 de-interlaced sections as it would the "film" sections, which isn't ideal.
To use TIVTC in VFR mode with MeGUI, create a script similar to the one below. You just need to keep organised and name the metrics and timecodes files correctly for each script when doing multiple encodes.
TFM(Output="D:\TFM Episode 1.txt").TDecimate(Mode=4, Hybrid=2, Output="D:\TDecimate Episode 1.txt")
Load it into MeGUI's video section and click "Queue analysis pass". Normally TFM().TDecimate() would be the first thing added to a script, so the analysis script doesn't need to contain any other filtering. Without additional filtering to slow it down, the analysis is fairly fast.
Create a second script for the same video similar to this:
TFM(Input="D:\TFM Episode 1.txt").TDecimate(Mode=5, Hybrid=2, Input="D:\TDecimate Episode 1.txt", TFMIn="D:\TFM Episode 1.txt", mkvOut="D:\Timecodes Episode 1.txt")
Open MeGUI's x264 encoder configuration and add the following to the custom command line section. That'll get x264 to encode in VFR mode. The timecodes file doesn't have to exist when you add it to the encoder configuration. It's created as soon as MeGUI runs the script, but you do need to remember to change the name of the timecodes file in the encoder configuration for each new encode you add to the queue.
--tcfile-in "D:\Timecodes Episode 1.txt"
While you're in the encoder configuration, switch to the Frame Type tab and change the gop calculation setting to "fixed". The reason for that, is Avisynth can only output a constant frame rate, so the TIVTC plugin uses the average frame rate, and MeGUI will adjust the gop size according to the frame rate if it's set to "FPS Based". It's no big deal, but if you want it the same gop size all the time, use "Fixed" instead, and set the maximum gop size to 300 (or whatever).
Add the second script to the queue as a normal encoding job.
With any luck the above will be fine, although you could probably still shoe-horn the same field matching function into the script if you wanted to. Does it actually do a better job than TFM on it's own?Last edited by hello_hello; 8th Jan 2017 at 16:09.
-
This seems to be close to what im after, the field matching script works really well at removing combing but watching it down in some segments there looks to be dropped frames. ive no idea how to change it, would be great to create a VFR file from it.
Similar Threads
-
VFR to CFR
By SameSelf in forum Video ConversionReplies: 6Last Post: 7th Jun 2016, 19:46 -
VFR question
By El Mariachi in forum Blu-ray RippingReplies: 6Last Post: 21st Jun 2014, 10:12 -
Editing a VFR video
By Mephesto in forum EditingReplies: 2Last Post: 19th Mar 2014, 06:43 -
Looking for workflow advice for creating animation from stills
By atesta in forum Newbie / General discussionsReplies: 17Last Post: 17th Feb 2014, 12:08 -
VFR - Video Length Issue
By olcifaraga in forum EditingReplies: 0Last Post: 26th Apr 2012, 02:01