View Single Post
Old 26th November 2006, 04:07   #205  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
Quote:
Originally Posted by DeathTheSheep View Post
...Or delay audio by (Num of B-frames)*(fps).

Or more simply: Add ~25ms (or 30, or whatever your framerate is) for each B-frame you are using. But really, it isn't that necessary-- x264's lag in AVI is hardly noticeable in most cases. And as ST said: Use a fewer number to be safe.
Delay audio by (Num of B-frames)*(1/fps). E.g.:
For NTSC Film (23.976fps) frame duration is ~41.7ms
For PAL (25fps) frame duration is 40ms
For NTSC TV (29.97fps) frame duration is ~33.36ms
squid_80 is offline   Reply With Quote