Re: How to achieve mp3 streaming using MAD?
robert <[email protected]> Tue, 13 Jan 2009 21:06:50 +0100
| Newsgroups | gmane.comp.audio.mad.devel |
|---|---|
| Organization | PhotonArts |
| Message-ID | <[email protected]> |
Hello Leon! Am 13.01.2009, 20:18 Uhr, schrieb leon deng <[email protected]>: > Hi,all > I want to find some mp3 headers, such as XING header,which can provide > the > duration information(total play time). I want to make use of it to > achieve > mp3 streaming support in libmad. > So there are two questions. > 1.I wrote a mp3 header reader, and it reads headers in the first 10 > frames. > I only read first 4 bytes for each frame. where is XING duration field > located, or could you provide some header documentation for XING header > to > me? > 2. Could you please tell me some other headers which can provide duration > information in it? Follow this link: http://www.hydrogenaudio.org/forums/lofiversion/index.php/t31277.html > Best, > Leon Ciao Robert