PDA

View Full Version : 1080i NTSC 29.970 to PAL 25FPS


oddball
29th December 2006, 23:10
Can someone walk me through the Avisynth scripting to do this on a 1080i MPEG2 movie?

Thanks.

neuron2
29th December 2006, 23:31
Why have you put this in the AVC forum? Would you like it moved to Avisynth Usage?

oddball
29th December 2006, 23:37
Because I want to encode to x264 in MeGUI. Yes probably should be in other forum now you mention it. But I was concerned there might be some issues with x264 I might not know about so put it here instead.

Boulder
30th December 2006, 15:52
MPEG2Source(...)
SelectEven()
TDecimate() # or Decimate()
AssumeFPS(25)

actionman133
1st January 2007, 04:28
Wouldn't it be...

MPEG2Source ()
Bob () # use a better bobber... MVBob () etc

# Use only one of the below options...
#option 1 - frame dropping
ChangeFPS (25)

#option 2 - frame blending
ConvertToYUY2 ().ConvertFPS (50).SelectEven ()

#option 3 - motion estimation
MVConv (25, 1)

oddball
2nd January 2007, 17:55
Can't get either of those to work.

First suggestion made the movie over 1 hour shorter according to MEGUI bitrate calculator. Second suggested avs script I could not get to work even after I loaded mvtools.dll. It says MVBob or MVConv don't exist. How do I get those to work?

actionman133
2nd January 2007, 17:58
You'll need scharfis' MVBob () filter script, as it contains the MVConv () function.

http://home.arcor.de/scharfis_brain/mvbob/mvbob.rar

Didée
2nd January 2007, 18:11
The question is too unclear to be answered: you said nothing about the nature of your source. Known to us is "1080i NTSC 29.97" and "Mpeg2 movie". Based on that info, it could be just anything - telecined film, true interlaced video or 30p, fieldblended normconversion, ... whatever.

Providing a solution is difficult when the problem is unknown. :)

oddball
2nd January 2007, 19:23
Most NTSC HDTV movies (When not video) are broadcast either 1080P 23.976FPS or 1080i 29.97FPS. Well I think that is how it is. It's film so should be no interlacing to worry about (Hopefully). It should just be a straight IVTC I think. Anyhow I am trying

tfm().tdecimate()
Assumefps(25)

And it seems to be working.

G_M_C
2nd January 2007, 19:36
I'm doing allmost the exact same thing atm, deinterlacing and "de-dupe'ing" a 1080i Mpeg2 source. The script I use for it is actually very "standard", taken from a readme.txt ... but it works perfectly :)


LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
mpeg2source("Input.d2v",idct=5,iPP=true,info=3)
ColorMatrix(hints=true, interlaced=true)
interp = separatefields().selecteven().eedi2()
deint = tdeint(edeint=interp)
tfm(d2v="input.d2v",clip2=deint)
tDecimate()
fft3dgpu(sigma=1,plane=4,precision=2,bw=32,bh=32,ow=16,oh=16)


This converts the 29.97 into 23.976 without dupes in my case.

When you end this script with a AssumeFPS to speed it up to 25 fps, i think you're set ?

(maybe you can dub the audio in the script to try to keep everything in sync too)