| Author |
Message |
X_Splinter Multimedia Lover
Joined: 12 Jan 2007 Location: Portugal
|
|
Hi guys
I going to mux a mp3 audio into a avi(xvid) movie that have no audio.
There is no delay... but i want to know value should i put in interleave cause i dont know what is the interleave is about.
Check the image below... what value i should put there?? for default is 750ms
|
|
JohnnyMalaria Member
Joined: 29 May 2006 Location: United States
|
|
Historically, the usual interleave = 1 second but ideally it should be every frame.
Interleaving means that audio (A) and video (V) frames occur alternately. e.g., AVAVAVAVAVAV etc. The term 'AVI' means audio-video interleave.
The AVAVAVAV example would have the interleave value set at one per frame. e.g., 40ms for 25fps.
Microsoft nearly always used 1 second by default. For 29.97fps, this can lead to audio drift problems.
I'd suggest 100ms for 29.97fps, 120ms for 25fps.
Others may have specific knowledge for mp3 in xvid that is preferable.
|
|
X_Splinter Multimedia Lover
Joined: 12 Jan 2007 Location: Portugal
|
|
My movie 29.97 and my audio is mp3... im gonna try the 100ms
|
|
jagabo Member
Joined: 09 Dec 2005 Location: none
|
|
Make the interleave equal to the duration of 1 frame of video:
25 fps --> 40 ms
29.97 fps --> ~33 ms
23.976 fps --> ~42 ms
|
|
JohnnyMalaria Member
Joined: 29 May 2006 Location: United States
|
|
| jagabo wrote: |
Make the interleave equal to the duration of 1 frame of video:
25 fps --> 40 ms
29.97 fps --> ~33 ms
23.976 fps --> ~42 ms |
The problem here is that this can lead to audio drift (depending on how things are implemented). Ideally, you need to find a duration that is a whole number of milliseconds. For 29.97fps, three frames is 100.1 ms, which is probably OK.
Easiest thing is to try a variety and, for long videos, see if there is any drift.
(For years and years, Adobe seemed incapable of fathoming this out and left lots of NTSC users very frustrated)
|
|
jagabo Member
Joined: 09 Dec 2005 Location: none
|
|
I use VirtualDub or VirtualDubMod for AVI A/V muxing. With the "1 frame" option.
Playing off a hard drive should give no problems regardless of the muxing. It's only off of slow seeking devices like CD and DVD where the audio and video chunks need to be close.
|
|
|
|