Log in

View Full Version : Frame Rate problem !


xbox360
13th May 2008, 23:54
This is the script I am using :

LoadPlugin("c:\Program Files (x86)\AviSynth 2.5\plugins\DGDecode.dll")
LoadPlugin("c:\Program Files (x86)\AviSynth 2.5\plugins\mt_masktools.dll")
LoadPlugin("c:\Program Files (x86)\AviSynth 2.5\plugins\RemoveGrainSSE3.dll")
LoadPlugin("c:\Program Files (x86)\AviSynth 2.5\plugins\gradfun2db.dll")
LoadPlugin("c:\Program Files (x86)\AviSynth 2.5\plugins\mvtools.dll")
LoadPlugin("c:\Program Files (x86)\AviSynth 2.5\plugins\mt_masktools-26.dll")
LoadPlugin("c:\Program Files (x86)\AviSynth 2.5\plugins\nnedi.dll")
LoadPlugin("c:\Program Files (x86)\AviSynth 2.5\plugins\medianblur.dll")
Import("c:\Program Files (x86)\AviSynth 2.5\plugins\MCBob v0.3.avsi")
Import("c:\Program Files (x86)\AviSynth 2.5\plugins\ULevels.avsi")

MPEG2Source("D:\Encoding Stuff\mandrake.d2v")

MCBob()

Letterbox(14,14,0,0,0)

ULevels(preset="pc2tv")

After encode it says 25p, my source is 25i but it's playing like in slow-motion & is out of sync with the audio. The audio has no problems, the audio is 100% A OK.

Irakli
14th May 2008, 00:12
Try attaching AssumeFPS(50) to the end of your script (since MCBob doubles framerate IIRC). Hope that will help.

xbox360
14th May 2008, 00:48
But I need 25 fps, how do I get 25 fps ?

thetoof
14th May 2008, 00:52
A few options... 2 of them being selecteven() or do a hardcore framerate convertion with mvflowfps

But... this problem shouldn't occur with mcbob. Could you upload a 10 mb m2v to mediafire.com?

Didée
14th May 2008, 01:13
Of course MCBob will double the framerate. Any bobber will, that's what bobbing does per definition.

xbox360, what's you encoding application? My assumption is that you're using something that's intended for DVD creation, that therefore won't accept framerates >29.97, and thus silently treats the 50p input as 25p.

xbox360
14th May 2008, 01:24
also it takes like 2hours & 30 munites for 1pass, is it INSANE ?

my laptop is a core2duo 1.5ghz with 1gb ram, usualy it takes only 5munites.

thetoof
14th May 2008, 01:48
mcbob is intended for high quality deinterlacing... so yeah, it's slow. If it's an issue for you, try mvbob, yadif, tdeint or even a simple bob(), but it won't look as good as what mcbob can do.

xbox360
14th May 2008, 02:07
Here is a download link:

http://www.mediafire.com/?2lndbmzimej

please try & help me sync the audio & video in 25fps.

thetoof
14th May 2008, 02:34
Your source is not interlaced... it's heavily blended. I have no experience on how to solve this, so the only thing I can say is regarding audio.

If you don't change the length of your clip, the audio shouldn't be out of sync. Simply demux the wav track and add this to your script:

mpeg2source("VR_MOVIE.d2v")
# the filter you need to restore your blended source
audiodub(wavsource("VR_MOVIE Ta0 48K 16bit 2ch.wav"))

xbox360
14th May 2008, 09:40
How do I get this video script to sync with the 25fps audio, using the same source I posted earlier.

LoadPlugin("c:\Program Files (x86)\AviSynth 2.5\plugins\EEDI2.dll")
LoadPlugin("c:\Program Files (x86)\AviSynth 2.5\plugins\TIVTC.dll")
LoadPlugin("c:\Program Files (x86)\AviSynth 2.5\plugins\TDeint.dll")


mpeg2source("D:\Encoding Stuff\4 munites - madonna feat justin timberlake.d2v",cpu=4,iPP=true)
AssumeTFF()
Interp = SeparateFields().SelectEven().EEDI2(field=1)
Deinted=TDeint(order=1,field=1,edeint=Interp)
TFM(mode=6,order=1,PP=7,slow=2,mChroma=true,Clip2=Deinted)
TDecimate(mode=1)

Letterbox(14,14,0,0,0)

This script seems to have problems with x264.exe, I first thought it was AviSynth problem, please forgive me I am very sorry.

Didée
14th May 2008, 11:08
This one already was sufficiently covered:

Nothing can be done. It was blended and deinterlaced. The 2 fields of each frame are identical.

Which part of "nothing can be done" is so hard to understand?