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

broken-after-resume download,rtmpdump shows corrupt file!

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

Centerall 07-09-2012 12:52 AM

broken-after-resume download,rtmpdump shows corrupt file!


 
When I first use rtmpdump to download "rtmpe://" stream to local file system files,it works very well.
but if I close it when the download percent comes to 1% more or less, and then I try to resume the previous download process with the more arguments '-e',mostly I will get a failure with tips of such words listed as below(of course , sometimes it doesn't fail ,I am thinking that maybe this has much with the previous download percent value,is this right ?):

"Last tag size must be greater/equal zero (prevTagSize=-1919074145) and smaller then filesize, corrupt file!"

To rtmpdump,why this happens,how to avoid this,and does this mean rtmpdump.exe supports broken-after-resume download not very well or perfectly?
I know one project directly from rtmpdump.exe named flvstreamer,and it seems to do better at this point.So,what way goes in detail?

KSV 07-09-2012 11:26 PM

Re: broken-after-resume download,rtmpdump shows corrupt file!


 
Try with this script.

Centerall 07-10-2012 11:04 PM

Re: broken-after-resume download,rtmpdump shows corrupt file!


 
Wonderful scripts.I am not very skilled at php,but shall get to it.Thanks very much.;)


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