cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re[2]: Download mp3 over rtmp on windows

From: Dod <dodfr_at_yahoo.com>
Date: Thu, 21 Apr 2011 14:36:57 +0200

Hello,

Totally normal ... it's not a MP3 but a FLV containing an MP3 stream
(whenever it's named .mp3) so the header of file is different and
depending your player, some will rely on file extension some other
will do further file header analyse and select the right way to play
the file.

regards.

GV> "Andy Dodd" <andy_at_fleured.com> wrote:

>> I've attached a copy of the mp3 that I receive in case it's useful (it won't
>> play). I have also checked and the original mp3 (retrieved via ftp) does
>> work.

GV> There is no problem here playing your attached test.mp3. If I play it in
GV> "WinAmp" or "Windows Media Player", it does sound rather distorted, but
GV> in 4NT's "playsound" is sounds clear and crisp. I think the trouble is that
GV> the file isn't a MP3, but rather another codec (FLV?) disgusted as a MP3.

GV> From the "playsound" docs:
GV> PLAYSOUND "plays" MP3, .WAV, Midi (.MID) and other types of sound files for
GV> which Windows has an appropriate decoder or "codec" installed. It determines
GV> the file type automatically from its contents, not its file extension, so it can
GV> play sound files which have an unknown file extension.

GV> What the codec is when I play it, I have no idea.

GV> --gv
GV> -------------------------------------------------------------------
GV> List admin: http://cool.haxx.se/list/listinfo/curl-users
GV> FAQ: http://curl.haxx.se/docs/faq.html
GV> Etiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-04-21