Solved

How to Interpret MPEG streaming Audio files

Posted on 2006-07-20
7
364 Views
Last Modified: 2012-06-27
I have captured an MPEG2 Streaming Audio File and I need to interpret the file with respect to Packets and headers, etc.
All I know for sure at this point is that the following sequence shows up every 0x240 (576 decimal) bytes = "FF FF FF FF FF FF FF FF".

Can anyone point me to a definition for the MPEG2 format to help understand the format of the file?

Thanks
0
Comment
Question by:Finch
  • 4
  • 3
7 Comments
 
LVL 11

Expert Comment

by:vo1d
ID: 17152785
there exists two different types of mpeg2 audio, aac and multichannel.
aac is not backward compatible to mpeg1 audio, multichannel is.
excample and docs for an encoder / decoder can be downloaded here. the source is coded in c.
http://standards.iso.org/ittf/PubliclyAvailableStandards/c039486_ISO_IEC_13818-5_2005_Reference_Software.zip

the official moving picture experts group site can be found here:
http://www.chiariglione.org/mpeg/

what do you try to do with your code? do you wanna make a mpeg2 decoder?
if so you should change to a different programming language, c# will not fast enough for that.
0
 

Author Comment

by:Finch
ID: 17168881
Actually I'm not building a decoder. I'm just trying to understand the contents and format of an MP2 streaming audio file. All I know for sure is that every 0x240 bytes there is a string of eight "FF"s in a row and a few other bytes look like formatting data then a lot of compressed audio data. Do you know of any file format definitions?
0
 
LVL 11

Accepted Solution

by:
vo1d earned 500 total points
ID: 17169304
take a look at this definition:
http://www.dv.co.yu/mpgscript/mpeghdr.htm
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:Finch
ID: 17172344
You are my hero (except for your interesting photo). This definition is exactly what I needed.... Thanks
0
 
LVL 11

Expert Comment

by:vo1d
ID: 17176123
mmh, which photo?
0
 

Author Comment

by:Finch
ID: 17176246
Sorry, I was looking at a rather weird photo at the side of the Experts Exchange screen. The photo is for Gregory Young, I just now realized it's not yours.... good thing. Thanks again for your help.
0
 
LVL 11

Expert Comment

by:vo1d
ID: 17176259
ah, ok ;)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now