Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

Downloads in Chunks

(http://stream-recorder.com/forum/showthread.php?t=14546)

NeonFlash 11-23-2012 08:35 AM

Downloads in Chunks


 
hi,

i wanted to know if it is possible to make rtmpdump download data from the flash media server in larger chunks?

for instance, I observed while the file is being downloaded, the client downloads small chunks of data from the server, then pauses and resumes again.

this is how the output looks like:

Code:

INFO: Metadata:
39281.112 kB / 143.28 sec
INFO: Metadata:
41800.743 kB / 143.64 sec
INFO: Metadata:
44534.287 kB / 155.89 sec
INFO: Metadata:
47175.930 kB / 155.47 sec
INFO: Metadata:
49876.879 kB / 164.72 sec
INFO: Metadata:
52518.956 kB / 166.41 sec
INFO: Metadata:
55346.530 kB / 178.43 sec
INFO: Metadata:
58140.941 kB / 180.48 sec
INFO: Metadata:
61033.553 kB / 189.11 sec
INFO: Metadata:
63700.942 kB / 186.04 sec
INFO: Metadata:
66370.215 kB / 194.83 sec
INFO: Metadata:
69029.801 kB / 197.94 sec
INFO: Metadata:
71688.603 kB / 207.16 sec

is there a way to speed this up so that the my complete internet bandwidth is utilized?

As I understand from this wiki page of RTMP:

http://wiki.multimedia.cx/index.php?title=RTMP

each packet is transmitted in chunks and it is possible for the client to increase the chunk size.

2 questions:

1. is it possible to change the chunk size in rtmpdump?
2. will increasing the chunk size help in accelerating the download from flash media server and help me in utilizing the full bandwidth?

thanks :)

srpenn82 11-23-2012 02:28 PM

Re: Downloads in Chunks


 
Quote:

Originally Posted by Forum rules v1.1
If you truly want definitive answers quickly and without
delay, please include link(s) to the web-page(s) with video(s)


stream-recorder.com/forum/announcement.php?f=4

hyc 11-23-2012 04:00 PM

Re: Downloads in Chunks


 
Quote:

Originally Posted by NeonFlash (Post 56698)
hi,

i wanted to know if it is possible to make rtmpdump download data from the flash media server in larger chunks?

2 questions:

1. is it possible to change the chunk size in rtmpdump?
2. will increasing the chunk size help in accelerating the download from flash media server and help me in utilizing the full bandwidth?

thanks :)

1. No.
2. No.

To be more specific
(1) the server chooses its chunksize. The client chooses its own chunksize too, but that obviously is irrelevant here since the client is downloading.
(2) the server controls how fast it transmits data.


All times are GMT -6. The time now is 05:36 PM.