View Full Version : Getting transcodes with 24.998 FPS


Ron70
20th January 2006, 23:25
I have been using AVISynth with DGDecode for a while now but I am having a problem with it now. When I do a transcode I end up with a stream that plays back a t 24.998 FPS even though when I open up the file in VirtualDubMod it reports 23.976 FPS. It started when I was making a switch from Recode to X264. I had the same problem with recode a while ago but I don’t know what I did to fix it. Any Ideas?

Here is my setup.

dgmpgdec145
Latest X264 as of Wednesday
MeGui x264

Program1.avs

LoadPlugin ("c:\DVDTools\dgmpgdec\DGDecode.dll")
LoadPlugin ("C:\Program Files\AviSynth 2.5\plugins\Decomb521.dll")
LoadPlugin ("C:\Program Files\AviSynth 2.5\plugins\undot.dll")
mpeg2source("Program1.d2v")
Telecide(order=1,guide=1)
Decimate(cycle=5)
UnDot()


Program1.d2v
DGIndexProjectFile11
2
C:\Movies\70s 1\VIDEO_TS\VTS_01_1.VOB
C:\Movies\70s 1\VIDEO_TS\VTS_01_2.VOB

Stream_Type=1
MPEG_Type=2
iDCT_Algorithm=6
YUVRGB_Scale=0
Luminance_Filter=0,0
Clipping=0,0,0,0
Aspect_Ratio=4:3
Picture_Size=720x480
Field_Operation=0
Frame_Rate=29970
Location=0,0,1,50B9

d00 6 0 2048 1 1 92 b2 b2 a2 b2 b2 a2 b2 b2 a2 b2 b2 a2


Edit: It is the .avs that I open in VirtualDubMod that reports 23.976 FPS.
It is the encode MP4 that plays at 24.998.

Revgen
20th January 2006, 23:57
What program is telling you that you're file is playing back at 24.998 FPS?

Is it WMP?

Ron70
21st January 2006, 00:07
FFDshow
both as the h.264 decoder and with Nero's decoder feeding it YUY2.

Also the AV sync drift seems in the neighborhood of 4-5%.

Revgen
21st January 2006, 00:10
Have you tried using Tritical's TIVTC filter? You can get it here. (http://forum.doom9.org/showthread.php?p=544121#post544121)

Try using:

tfm(mode=1,order=1,field=1)
tdecimate(mode=1)

foxyshadis
21st January 2006, 00:16
If you're using MP4 it always defaults to 25 fps if it can't determine the framerate, no matter what the avs says; it could be that the latest megui didn't mux it correctly. You can try remuxing it with YAMB and setting the fps yourself, or try a slightly older version of megui x264.

Ron70
21st January 2006, 01:14
foxyshadis:

Thanks, that whs it. I remuxed the .264 and .acc with MP4Box and -fps 23.976 and it fixed the issue.