How to achieve mp3 streaming using MAD?
leon deng <[email protected]> Tue, 13 Jan 2009 14:18:35 -0500
| Newsgroups | gmane.comp.audio.mad.devel |
|---|---|
| Message-ID | <[email protected]> |
--0016e6dd96a0023f810460621714 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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? Best, Leon --0016e6dd96a0023f810460621714 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi,all<br>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.<br>So there are two questions.<br> 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?<br> 2. Could you please tell me some other headers which can provide duration information in it?<br><br><br>Best,<br>Leon<br><br> --0016e6dd96a0023f810460621714--