Many thanx Glen

I'll take a look. I know number in mp3frame is fixed (multiple of 576), but 
still i'm not sure, eg. having a regular test case produced from flash ide, 
it show up:

soundItem soundID="1" tagSize="1263" format="mp3" rate="22KHz" 
sampleSize="16bit" type="stereo" sampleCount="1012">

1012 % 576 != 0

- is it sampleCount mandatory and must be precise about number of total 
samples in audio data?
- how is it computed if there are incomplete mp3frame?
- am I on the wrong way? Miss some critical info or looking at pointless 
details?

Suspect have to get much test cases and look closer to mp3 handling code...

:)
Jaco
----- Original Message ----- 
From: "Glen Pike" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 26, 2006 3:50 PM
Subject: Re: [osflash] mp_3 sample count & header info


> Hi,
>
>  Sorry if this is off list - I am at work so popping
> my osflash account, but replying from another.
>
>  I had a look at a couple of things - I did some mp3
> stuff a while ago.
>
>  I think the number of samples in a frame is constant
> - see here
>
> http://www.mp3-converter.com/mp3codec/frames.htm
>
>  I also had a go at reading MP3 headers with PHP a
> while ago and found that this package was quite
> useful.  You would need to have PEAR installed on your
> webserver, which can be a bit fiddly if you do not
> have ssh access, but not so bad if you use the HTML
> installer.  Have a look here for PEAR
> http://pear.php.net and here for MP3 ID
> http://pear.php.net/package/MP3_ID
>
>  Hope this helps, otherwise you may be spending a
> long time looking at codec sources.
>
>  Glen
> --- jaco - pixeldump <[EMAIL PROTECTED]> wrote:
>
>> many thanx erixtekila,
>>
>> unfortunately afaik such infos are not suitable for
>> counting samples,
>> mandatory field to compile well defineSound Tag. So
>> yet mk cannnot embed
>> mp_3 audio.
>> For now I'm snorkeling in ming sound.c source code.
>>
>> List, if you know about snippets (regardless prog.
>> lang.) to count samples
>> in mp3frame please let me know.
>>
>>
>> :)
>> Jaco
>>
>>
>> ----- Original Message ----- 
>> From: "erixtekila" <[EMAIL PROTECTED]>
>> To: "Open Source Flash Mailing List"
>> <[email protected]>
>> Sent: Wednesday, April 26, 2006 3:00 PM
>> Subject: Re: [osflash] mp3 sample count & header
>> info
>>
>>
>> >> I'm seeking for mp3 file format info:
>> > Don't if it's enough ?!
>> > http://www.psionics.demon.co.uk/mp3/mp3info.html
>> >
>> > HTH
>> > -----------
>> > erixtekila
>> > http://blog.v-i-a.net/
>> >
>> >
>> > _______________________________________________
>> > osflash mailing list
>> > [email protected]
>> >
>>
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>> >
>>
>>
>> _______________________________________________
>> osflash mailing list
>> [email protected]
>>
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>>
>>
>>
>
>
>
>
> ___________________________________________________________
> NEW - Yahoo! 360 - Your one place to blog, create, publish and share! 
> http://uk.360.yahoo.com
> 


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to