Log in

View Full Version : Weird blending on FOX HD


sardonis
17th January 2014, 20:15
Hello,

I recorded a show from Fox (720p @ 59,940fps) this week and I'm trying to convert it to mp4 to watch it later on my Ipad.

Unfortunately I cannot seem to decimate/unblend it properly. I managed to narrow it down to make it look a bit better? Now every other frame is blended.

It looks like they simply bobbed a 29.97 3:2 pulldowned stream to 59.94 progressive, producing blended frames.


This is my script for now:

LoadPlugin("DGDecode.dll")
LoadPlugin("FDecimate.dll")
LoadPlugin("unblend.dll")
DGDecode_mpeg2source("C:\Record\TESTFILE\screwed.d2v")
unblend(threshold=1, dthresh=0.03, show=false)
ConvertToYV12()
FDecimate(threshold=5)
Spline36Resize(720,404) # Spline36 (Neutral)

This is a screenshot from avspmod after using the script above but it still looks horrible (but again way better than the original file...)


http://imgur.com/zYKNVj3.png

Here's a rough 1 minute sample. If someone knows how to convert it to 23.976fps. Please tell me how :)

http://www.sendspace.com/file/wvd611



Thanks!

Sharc
17th January 2014, 20:36
Your file looks butchered, probably from a former conversion. It has a lot of blended fields. I don't think there is much one can do about it.
Perhaps someone else chiming in .....

Guest
17th January 2014, 22:22
It's 3:2 pulldown just bobbed up naively to double rate progressive, so it has belended frames in a 3:2 pattern. Something like an SRestore deblending? Our deblending experts will weigh in on this, I'm sure.

sardonis
17th January 2014, 23:05
Well I don't really care about the resulting framerate. As long as it's constant, doesn't dupe frames and looks nice it's fine :)

Sharc
18th January 2014, 00:33
It's 3:2 pulldown just bobbed up naively to double rate progressive, so it has belended frames in a 3:2 pattern. Something like an SRestore deblending? Our deblending experts will weigh in on this, I'm sure.
Yes, up to frame 3230 the pattern looks regular.

assumeTFF()
srestore(frate=23.976)

gives clean unblended frames aa,bb,cc,dd .... up to 1292. From there onwards I am getting lot of blended frames again.

Edit:
This seems to do the trick:

assumeTFF()
srestore(frate=23.976)
selecteven()

No duplicates, no blends. But one ends up with a framerate of 11.988 fps.

sardonis
18th January 2014, 01:02
Well if you add this:

unblend(threshold=2, dthresh=0.03, show=true)


It gives a clean video but every other frame still seems a dupe frame, except for the FOX logo overlay appearing at 12s in the sample...

sardonis
19th January 2014, 11:52
No other deblending experts around? :(

Sharc
19th January 2014, 12:47
Did you try

SRestore(frate=23.970)
selecteven()

gives a bled-free progressive / no duplicates 11.985fps playback

or:

SRestore(frate=23.970,omode=5)
selecteven()

gives a blend-free progressive 3:2 @29.97 pattern


or:

SRestore(frate=23.970,omode=5)
tdecimate()
selecteven()

gives a blend-free progressive and almost regular aa,bb,cc,dd, .... sequence @23.976 fps

or finally:

SRestore(frate=23.970)
selecteven()
changefps(23.976)

also gives a blend-free almost perfect progressive aa,bb,cc,dd ..... sequence @23.976fps


SRestore options see here (http://avisynth.nl/index.php/Srestore).

Next challenge could be to keep the audio in sync.

Stereodude
19th January 2014, 18:29
Sharc knows his stuff! :cool: