PDA

View Full Version : Restoring PAL to 23.976FPS


bokonon
30th May 2008, 01:49
I'm trying to encode a PAL DVD which was badly transferred from NTSC and therfore is field blended in order to play at 25FPS

To do this i have discovered the MRestore plugin (thanks bishop, who first mentioned it to me when i was doing Casshern) and this is my script:

import("C:\Program Files\AviSynth 2.5\plugins\Mrestore.avs")
DGDecode_mpeg2source("D:\[[ Encoding ]]\03 - Clean\1.d2v",info=3)
ColorMatrix()

#Restore to 23.976FPS
tdeint(mode=1)
Mrestore(mthresh=0.5,dclip=last.crop(16,16,-14,-12))

Crop(6, 70, -12, -74)

How would you test to see if MRestore has definitely done its job properly? I have uploaded a sample to rapidshare of a quick test encode with this avs script.

http://rapidshare.com/files/118695088/1000framesmrestoreattempt.mkv

It looks like there are still some field blended frames:
http://img49.imageshack.us/img49/1128/629ej5.th.png (http://img49.imageshack.us/my.php?image=629ej5.png) http://img49.imageshack.us/img49/3158/630blendln8.th.png (http://img49.imageshack.us/my.php?image=630blendln8.png) http://img77.imageshack.us/img77/6408/631ng2.th.png (http://img77.imageshack.us/my.php?image=631ng2.png)
http://img124.imageshack.us/img124/5194/632blendpw0.th.png (http://img124.imageshack.us/my.php?image=632blendpw0.png) http://img98.imageshack.us/img98/8351/633fk1.th.png (http://img98.imageshack.us/my.php?image=633fk1.png)

Here's a sample of the source which contains the following files:

D:\[[ Encoding ]]\03 - Clean\CLEAN SOURCE SAMPLE.demuxed.m2v
D:\[[ Encoding ]]\03 - Clean\CLEAN SOURCE SAMPLE T01 2_0ch 224Kbps DELAY -128ms.ac3
D:\[[ Encoding ]]\03 - Clean\CLEAN SOURCE SAMPLE.d2v

http://www.mediafire.com/?3gdgbxwvfjc

What do u think?

MOmonster
30th May 2008, 07:41
I canīt test this now, but two things:
Why do you use an older version of mrestore? The last uploaded one should work better than the previous versions. Also you could do the cropping before mrestore. In your small script there is no reason to set the cropping after mrestore.

bokonon
30th May 2008, 12:07
thanks for your quick reply MOmonster!

I could only find one link that works in this thread http://forum.doom9.org/showthread.php?t=103940 so this is the version of mrestore i have:

http://forum.doom9.org/attachment.php?attachmentid=7132&d=1177514017

jeffy
31st May 2008, 08:48
Check the first post here:
http://forum.doom9.org/showthread.php?t=95924