Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th September 2008, 01:55   #1  |  Link
F J Walter
Registered User
 
Join Date: Oct 2007
Posts: 47
Uncompressed PCM audio in MP4?

Is it possible to use a PCM audio stream in an MP4 container?

If it is possible, what formats are supported/recommended (ie signed/unsigned, bit depth, endianness)? Would playback be supported by the majority of players, including current and future hardware/embedded players?

The reason I ask is that I can't find a way to add PCM audio to MP4 using ffmpeg, which kind of tells me I am trying to do something unsupported. Looking at various websites about MP4, PCM audio isn't listed as being officially supported (though Apple lossless is...?)
F J Walter is offline   Reply With Quote
Old 5th September 2008, 07:22   #2  |  Link
mediator
Registered User
 
Join Date: Aug 2004
Posts: 133
No, it's not defined for the .MP4 format. For QuickTime .MOV, it's possible in various ways (float, int, 8, 16, 24, 32 bits).
mediator is offline   Reply With Quote
Old 6th September 2008, 18:51   #3  |  Link
F J Walter
Registered User
 
Join Date: Oct 2007
Posts: 47
Hmmm ok. I am trying to determine the best container format for future playability, and I figured that MP4 was a good candidate because it was pretty flexible, and its future support was virtually ensured due to its use in hardware players, mobile phone protocols, Quicktime, Youtube etc. But finding out that it can't do uncompressed audio is a disappointment.

I'd use Matroska, but I don't think its future playability is as assured - which influential companies are using it?

In other words, I don't want to open my videos in 10 or 15 years time and not be able to find some software online to play them in whatever OS I am using at the time.
F J Walter is offline   Reply With Quote
Old 6th September 2008, 21:15   #4  |  Link
setarip_old
Registered User
 
setarip_old's Avatar
 
Join Date: Aug 2005
Posts: 16,274
Hi!

I've got to believe that, if any presentday video and/or audio codecs are still in existence in "10 or 15 years time", those that conform to "MPEG-2" will be among them...

Last edited by setarip_old; 7th September 2008 at 05:10. Reason: Typo - Replaced ? with "
setarip_old is offline   Reply With Quote
Old 7th September 2008, 03:24   #5  |  Link
rtjnyoface
Constantly learning
 
rtjnyoface's Avatar
 
Join Date: Jul 2008
Location: Mountain Time, U.S.
Posts: 189
I, personally, would use MKV as my container. Watch this container as the current future of mainstream hardware adapts...

besides, mkv supports quite a few more features than mp4
rtjnyoface is offline   Reply With Quote
Old 7th September 2008, 08:55   #6  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,779
the classic and most widely used container for uncompressed pcm audio is obviously .avi/.wav
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 7th September 2008, 18:27   #7  |  Link
SeeMoreDigital
Life looks better in HD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,171
Other containers to consider are .TS or .M2TS...
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 8th September 2008, 02:55   #8  |  Link
F J Walter
Registered User
 
Join Date: Oct 2007
Posts: 47
Thanks all for your suggestions. I will seriously consider TS, as I know it is definitely well used by lots of different vendors including DVB and broadcast stuff as well as newer camcorders.

I was wanting something that could contain H.264 video and some sort of decent multi channel lossy audio (like AAC), but that on a whim could also contain a popular lossless video codec (like HuffYUV) and uncompressed audio (PCM).
F J Walter is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:26.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.