ozBillo
06-23-2010, 02:42 PM
Hi,
I'm writing a program that runs RTMPdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm).
How do I determine the filesize of an RTMP stream before I save it with RTMPDUMP?
Cheers,
Bill
Ed999
06-26-2010, 12:55 AM
You don't.
The RTMPDUMP program contains the switch -W which does that calculation for you automatically.
And all the parameters outputted by the -W switch are saved automatically in a file named .SWFINFO in your RTMPDUMP directory.
The information distibuted with the standard release versions of RTMPDUMP explains what url to specify in the -W switch, using this format:
-W "http://{URL}"
Here's an example -
-W "http://www.bbc.co.uk/emp/9player.swf?revision=18182_20020"
ozBillo
06-26-2010, 05:07 AM
I was hoping to run rtmpdump minimized/hidden and use a progress bar on my form to track the download (eg. 25MB of 257MB downloaded).
Isn't it possible to get the filesize before starting the download?
Ed999
07-15-2010, 08:55 PM
RTMPdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) v2.1 displays that information in the standard console window handling the rtmp download.
You must run RTMPdump in order to obtain that information. You cannot obtain information from an rtmp:// url using http:// methods.
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.