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

rtmpdumphelper overwrites captured stream

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

Marzo 12-02-2012 05:39 PM

rtmpdumphelper overwrites captured stream


 
Is there a way to keep rtmpdumphelper from overwriting an already captured portion of the stream when such streams fails, even if it does not resume?

markj801 12-11-2012 03:13 PM

Re: rtmpdumphelper overwrites captured stream


 
I have the same issue. Is there a way to recover the file that it overwrote? I don't really care about the new one, but I want the old file back that the new one overwrote.

minipc 02-20-2013 06:47 PM

Re: rtmpdumphelper overwrites captured stream


 
actually the problem lies with the underlying rtmpsuck app which bases the filename used to save the stream on the stream's playpath. if the restarted stream uses the same playpath, the filename will be the same and any previous recording will be overwritten. my solution was to compile a custom build of rtmpsuck which uses a filename to save a stream based on its playpath with an appended timestamp of when the stream started playing.

Larry 02-28-2013 07:44 AM

Re: rtmpdumphelper overwrites captured stream


 
Quote:

Originally Posted by minipc (Post 59879)
actually the problem lies with the underlying rtmpsuck app which bases the filename used to save the stream on the stream's playpath. if the restarted stream uses the same playpath, the filename will be the same and any previous recording will be overwritten. my solution was to compile a custom build of rtmpsuck which uses a filename to save a stream based on its playpath with an appended timestamp of when the stream started playing.

It would be nice to know how to do this - how did you compile for windows or other OS?

Larry 03-06-2013 05:53 AM

Re: rtmpdumphelper overwrites captured stream


 
Ok so I am trying to compile rtmpdump after making some choice edits to the source code... ;)

But I can't get it to compile correctly. After I comile it complains tha the libz-1.dll is missing.. I am using mingw and have installed zlib 1.2.7 so it should work...

any ideas?

gastone 03-06-2013 07:21 AM

Re: rtmpdumphelper overwrites captured stream


 
You could copy libz-1.dll in the same folder you have rtmpdump.exe, but it's easier to build a static rtmpdump with
Code:

make SYS=mingw XLDFLAGS=-static
.

Larry 03-06-2013 01:10 PM

Re: rtmpdumphelper overwrites captured stream


 
Quote:

Originally Posted by gastone (Post 60354)
You could copy libz-1.dll in the same folder you have rtmpdump.exe, but it's easier to build a static rtmpdump with
Code:

make SYS=mingw XLDFLAGS=-static
.

Oh thanks for this! I feel so foolish now.. its been ages since I have had to compile like this.

my code works nicely, but I am having some other issues with flash... on a chat board.. I will probably have to look at some other build solutions.

alexanderd 03-28-2013 11:11 AM

Re: rtmpdumphelper overwrites captured stream


 
Did anybody overcome that overwriting problem?
If so, could you post compiled exe for windows, please?
Thank you very much!

alexanderd 04-22-2013 02:33 AM

Re: rtmpdumphelper overwrites captured stream


 
Great news! That problem will be fixed soon (if not already).
Customized rtmpdump binaries with patch file


All times are GMT -6. The time now is 07:03 PM.