Solved

How to Interpret MPEG streaming Audio files

Posted on 2006-07-20
7
366 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

830 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