Log in

View Full Version : Field Blended Source with Progressive Sections


sonic41592
22nd August 2020, 17:06
I have a DVD source that has a lot of field blending from a bad IVTC. It's 30 fps and follows the pattern 3 good frames and 2 blended frames. Normally I could use SRestore to fix it, but there are a lot of scenes throughout it that aren't field blended, but have a duplicated fifth frame instead of 3:2 pulldown. Sample (https://mega.nz/file/qBNHTSba#L-6qNgXSczkwDJxgFn9FFr1EaqZ_8QWIvlUAdRbra_Q)
In the sample, the first half has two blended frames out of 5, but around halfway through (after a scene change) it switches to no blending and a duplicate every 5 frames. If I use SRestore on the entire DVD, there are a lot of artifacts on the non blended scenes. Is there any way to detect which scenes have field blending and use SRestore on only them? Or would I need to manually set the filters for each scene?
I've been using the double blend removal code from SRestore:
ffmpegsource2("VTS_02_1.vob",rffmode=1)
srestore(mode=-1,omode="pp3")
tdecimate(mode=1)

manono
22nd August 2020, 20:43
Is there no way to download the sample without having to create an account? I click on the download button and get taken to a page to sign up. If not, I'm not interested. Maybe try Sendspace.

There's something wrong with your description of the problem You seem to be describing frame blending and not field blending.

ChaosKing
22nd August 2020, 21:02
Download works without an acc for me. A transfer / progress bar should appear at the top.

manono
22nd August 2020, 21:21
Thank you, ChaosKing. I went to look in my download folder and found 2 copies of it. ExBlend (http://avisynth.nl/index.php/ExBlend) seems to work okay on it:

ExBlend(Show=0)
TDecimate(Mode=1)

sonic41592
23rd August 2020, 05:29
My mistake manono, it is frame blending, I was confused on the terminology. ExBlend seems to work well. It misses a few blends every here and there and leaves some artifacts, but they can be cut down a great deal with other filters. Thanks for the suggestion!