PDA

View Full Version : rtmpdumphelper overwrites captured stream


Marzo
12-02-2012, 05:39 PM
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
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
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
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
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
You could copy libz-1.dll in the same folder you have rtmpdump.exe, but it's easier to build a static rtmpdump with make SYS=mingw XLDFLAGS=-static.

Larry
03-06-2013, 01:10 PM
You could copy libz-1.dll in the same folder you have rtmpdump.exe, but it's easier to build a static rtmpdump with 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
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
Great news! That problem will be fixed soon (if not already).
Customized rtmpdump binaries with patch file (http://stream-recorder.com/forum/customized-rtmpdump-binaries-patch-file-t16103.html)