Log in

View Full Version : Partially blended telecine - use srestore all the way?


me7
13th September 2017, 21:41
I have a telecined source (film to NTSC) that is partially blended. Srestore followed by tdecimate does a good job fixing the blended parts, but what about the plain telecined parts?
How can I combine it with tfm to handle the full clip properly?

johnmeyer
13th September 2017, 23:40
I don't think anyone can give you an answer unless you post a short sample.

manono
14th September 2017, 09:38
If you don't mind going through and finding all the places where it's blended:

TFM.TDecimate
A=QTGMC.Srestore
ReplaceFramesSimple(Last,A,Mappings="[1000 2000] [10000 11000] [15000 16000]")###the frame ranges needing replacing

Srestore followed by tdecimate does a good job fixing the blended parts
Surely you don't mean that? If you do then, yes, please post an untouched sample.

ReplaceFramesSimple is included in RemapFrames (http://www.avisynth.nl/users/stickboy/).

hello_hello
14th September 2017, 19:58
Surely you don't mean that? If you do then, yes, please post an untouched sample.

That sounds like SRestore's double-blend-removal mode, for fixing telecined sources that were blend de-interlaced instead of IVTC'd.
It doesn't automatically decimate.

manono
14th September 2017, 20:18
Yes, perhaps you're right. I hadn't thought of that. The sample will tell the tale.

me7
14th September 2017, 21:06
Here they are:

This is a blended part: https://www.mediafire.com/file/0t0slxacojd0c57/blended.mkv
I get good but imperfect results with this script LWLibavVideoSource("blended.mkv").srestore(frate=23.976, omode="pp3", speed=-25).tdecimate(mode=1)


This is a plain interlaced part: https://www.mediafire.com/file/nu6hfcu9o95m1v9/interlaced.mkv
I get perfect results with this script
LWLibavVideoSource("interlaced.mkv").tfm(order=1).tdecimate()

manono
15th September 2017, 00:41
Your blended.mkv is interlaced so you don't want to use omode which is for something else entirely. In addition, setting a framerate when using omode does nothing - the framerate doesn't change. It's kind of messed up, I agree, but my script earlier might provide a good place to start, but with a slight modification:

TFM.TDecimate
A=QTGMC.Srestore(Frate=23.976)
ReplaceFramesSimple(Last,A,Mappings="[1000 2000] [10000 11000] [15000 16000]")###the frame ranges needing replacing

me7
15th September 2017, 17:02
Thanks, I'll give it a try.

me7
17th September 2017, 20:00
Bobbing + Srestore doesn't eliminate the blending entirely. Am I right to assume that this Bluray is impossible to fix completely?

manono
17th September 2017, 20:35
It can't be entirely fixed as there are just too many blends. I'm pretty sure those blends are intentional and are a by-product of the dissolve effects created in that and (perhaps) other sections.

If they are intentional, you might just as well continue with the TFM/TDecimate you used on the rest of it as unblending doesn't improve it a whole lot.