Curl transfer of mp3 over rtmp on Windows

Posted on 2011-04-20
Last Modified: 2012-05-11

I'm using curl from the command line on a windows 2008 server to retrieve an mp3 from an rtmp stream.

The transfer completes and I get the file locally but it won't play. I suspect this is down to the transfer type but cannot work out how to make it work as the default is supposed to be binary (which should be fine).

This is the command I'm using (filenames replaced with ***)

curl -o c:\windows\temp\***.mp3 rtmp://<host etc>/***.mp3

I've attached a copy of the received mp3 file received in case this helps work it out, I changed the extension from mp3 to txt so it could be uploaded, you'll need to change it back.

Any help would be appreciated.


Question by:slicethepie
    LVL 82

    Expert Comment

    by:Dave Baldwin
    Can't download it as it is.

    Author Comment

    Sorry, I should have checked it would download.

    I've put a copy here:

    I tested it and it will download :)

    LVL 82

    Accepted Solution

    Strictly speaking, that's not an MP3 but an FLV.  I can play it in RealPlayer because it recognizes the format but other players may not.
    LVL 142

    Expert Comment

    by:Guy Hengel [angelIII / a3]
    This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Suggested Solutions

    Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit ( and similar technologies have enjoyed wide adoption, making it possib…
    Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    This video teaches users how to migrate an existing Wordpress website to a new domain.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now