Groups | Blog | Home
all groups > flash (macromedia) > february 2004 >

flash (macromedia) : Flash Player 7 won't play MP3 file


18e
2/25/2004 10:18:43 PM
Hi everyone.
I'm new to Flash (I'm trying the trial of Flash MX 2004) and I've been trying
to get an MP3 to play in the Flash Player v7. It just won't play it. I've
also tried importing the MP3 into the .fla library and it complains that it
"doesn't recognize the file format". Any other program like Winamp and a bunch
of MP3 enoding/decoding apps will open and play it, but I need Flash Player to
play it on a web page. I _have_ got Flash to play other MP3s, so it's not that
the .fla is coding incorrectly - it's an issue with this MP3's encoding. I
recorded the MP3 using the Java Media Framework, so I've got many parameters I
can set when creating:

(sampleRate, sampleSizeInBits, channels, endian, signed, frameSizeInBits,
frameRate, dataType) or just I can just specify (sampleRate, sampleSizeInBits,
channels). I've seen in other posts that Flash only likes the following
formats: 16bits 22k mono/stereo or 8/16bits at 11,22,or 44k. I've tried all
these then creating the file, but Flash still won't play it. Again, any other
MP3 app I've tried will play the file.

So, my question is: what exact format does Flash need an MP3 to be encoded in?

If I can't get this to work, there's no use in me buying Flash.

Thanks for any suggestions!

johnny_XP
2/26/2004 12:46:18 AM
Look, is known case between Flashers, that Flash Player cannot play some mp3
files. Is not bitrate problem. I have also mp3 files that are play in any mp3
palyer,but not in Flash Player. So don't bother your self with bitrate and
other parameters...
18e
2/26/2004 1:05:24 AM
Ok. So I guess Flash is known to be picky about which MP3s it will play. But
is that by design or is it a bug? If it's a bug, it should be documented and
I'd then know how to work around it. If it's by design, it should be
documented and I'd then know how to work around it. We're dealing with 1s and
0s here.. It either works or it doesn't.
Is there doc somewhere that explains this?

Thanks again.
urami_
2/26/2004 9:41:15 AM
can you upload that mp3 ? zipped or rared ?

--



Regards


urami_*

<hol>
http://flashfugitive.com/
</hol>

Jeckyl
2/26/2004 2:08:36 PM
Use one of the many tools that strip ID3 tags from your SWF file .. also
ensure you sue only one of the bitrates flash supports. 11K 22K 44K .. if
your file is not in that sample rate, use a sound tool to resample it.

18e
2/26/2004 6:07:24 PM
Mmmmmmm..... just finished a big 'ole piece of humble pie :)

Turns out I was recording in Layer2 instead of Layer3 format.... Sorry folks.

But that begs another question: The reason I was using JMF to record was that
the recording needs to be done client-side via some web page component with
minimal install reqs and I'd heard that Flash Player will only let you record
A/V to the Communication Server.
Is that still true? It would really be sweet if I could record A/V w/o the
Comm Server. Or if Flash could play Ogg Vorbis files.

Thanks for all your replies.
AddThis Social Bookmark Button