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 > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 12-23-2012, 06:58 PM
NaRu7o NaRu7o is offline
Junior Member
 
Join Date: Dec 2012
Posts: 1
NaRu7o is on a distinguished road
Default

RTMPSrv (RTMPDump) output file being overwritten


I have RTMPDumpHelper v1.15 with RTMPDump 2.3 (I know I can upgrade, but this works well enough) and for some reason, whenever I grab an FLV file on RTMPE, it will overwrite the previous file with the same name. Not only will it do it to a previous file, if I somehow duplicate the stream (accidentally refresh the page, it tries to begin the stream again, or load a different video with the same output name) it will overwrite the currently downloading stream. If I let it finish, the final file will be perfectly fine and everything will work. However, it is treating it like 2 separate connections so it's downloading twice as much data to get the file, and sometimes I don't even get one of the videos. Now that's not really the issue, but I know it's happening and is pushing me closer to my cap everytime it does that so it's annoying. What I would like to know, is there a setting somewhere that I can change so it makes a unique filename whenever it tries to download a video or allow me to input a filename before downloading? I've searched before and maybe I was using the wrong terms, but I've only found one instance that makes mention to this exact problem, but it was for RTMPSuck. If you must know where I'm encountering this problem, the site I usually have difficulties with is CrunchyRoll since everything is considered "video.flv" on that site. Occasionally I get the duplicate stream problem from Hulu where it'll refresh the page as I leave (same site, different page, usually going back a page. but not when I close the window) and begin the whole download over again. Not normally an issue since it's at <5%, but then it has to download the entire thing twice, concurrently (sometimes at vastly different rates) and is doubling my internet usage to get a single file. Again, I figured out how to deal with that so that's not what's bugging me, but the same issue still has some weight with my main problem since it's writing to the same file twice.

Basically, can I, or anyone else, edit the program so that it makes a unique name for every file it creates and prevent anything from being overwritten? Would updating to a later version help? I believe I tried 2.5 and it didn't work right so I reverted back to 2.3 that came with RTMPDumpHelper (as far as I know. I could just be using a random ZIP I found for RTMPDump)
Reply With Quote
  #2  
Old 12-23-2012, 09:43 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: RTMPSrv (RTMPDump) output file being overwritten


Quote:
Originally Posted by NaRu7o
Not only will it do it to a previous file, if I somehow duplicate the stream (accidentally refresh the page, it tries to begin the stream again, or load a different video with the same output name) it will overwrite the currently downloading stream.
Starting with RtmpSrv v2.4-70-gab3dc21, you can supply the "-i" parameter.

Code:
This is just a stub for an RTMP server. It doesn't do anything beyond
obtaining the connection parameters from the client.

-c, --cert cert         RTMPS cert
-h, --help              Prints this help screen.
-i, --printonly         Print RtmpDump command and exit
-k, --key key           RTMPS key
-p, --port port         Overrides the port in the rtmp url
-v, --version           Print version information and exit
-z, --debug             Debug level command output.
github.com/svnpenn/rtmpdump/commit/ab3d
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 11:39 PM.


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