Log in

View Full Version : Tdecimate mode 5 2nd pass error


DarkT
26th February 2007, 22:22
I am having the following error thrown out at me from Vdub, being the noob that I am I have no idea what it wants from my life, I tried searching for other threads, tried checking for typos, but it seems like I'm stuck.

The error:

Tdecimate: Input error(Mode 5 and 6, all frames must have entries)!

The 1st pass:

d2vpath = "D:\FANSUBBING WORK\Fumoffu Episode 2\VTS_03_1.d2v"
mpeg2source(d2vpath,info=3,idct=7,ipp=true)
assumetff()
tfm(output="ep1-tfm.txt")
tdecimate(mode=4,output="ep1-tdec.txt")
crop(344,224,-344,-224)
trim(0,1000)

The 2ns pass:

d2vpath = "D:\FANSUBBING WORK\Fumoffu Episode 2\VTS_03_1.d2v"
MPEG2Source(d2vpath,info=3,idct=7,ipp=true)
assumetff()
tfm(input="ep1-tfm.txt")
tdecimate(mode=5,hybrid=2,vfrDec=0,input="ep1-tdec.txt",tfmIn="ep1-tfm.txt",mkvOut="ep1-timecodes.txt")
Trim(0,1000)



Ideas?

I am doing this because when I do Tdecimate(1) the video loses fluidity and gets stuck for a milisecond here and there, hybrid=1 didn't help... When I don't Tdecimate it's all well... I was suggested the above from a friend encoder...

Edit:

this page: http://forum.doom9.org/showthread.php?t=82264&page=11 talk of a person encountering the same problem, but I don't understand how I can apply the same resolution to my case as I don't use the whole "bob" thingy... :(

tritical
26th February 2007, 22:43
It's the trim statement. TFM/TDecimate see the number of frames coming out of mpeg2source(), but since the script trims to 0-1000 not all the frames will be processed. When the second script is loaded TFM/TDecimate want entries for all frames but not all of them have entries. A solution would be to move the trim before tfm().

Terranigma
26th February 2007, 23:07
Here (http://avisynth.org/VariableFrameRateVideo#create-vfr-mkv)'s a guide on how to use it properly. Welcome back tritical, hope you check your pm's :)

DarkT
26th February 2007, 23:18
Tritical! Thanks! You solved it! I'd give you a good cup of my mother's made "kampot" if you were here!

Aye, thanks a lot :).