Log in

View Full Version : MeGUI Audio Decoding Issue....


CHerron
29th September 2008, 14:13
Since upgrading to MeGUI v3 (Currently running 0.3.0.2017) some of my avi source files the audio on them hasn't been decoding properly, no matter what audio codec I encode into nero aac, mp3, ac3 etc etc.

The audio length is over or under estimated either making the files run longer than the video or cutting the audio off before the video has ended on some avi's.

The file that ARENT effected are all in:

Audio #0
Codec : MPEG-1 Audio layer 3
Codec profile : Joint stereo
PlayTime : 43mn 57s
Bit rate mode : VBR
Bit rate : 129 Kbps
Nominal bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Resolution : 16 bits
StreamSize/String : 40.5 MiB
Writing library : LAME3.90.
Encoding settings : ABR


But the files that ARE effected are all in:

Audio #0
Codec : MPEG-1/2 L3
Codec/Family : MPEG-1
Codec/Info : MPEG-1 or 2 layer 3
PlayTime : 44mn 34s
Bit rate : 80.0 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Resolution : 16 bits
StreamSize/String : 38.4 MiB

I'm running AviSynth version 2.57 and the latest versions of coreavc and ffdshow.

Whats got me confused is that even running MeGUI 0.2.0.1046 fully up-to-date (with exception of the core) all files decode fine.

It has me most confused :s

Any advice?

Inspector.Gadget
29th September 2008, 15:17
Try opening the AVI source files that experience audio desync in AVIMux GUI (included in MeGUI, you'll find it in the "Tools" folder). Is there a delay set for any of the problematic audio tracks?

Edit: I'm not sure what effect this might have when the audio is muxed into an AVI, but maybe the problematic MP3 tracks are missing their LAME headers (which don't show up in MediaInfo) and thus the decoder can't figure out what the internal delay of the MP3 track is even where the muxing delay is set properly.

CHerron
29th September 2008, 16:06
There doesn't appear to be a delay on the files. In fact the sync is always perfect, just that sometimes MeGUI thinks the audio is shorter or longer than it actually is.

For example on an avi file that runs for: 44:34 - MeGUI encodes the audio file at a length of 1:07:00 - The audio itself plays at the right speeds but after time index of 44:34 theres just blank noise.

An another example is on a file that runs for: 49:25 and only 47:10 of the audio is encoded, cutting it off in mid sentence, again the audio runs at the correct speed