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 > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th July 2009, 18:50   #1  |  Link
a451guy451
Xbox Live: o 4lif o
 
a451guy451's Avatar
 
Join Date: Jun 2009
Location: Monrovia, CA
Posts: 64
PCM Analyzer

Anybody know of a tool to derive the word size, bit & byte orientations of a .RAW pcm file?

Thanks!
a451guy451 is offline   Reply With Quote
Old 28th July 2009, 01:40   #2  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
How did you obtain that .raw pcm stream?

It doesn't have a container header, so if you don't already know if it's 16-bit or 24-bit, mono, stereo or multichannel, big-endian or little-endian, then you have to open it in an adequate audio editor, and try until you can hear something understandable.
Midzuki is offline   Reply With Quote
Old 28th July 2009, 01:57   #3  |  Link
a451guy451
Xbox Live: o 4lif o
 
a451guy451's Avatar
 
Join Date: Jun 2009
Location: Monrovia, CA
Posts: 64
Output is from Audacity 1.3beta. Any input helps me, as I'm mostly a video guy and fail in the audio realm. What I'm attempting to do is mux it into a MPG2 TS as a SMTPE302m stream. The Muxer I've got requires that I know the info, but since the files were just given to me, I wasn't sure how to analyze. I'll just do process of elimination then; I think it's Signed 24bit stereo, 48khz, little-endian. Sounds like I have some more reading to do though, because I don't know how those relate to the parameters the muxer is giving me. My choices are:

-Validity (Yes/No)
-BitReversed (Yes/No)
-ByteReversed (Yes/No)
-BytesPerWord(1,2,3,4)
-MSjustified (yes/no)
-WordSize (24,20,16)

Some combo of those has got to work, so I'll just plug away at it till I get it right.

Thanks for the input!

Last edited by a451guy451; 28th July 2009 at 02:18.
a451guy451 is offline   Reply With Quote
Old 28th July 2009, 20:56   #4  |  Link
SomeJoe
Registered User
 
Join Date: Jan 2003
Posts: 315
Do you know the length of the matching video (hh:mm:ss:ff) ? And the size of the PCM file in bytes? If so, we may be able to derive some likely values.
__________________
- SomeJoe
SomeJoe is offline   Reply With Quote
Old 29th July 2009, 00:23   #5  |  Link
a451guy451
Xbox Live: o 4lif o
 
a451guy451's Avatar
 
Join Date: Jun 2009
Location: Monrovia, CA
Posts: 64
Actually, yeah. Here we go:
Video = 00:01:00.01
Audio = 17,568,000 bytes

If you can, thats awesome!

Thank you for any input you can provide.
a451guy451 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 21:41.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.