Help - Search - Members - Calendar
Full Version: PCM audio in MP4
Hydrogenaudio Forums > Digital Audio/Video > General A/V
nickske
Hi,

I'm experimenting with MP4 files. I can already include video into my MP4 file, but now I also want to include audio. I know that MP4 supports AAC audio.
My question is: is it also possible to store raw audio, say PCM audio 16 bit into the MP4 file?
The goal is to create a MP4 file that contains PCM audio and that can be played with a normal player.

Thanks
ChristianHJW
Sure, from a technical point of view, MP4 can hold PCM audio, no doubt. The MP4 Pro's here may answer if the MP4 spec creators have included this in the specs or not, i honestly dont know ....
bond
threoretically its possible to place any stream in mp4, but practically the specs afaik dont define how to place pcm (or lossless audio) in mp4

specified are for example aac, mp3, mp2
nickske
Thanks for the responses!

I know that you can indeed include any stream you want in an MP4 file (in theory).
The problem is indeed that MP4 doesn't have and ObjectType and streamType to deal with PCM audio.

Greetz,

nickske
ChristianHJW
MP4 files will have a great future for content distribution, and therefore its creators will aim at the highest possible compatibility and playability. I dont understand why PCM was not included as an option, because basically any device on the market should be able to support it with very little extra programming effort, but i fully understand that MP4 will be restricted to only a number of specific audio and video codecs, bearing in mind what was said above.

I dont know what your plans are and what you need these files for, but to combine MPEG4 video with PCM audio even good old AVI should do fine ?
iss
Hi Guys,
I have to correct some assumptions here: There IS an AudioObjectType and StreamType for PCM.
streamType (audio) and aot=0! The problem is, that the audio specific config for aot 0 is not completely defined. What you can define is aot, nofChannels, samplingFreq.
The problem is, that there is no way to define the type of pcm audio you are using. e.g.:
16bit / 24bit / float, etc. but i am still investigating and will post if I found someth.

Greetings,

iss blink.gif
iss
hi, me again,
raw pcm must be in 16 bit signed integer format in the range from -32768 to 32767

Greetings,

iss biggrin.gif biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.