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 12-02-2012, 06:39 PM
Marzo Marzo is offline
Junior Member
 
Join Date: Oct 2012
Posts: 2
Marzo is on a distinguished road
Default

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?
Reply With Quote
  #2  
Old 12-11-2012, 04:13 PM
markj801 markj801 is offline
Junior Member
 
Join Date: Dec 2012
Posts: 1
markj801 is on a distinguished road
Default

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.
Reply With Quote
  #3  
Old 02-20-2013, 07:47 PM
minipc minipc is offline
Member
 
Join Date: Apr 2011
Posts: 37
minipc is on a distinguished road
Default

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.
Reply With Quote
  #4  
Old 02-28-2013, 08:44 AM
Larry Larry is offline
Junior Member
 
Join Date: Feb 2013
Posts: 9
Larry is on a distinguished road
Default

Re: rtmpdumphelper overwrites captured stream


Quote:
Originally Posted by minipc View Post
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?

Last edited by Larry : 02-28-2013 at 10:33 AM. Reason: typo
Reply With Quote
  #5  
Old 03-06-2013, 06:53 AM
Larry Larry is offline
Junior Member
 
Join Date: Feb 2013
Posts: 9
Larry is on a distinguished road
Default

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?
Reply With Quote
  #6  
Old 03-06-2013, 08:21 AM
gastone gastone is offline
Junior Member
 
Join Date: Aug 2012
Posts: 17
gastone is on a distinguished road
Default

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
.
Reply With Quote
  #7  
Old 03-06-2013, 02:10 PM
Larry Larry is offline
Junior Member
 
Join Date: Feb 2013
Posts: 9
Larry is on a distinguished road
Default

Re: rtmpdumphelper overwrites captured stream


Quote:
Originally Posted by gastone View Post
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.
Reply With Quote
  #8  
Old 03-28-2013, 12:11 PM
alexanderd alexanderd is offline
Junior Member
 
Join Date: Mar 2013
Posts: 9
alexanderd is on a distinguished road
Default

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!
Reply With Quote
  #9  
Old 04-22-2013, 03:33 AM
alexanderd alexanderd is offline
Junior Member
 
Join Date: Mar 2013
Posts: 9
alexanderd is on a distinguished road
Default

Re: rtmpdumphelper overwrites captured stream


Great news! That problem will be fixed soon (if not already).
Customized rtmpdump binaries with patch file
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:45 AM.


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