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 7th November 2013, 07:16   #1  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
strange pattern to ivtc

At points in this 30fps clip there's a strange pattern after tfm/telecide, between frames 120-138 there's this:
D------D-D-D------D

D is dupe, - should be kept. The majority of it is a good 1 dupe in 5 frames. Is there anything that can remove these frames in a strange pattern while keeping the rest intact?
__________________
PC: FX-8320 GTS250 HTPC: G1610 GTX650
PotPlayer/MPC-BE LAVFilters MadVR-Bicubic75AR/Lanczos4AR/Lanczos4AR LumaSharpen -Strength0.9-Pattern3-Clamp0.1-OffsetBias2.0
turbojet is offline   Reply With Quote
Old 12th November 2013, 00:22   #2  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,496
Note to downloaders: sendspace apparently hopes you'll download their "accelerator," a .exe that does who-knows-what (servers adverts by the sound of things).

Untick the box before downloading!

(this direct link may work: http://fs03n2.sendspace.com/dl/ad21e...e8/pattern.mpg)
wonkey_monkey is offline   Reply With Quote
Old 12th November 2013, 08:33   #3  |  Link
manono
Moderator
 
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
Part of the problem is that there are a few blended fields during the part you're having a problem with. Another is that there are missing fields. Maybe some were removed to make it play faster to keep it within the time allotted or to allow more time for more ads. I don't know. But the effective framerate is greater than 23.976fps. Anyway, following this script (first used for something else by jagabo over at videohelp.com), all your dupe frames are gone, but there are three missing frames. Even your basic IVTC script, while it produced dupe frames, also removed a number of unique frames.

Interleave(TFM(field=1), TFM(field=0))
Srestore(Frate=23.976)
manono is offline   Reply With Quote
Old 13th November 2013, 00:19   #4  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
That's an interesting bobber which makes the missing frame less noticeable then tfm(mode=3).tdecimate(). Thanks, I'll keep it in mind if I run across the situation again.

For the whole encode I did a week ago I ended up using tfm(mode=3).tdecimate(hybrid=1) which made the missing frames less noticeable but added blended frames. In retrospect it was probably a bad thing to do.
__________________
PC: FX-8320 GTS250 HTPC: G1610 GTX650
PotPlayer/MPC-BE LAVFilters MadVR-Bicubic75AR/Lanczos4AR/Lanczos4AR LumaSharpen -Strength0.9-Pattern3-Clamp0.1-OffsetBias2.0
turbojet is offline   Reply With Quote
Old 16th November 2013, 23:34   #5  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
Any ideas how to ivtc this 60p clip?
__________________
PC: FX-8320 GTS250 HTPC: G1610 GTX650
PotPlayer/MPC-BE LAVFilters MadVR-Bicubic75AR/Lanczos4AR/Lanczos4AR LumaSharpen -Strength0.9-Pattern3-Clamp0.1-OffsetBias2.0
turbojet is offline   Reply With Quote
Old 17th November 2013, 04:00   #6  |  Link
ChiDragon
Registered User
 
ChiDragon's Avatar
 
Join Date: Sep 2005
Location: Vancouver
Posts: 600
Certainly can't be completely restored. The sample contains blended frames where the pattern breaks, ex: 152-174. The blended frames are also green-tinted (lacking red). Some frames appear to be missing (there is a jump between 550 and 551 for example).
ChiDragon is offline   Reply With Quote
Old 17th November 2013, 06:16   #7  |  Link
manono
Moderator
 
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
I agree. It's another case where frames have been removed and others blended, perhaps to have it play faster/shorter. This works reasonably well:

SRestore(Frate=24.3)

If you really wanted to take the time you could interpolate the missing frames before decimation.
manono is offline   Reply With Quote
Old 20th November 2013, 08:29   #8  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
Thanks that is a slight improvement over tdecimate(). I also tried 2 pass vfr with tdecimate, results weren't much better.
__________________
PC: FX-8320 GTS250 HTPC: G1610 GTX650
PotPlayer/MPC-BE LAVFilters MadVR-Bicubic75AR/Lanczos4AR/Lanczos4AR LumaSharpen -Strength0.9-Pattern3-Clamp0.1-OffsetBias2.0
turbojet is offline   Reply With Quote
Reply

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 03:43.


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