Log in

View Full Version : No Audio / Small Audio file


Pitbull_Raven
17th October 2007, 12:07
Hi.

Having a wierd problem with MEGUI and can't figure out why. If I create a avs file for the source using the Script Creator and load it into both video and audio sources in MEGUI, the video gets encoded perfectly but the audio results in a very small and totally soundless file. Here is a snippet from the last log file:
Starting job job1-2 at 11:04:38
Starting preprocessing of job...
Job 'job1-2' requires bitrate calculation. Calculating now...
Found another video job: job1-3.
Found audio stream: job1-1.
The video job has a desired final output size of 2129867571 bytes and video bitrate of 1000kbit/s
Examining audio jobs found...
Audio job 'job1-1':
This job completed successfully, taking size into account...The size is of this track is 3385251 bytes, and the type is MP4-AAC. Taking this into account in the bitrate calculation.
Desired video size after substracting audio size is 2076132KBs. Setting the desired bitrate of the subsequent video jobs to 3357 kbit/s.
Preprocessing finished!

As you can see the resulting audio file is only 3.3 megs and this is a 1 hour 24 minute video with sound, and before you ask I did set audio=true. The file I am trying to convert is a MP4 video file with aac audio. The reason I am re encoding is because I need the file to a) be smaller in size and b) be compatible with xbox360. At first I thought maybe the problem was the fact that the audio in the original file was aac and that avisynth didn't handle it correctly but if I play the avs file, I get perfect audio and video. So I extracted the audio file using yamb and I can play the file. Also, if I try to load up the extracted aac file in the source audio, it converts correctly and I get a true aac audio file compatible with my xbox360. Problem is that if I mux this file with the resulting video file I get desync. This has also happened in the past with mkv files using ac3 audio. But with those I can extract the audio file and load that up in the audio source and all is well.

Any ideas on what the hell might be wrong here?

Any ideas

Sharktooth
17th October 2007, 13:32
did you select/make an audio profile before encoding the audio?
also why not re-encoding from the source instead of an already encoded file?

Pitbull_Raven
17th October 2007, 13:47
did you select/make an audio profile before encoding the audio?
also why not re-encoding from the source instead of an already encoded file?

First question: I tried an existing profile and I created / altered one myself according to xbox360 compatible specs. Same results. Also tried using AutoMKV and the same thing happens, only it takes much longer. I get the FFA directshow audio icon in the tray area. Don't know if it's FFDShow playing with me or whatever.

Second question: This is the source.

Pitbull_Raven
17th October 2007, 16:34
Any other ideas?

Sharktooth
17th October 2007, 18:07
Then it's not a MeGUI problem. Please change the thread title.
Also, what audio encoder are you using?

Pitbull_Raven
17th October 2007, 19:39
I am using NeroAAC. For the life of me, I can't figure out what is wrong.

Sharktooth
18th October 2007, 01:59
uhm... what binary? the sse, sse2 or the normal one? also what CPU you have?

Pitbull_Raven
18th October 2007, 16:45
uhm... what binary? the sse, sse2 or the normal one? also what CPU you have?
I tried both the normal neroaac and the neroaac_sse. I cannot find neroaac_sse2 anywhere unfortunatly. As for the processor, I am using a Intel e6300 dual core.

Yesterday I tried muxing the extracted audio with reencoded video, also resulted in a gradual desync over time (almost half a second's worth towards the end). I am guessing the video framerate isn't really 23.976 and that is what causes the gradual decline. If only I could figure out this sound problem I could just encode via the damn avs and be done with it. Sometimes these small crappy things can be a real pain.

Pitbull_Raven
20th October 2007, 19:30
Ok. So although I still cannot convert via the avs for some reason, I can convert the original ac3 file. Problem is it takes me almost 5 hours for a 42 minute clip. Fore some reason the encoding is being done at 0.13x speed. Any ideas?