Log in

View Full Version : Adding .wav with MP4Box


mars2010
6th January 2011, 03:29
I usually use this command to add a video into MP4:

MP4Box.exe -add sample.264:fps=30.000 -new output.mp4

Now I want to add an audio file also.
It seems MP4Box doesn't support .wav file.

Does anyone use an .wav file as audio?
(for example, PCM 44000Hz, 16-bit Stereo)
Then how can I add a .wav file also, not only a video file?

Thanks.

Midzuki
6th January 2011, 04:42
Hi there.

Sadly, the MP4 container itself does not support uncompressed audio :(

mars2010
7th January 2011, 04:18
Hi, how about .OGG files?
I tried it once because MP4Box accept those files as input.

MP4Box.exe -add sample.264:fps=30.000 -add hsb.ogg -new output.mp4

There's no error in conversion but
I couldn't hear any sound from the created .MP4 file.

Did I do something wrong?

kypec
7th January 2011, 08:32
You didn't specify what player (software or standalone hardware) you use for playback of MP4 files. Personally I don't see any reason why should you bother with OGG in MP4, try AAC instead.
Nero AAC encoder is free for personal use, provides excellent quality of audio and AAC is widely supported at all playback platforms out there.