View Single Post
Old 15th November 2008, 03:37   #6992  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by Thunderbolt8 View Post
a question regarding delaycut 1.3.0.0. when I use an .ac3 file as input then sometimes the duration of the target file is 1 ac3 frame shorter than the duration of the source file. this is shown instantly, before I even attempt to process....
Only the header of first frame are read. And the data are previsions:

We know the FrameLength (must be constant) and the FileLength then can have:

Frames = int(FileLength/FrameLength)

Each frame have 1536 samples, at 48000 Hz each frame have 32 ms then:

Duration = frames x 32 ms.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline