View Full Version : yamb/mp4box + aacgain => not a valid mp4/m4a file
Selur
22nd June 2006, 15:25
I'm trying to boost the audio of an aac file.
Since aacgain doesn't support aac raw streams I muxed the .aac file using Yamb 1.6 and got an audio.mp4 file, so far so good.
grab files http://www.selur.info/tmp/audio.rar
Using mp3gain GUI + aac gain gives me "Error while analyzing: D:\audio.mp4 is not a valid mp4/m4a file." and using the cli directly gives me: "Error: file format not recognized. audio.mp4 is not a valid mp4/m4a file."
Is there an mp4box option that can be used to make the file aacgain comaptible?
Cu Selur
SeeMoreDigital
22nd June 2006, 15:46
Is there an mp4box option that can be used to make the file aacgain comaptible?
Cu SelurAre there any direct-show based players that can take advantage of such streams?
EDIT: According to your samples properties, it's runs at 768Kbps at a sample rate of 24,000Hz. This seems like an odd combination!
Cheers
Selur
22nd June 2006, 16:26
Are there any direct-show based players that can take advantage of such streams?
I used aacgain since I used it some month ago (reinstalled my system since then) and playback was boosted during playback. And since I use ffdshow to decode aac audio at least ffdshow should be able to handle it. :)
According to your samples properties, it's runs at 768Kbps at a sample rate of 22,000Hz. This seems like an odd combination!
The aac belongs to an video clip I encoded using Nero 7 and its "Memory Sitck Vide (PSP)" Profile, leaving Audio Encoding Settings to 'auto'.
Cu Selur
SeeMoreDigital
22nd June 2006, 17:44
Jeez...
768Kbps for a 2Ch audio stream is huge... It must have a higher bit-rate than your video stream!
EDIT: Strike that...
It would seem MediaPlayer Classic is in-correctly reporting the AAC streams bit-rate (it has a tendency to do this with Recode2 encoded streams). Once the stream has been muxed into the MP4 container, MediaInfo reports it as being 64Kbps, which is more like it... It would also seem to be an AAC-HE stream.
Kurtnoise
22nd June 2006, 18:11
Is there an mp4box option that can be used to make the file aacgain comaptible?
Nope...as far I know. By default, MP4Box creates multiple trackID (one dedicated to Audio stream, the second one dedicated to Objects Descriptors and the third to the BIFS scene). I suspect that aacgain complains with this kind of mp4.
You can try to mux your aac file with mp4creator instead...aacgain uses mpeg4ip lib. So maybe.
Selur
22nd June 2006, 18:14
You can try to mux your aac file with mp4creator instead...
I'll try and report :)
=> works fine thx :)
shon3i
22nd June 2006, 18:31
I reported same problem in "Something is whrong with mp4box", because aacgain only works with winamp's and nero's mp4 and not with mp4box's mp4, like my standalone player, and nobody don't why
bond
22nd June 2006, 19:02
I'll try and report :)
=> works fine thx :)did you try deleting the mpeg-4 systems streams from the mp4box mp4? i kinda remember that aacgain only works with single stream mp4 files (eg not if there is a video stream in it)
maybe aacgain also only works when the audio stream has trackid 1?
either way you might want to report this to the aacgain dev, cause its more likely a problem on this side i guess
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.