Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 06-23-2010, 03:42 PM
ozBillo ozBillo is offline
Junior Member
 
Join Date: Jun 2010
Posts: 2
ozBillo is on a distinguished road
Question

Filesize of RTMP stream


Hi,

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
Reply With Quote
  #2  
Old 06-26-2010, 01:55 AM
Ed999 Ed999 is offline
Senior Member
 
Join Date: Feb 2009
Posts: 115
Ed999 is on a distinguished road
Default

Using the -W switch


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"
Reply With Quote
  #3  
Old 06-26-2010, 06:07 AM
ozBillo ozBillo is offline
Junior Member
 
Join Date: Jun 2010
Posts: 2
ozBillo is on a distinguished road
Default

Re: Filesize of RTMP stream


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?
Reply With Quote
  #4  
Old 07-15-2010, 09:55 PM
Ed999 Ed999 is offline
Senior Member
 
Join Date: Feb 2009
Posts: 115
Ed999 is on a distinguished road
Default

Re: Filesize of RTMP stream


RTMPdump 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.
Reply With Quote
Reply Post New Thread
Tags: , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:16 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons