fellini
12th March 2006, 02:12
Hello,
I've download trial versions of the following MPEG-2 encoding softwares: TMPGEnc, Cinema Craft, Procoder and Mainconcept.
The only problem is with a constant delay in sound in the traget file.
I have test file of 2 minutes containing bars and tones which appears for 1 frame (40ms) simultaneously. These bars and tones scattered along the file. The first bars and tones appeares at 00:00:05:00 in the AVI file for 1 frame (till 00:00:05:039 including).
After I've encode it, the MPEG-2 file was synced perfectly regarding the video stream. The bars appeared exactly were they should have - 00:00:05:00 (till 00:00:05:039 including) but the audio was offset 34ms and appeared at 00:00:05:34 (till 00:00:05:073 including). Of course they should have appeared in the exact time and duration like the bars.
I've tried the following:
1. Change the target audio bit rate (192Kbps to 384Kbps Mpeg-1 Layer 2).
2. Change the target sample rate (48Khz to 44.1Khz Mpeg-1 Layer 2).
3. Change the target audio file type (from Mpeg-1 Layer 2 to uncompressed Wav).
4. Change the video bit rate (CBR / VBR etc).
5. Encode only audio with elementary audio (WAV and Mpeg-1 Layer 2).
6. Change the source from QuickTime Uncompressed with PCM Audio to AVI-DV with PCM Audio.
None of those eliminated the problem. The only discovery was: If the source file is in 44.1Khz and I choose to encode it to 44.1Khz as well, the offset reduce to 10ms.
BTW: I've tried to take the original wave to an AC-3 encoder and even there wan an offset (even bigger - 50ms)
Do you have any idea how to resolve this problem?
Thanks,
Lior
fellini@netvision.net.il
I've download trial versions of the following MPEG-2 encoding softwares: TMPGEnc, Cinema Craft, Procoder and Mainconcept.
The only problem is with a constant delay in sound in the traget file.
I have test file of 2 minutes containing bars and tones which appears for 1 frame (40ms) simultaneously. These bars and tones scattered along the file. The first bars and tones appeares at 00:00:05:00 in the AVI file for 1 frame (till 00:00:05:039 including).
After I've encode it, the MPEG-2 file was synced perfectly regarding the video stream. The bars appeared exactly were they should have - 00:00:05:00 (till 00:00:05:039 including) but the audio was offset 34ms and appeared at 00:00:05:34 (till 00:00:05:073 including). Of course they should have appeared in the exact time and duration like the bars.
I've tried the following:
1. Change the target audio bit rate (192Kbps to 384Kbps Mpeg-1 Layer 2).
2. Change the target sample rate (48Khz to 44.1Khz Mpeg-1 Layer 2).
3. Change the target audio file type (from Mpeg-1 Layer 2 to uncompressed Wav).
4. Change the video bit rate (CBR / VBR etc).
5. Encode only audio with elementary audio (WAV and Mpeg-1 Layer 2).
6. Change the source from QuickTime Uncompressed with PCM Audio to AVI-DV with PCM Audio.
None of those eliminated the problem. The only discovery was: If the source file is in 44.1Khz and I choose to encode it to 44.1Khz as well, the offset reduce to 10ms.
BTW: I've tried to take the original wave to an AC-3 encoder and even there wan an offset (even bigger - 50ms)
Do you have any idea how to resolve this problem?
Thanks,
Lior
fellini@netvision.net.il