Log in

View Full Version : Avisynth 2.5.7, 24fps avi and AssumeFPS(24000,1001) problems


outsiders71
5th November 2006, 17:45
Trying to encode an avi file into a compatible quicktime x264 mp4. I've read about the 64bit QT bug and read the development discussions. I'm already using the latest (2.5.7 RC1) which is supposed to fix this (floating?) problem.

I've tried encoding with the following:

DirectShowSource("e:\test.avi")
assumefps(24000,1001)
Crop(8,2,-8,-2)
BilinearResize(320,176)
ConvertToYV12()

Running this through x264 produces an encoded video where the audio is ahead of the video.

After wasting 2 hours encoding I just started previewing with a test avs script to see what the issue is. The only way I can sync the video to the audio is if I remove the assumeFPS line. But encoding this way throws a QT error msg (bad public movie atom). I've also tried assumefps(24000,1001,true) which works but the video is in slow mo.

I've tried every method of expressing 23.976023976023976023976023976024. Why am I having syncing problems I thought this was fixed? Any help would be appreciated.

Fizick
5th November 2006, 18:03
what is original properties of video?
Use Info() function and post its results.

outsiders71
5th November 2006, 18:15
Didn't know about info() nifty:

http://img276.imageshack.us/img276/6596/infors1.jpg (http://imageshack.us)

stickboy
5th November 2006, 19:08
If you haven't figured it out by now, clearly you should be using AssumFPS(30000, 1001) instead.

outsiders71
5th November 2006, 19:29
Very weird indeed. This AVI was inverse telecined to 23.976etc.. Why it's showing up as 29.97 is beyond me. Looks like I need to look into this. Thanks though for the help.