Filesize of RTMP streamHi,
I'm writing a program that runs RTMPdump. How do I determine the filesize of an RTMP stream before I save it with RTMPDUMP? Cheers, Bill |
Using the -W switchYou 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" |
Re: Filesize of RTMP streamI 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? |
Re: Filesize of RTMP streamRTMPdump 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. |
All times are GMT -6. The time now is 08:14 AM. |