Solved

How to Interpret MPEG streaming Audio files

Posted on 2006-07-20
7
363 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

759 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

24 Experts available now in Live!

Get 1:1 Help Now