Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to Interpret MPEG streaming Audio files

Posted on 2006-07-20
7
Medium Priority
?
370 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 total points
ID: 17169304
take a look at this definition:
http://www.dv.co.yu/mpgscript/mpeghdr.htm
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

688 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