cURL / Mailing Lists / curl-users / Single Mail


Re[2]: Download mp3 over rtmp on windows

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


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.


GV> "Andy Dodd" <> 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:
GV> Etiquette:

List admin:
Received on 2011-04-21