Log in

View Full Version : Invalid MPEG2 Framerate


onisama
2nd May 2016, 21:25
I'm getting an error in HCenc of "Invalid MPEG2 Framerate" resulting in the following status in DVDRBPro:
- Failed to create M2V: V010000_REDIST
- The encoder doesn't appear functional.
- Aborting...

It seems to be with the external deinterlacing I'm attempting. If I remove the deinterlace bits from my AVS script, the encode will complete successfully (even though the rebuild errs out).

Here is my AVS script:
#------------------
# AVS File Created by DVD Rebuilder
# VOBID:01, CELLID:01
#------------------
LoadPlugin("C:\Program Files (x86)\DVD-RB PRO\DGDecode.dll")
mpeg2source("C:\USERS\NIBAN\DESKTOP\NEW FOLDER\WORKING\D2VAVS\V01.D2V")
LoadPlugin("C:\Users\niban\Desktop\Video Utils\MeGUI_2624_x86\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(interlaced=true, threads=0)
LoadPlugin("C:\Users\niban\Desktop\Video Utils\MeGUI_2624_x86\tools\avisynth_plugin\TIVTC.dll")
tfm(order=1).tdecimate(hybrid=1)
LoadPlugin("C:\Users\niban\Desktop\Video Utils\MeGUI_2624_x86\tools\avisynth_plugin\nnedi2.dll")
LoadPlugin("C:\Users\niban\Desktop\Video Utils\MeGUI_2624_x86\tools\avisynth_plugin\masktools2-25.dll")
LoadPlugin("C:\Users\niban\Desktop\Video Utils\MeGUI_2624_x86\tools\avisynth_plugin\RemoveGrain.dll")
LoadPlugin("C:\Users\niban\Desktop\Video Utils\MeGUI_2624_x86\tools\avisynth_plugin\Repair.dll")
daa().daa()
function daa(clip c) {
nn = c.nnedi2(field=-2)
dbl = merge(selecteven(nn),selectodd(nn))
dblD = mt_makediff(c,dbl,U=3,V=3)
shrpD = mt_makediff(dbl,dbl.removegrain((width(c)>1100) ? 20 : 11),U=3,V=3)
DD = shrpD.repair(dblD,13)
return dbl.mt_adddiff(DD,U=3,V=3) }
LoadPlugin("C:\Users\niban\Desktop\Video Utils\MeGUI_2624_x86\tools\avisynth_plugin\FluxSmooth.dll")
FluxSmoothST(7,7) # Medium Noise
LoadPlugin("C:\Users\niban\Desktop\Video Utils\MeGUI_2624_x86\tools\avisynth_plugin\gradfun2db.dll")
LoadPlugin("C:\Users\niban\Desktop\Video Utils\MeGUI_2624_x86\tools\avisynth_plugin\AddGrainC.dll")
Import("C:\Users\niban\Desktop\Video Utils\MeGUI_2624_x86\tools\avisynth_plugin\GradFun2DBmod.v1.5.avsi")
GradFun2DBmod (thr=1, thrC=1, mode=3, str=0.8, strC=0.0, temp=50, adapt=64, mask=true, radius=2, range=2)
trim(0,7675)
ConvertToYV12()
----------------------------------------

Any ideas? The AVS file will play and I've used the above in MeGUI without issues there.

Thanks,
Shannon

manono
10th May 2016, 08:38
Open the script in VDub. Go File->File Info. What framerate does it give?