INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Login:   Username:  Password:   Log me on automatically    
Register I forgot my password I forgot my username Resend the activation key

Which Interleave value should i put???

Forum Index -> Video -> Audio Printer-friendly version
Reply to topic
Author Message
X_Splinter
Multimedia Lover


Joined: 12 Jan 2007
Location: Portugal

Post Posted: Dec 17, 2007 08:45 Posts Comp View users profile Send private message Reply with quote

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

Post Posted: Dec 17, 2007 09:12 Posts Comp View users profile Send private message Reply with quote

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

Post Posted: Dec 17, 2007 09:19 Posts Comp View users profile Send private message Reply with quote

My movie 29.97 and my audio is mp3... im gonna try the 100ms

jagabo
Member


Joined: 09 Dec 2005
Location: none

Post Posted: Dec 17, 2007 09:56 Posts Comp View users profile Send private message Reply with quote

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

Post Posted: Dec 17, 2007 11:51 Posts Comp View users profile Send private message Reply with quote

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

Post Posted: Dec 17, 2007 11:58 Posts Comp View users profile Send private message Reply with quote

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.


Reply to topic All times are GMT - 6 Hours
Forum Index -> Video -> Audio Page 1 of 1





You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Jump to:  
Display:   
Slysofts AnyDVD HD removes DVD and Blu-ray encryption and region coding. More info or download trial!
About   Advertise   Forum Archive   RSS Feeds   Statistics