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 03-14-2012, 10:26 AM
trebla trebla is offline
Junior Member
 
Join Date: Mar 2012
Posts: 5
trebla is on a distinguished road
Default

help, rtmp livestream connection get disconnected after 4 hours


Hi,
I am having issue with recording a livestream. The connection gets disconnected around 4 hours. I tried setting the duration parameter in the "play" message to no avail. Are there any other parameters that need to be set or server message that a client needs to reply in order to prevent the issue. In a wireshark trace, it is the server sending a tcp "FIN" to initiate the disconnection. In rtmpdump trace prior to the tcp disconnect there are no unusual message being dumped out. I am just running out of idea now, any help or pointer would be greatly appreciated. Thanks.
Reply With Quote
  #2  
Old 03-15-2012, 12:58 AM
Stream Ripper Stream Ripper is offline
Super Moderator
 
Join Date: Feb 2007
Location: World
Posts: 886
Stream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond repute
Default

Re: help, rtmp livestream connection get disconnected after 4 hours


Giving us the URL for the live stream might be a good start...

Reply With Quote
  #3  
Old 03-15-2012, 03:41 PM
trebla trebla is offline
Junior Member
 
Join Date: Mar 2012
Posts: 5
trebla is on a distinguished road
Default

Re: help, rtmp livestream connection get disconnected after 4 hours


Here are the rtmpdump command parameters:

rtmpdump -r rtmp://cp87869.live.edgefcs.net
-s file:///mac.flv
-t rtmp://cp87869.live.edgefcs.net/live
-a live
-y us_100@21007
-p file:///mac.html
-f "LNX 9,0,48,0"
--live
-o test.flv

Thank you very much.
Reply With Quote
  #4  
Old 03-22-2012, 02:32 PM
trebla trebla is offline
Junior Member
 
Join Date: Mar 2012
Posts: 5
trebla is on a distinguished road
Default

Re: help, rtmp livestream connection get disconnected after 4 hours


I think that the server stops transmitting media data when the server-to-client bytes approaching 4G. Are there any parameters on the server side that may have an impact on this? Any idea? Thanks.
Reply With Quote
  #5  
Old 03-23-2012, 06:17 PM
compn compn is offline
Stream recording expert
 
Join Date: Sep 2006
Posts: 128
compn has a spectacular aura aboutcompn has a spectacular aura aboutcompn has a spectacular aura about
Default

Re: help, rtmp livestream connection get disconnected after 4 hours


4gb is the filesize limit on FAT32 formatted harddisks.

is your drive formatted in fat32 ?
Reply With Quote
  #6  
Old 03-25-2012, 05:15 PM
trebla trebla is offline
Junior Member
 
Join Date: Mar 2012
Posts: 5
trebla is on a distinguished road
Default

Re: help, rtmp livestream connection get disconnected after 4 hours


I have disabled the msgQueue and FLVCache on the server side, presumably, I think the server should just pass the published live stream to client without buffering or caching it in a temporary file. But, who knows. I am still trying to find out which parameter is responsible for it... Thanks for the response...
Reply With Quote
  #7  
Old 03-26-2012, 11:32 PM
compn compn is offline
Stream recording expert
 
Join Date: Sep 2006
Posts: 128
compn has a spectacular aura aboutcompn has a spectacular aura aboutcompn has a spectacular aura about
Default

Re: help, rtmp livestream connection get disconnected after 4 hours


i mean, is the harddrive you run rtmpdump on formatted as fat32?

are you recording your stream using rtmpdump on windows ? if so, there was a bug in mingw that breaks reading files over 4gb.
Reply With Quote
  #8  
Old 03-28-2012, 08:03 AM
trebla trebla is offline
Junior Member
 
Join Date: Mar 2012
Posts: 5
trebla is on a distinguished road
Default

Re: help, rtmp livestream connection get disconnected after 4 hours


I have tried sending the output to /dev/null to no avail. I tried to run two separate instances with one hour apart. The first instance failed when the server-to-client bytes reached ~4G while the second instance was still receiving data, then the second instance failed only when the same condition occurred. I tend to think the issue is per session on the server side. Thanks.
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:31 PM.


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