Log in

View Full Version : Problem adding aac files to mp4


mondain
2nd April 2008, 22:04
I am using MP4Box on windows to combine three or more aac files into an mp4. My problem is that one of the files with a delay specified is playing as blank audio in the clip. The movie properties shows all three audio tracks, so I'm stumped. Here is the command I'm using

MP4Box out.mp4 -add 1_crickets.aac#audio:dur=10 -add 1207168950112_3522.aac#audio -add 3_crash.aac#audio:delay=4000

My audio files are attached for debugging.

Thanks in advance!!

mondain
3rd April 2008, 18:52
MP4Box out.mp4 -keep-all -delay fx0=4000 -add 1_crickets.aac#ambient:dur=10 -add 1207168950112_3522.aac#voice -add 3_crash.aac#fx0

And this (two steps)

MP4Box -new out.mp4 -add 1_crickets.aac#ambient:dur=10 -add 1207168950112_3522.aac#voice

MP4Box out.mp4 -keep-all -add 3_crash.aac#fx0:delay=4000

I attempted these with the following versions:
0.4.4
0.4.5-dev x64
0.4.5-dev

mondain
4th April 2008, 00:09
So since I am the only person replying, it would seem that no one else ever ran into this issue. Well for if anyone ever does here is a hack. Grab the silence.aac and convert it to the same sample rate as your other clips. Next use this command to create a padded aac file (this is a 3s padd)


MP4Box -inter 0 -new out.aac -cat silence.aac#soun -cat silence.aac#soun -cat silence.aac#soun -cat 3_crash.aac#soun

Now just add it to your mp4 using the regular -add option.