rtmpdump 2.4: bails at the 4 GB mark?
/Jul 31, 2012 jc wrote />>/ How can I do this on Darwin, which doesn't make use of mingw? I had a quick />>/ look through the source and notice in librtmp/rtmp.c the following codeS( is />>/ it as simple as switching off_t on there? />/ />/I believe this quote is apropos />/ />/Sep 30, 2011 Howard Chu wrote />>/ There is nothing to "port". Build with 64-bit />>/compiler switches, get a 64 bit />/ > binary. />>
Not quite, in all darwin versions including iOS, off_t is and has always been 64-bit.
I'm running into the same issue. I compiled it on my 64bit machine but I don't think that's going to fix the issue as the rtmpdump binary in most package repos is already "64bit". Chris
/Jul 31, 2012 jc wrote />>/ How can I do this on Darwin, which doesn't make use of mingw? I had a quick />>/ look through the source and notice in librtmp/rtmp.c the following codeŠ is />>/ it as simple as switching off_t on there? />/ />/I believe this quote is apropos />/ />/Sep 30, 2011 Howard Chu wrote />>/ There is nothing to "port". Build with 64-bit />>/compiler switches, get a 64 bit />/ > binary. />>
Not quite, in all darwin versions including iOS, off_t is and has always been 64-bit.
I'm running into the same issue. I compiled it on my 64bit machine but I don't think that's going to fix the issue as the rtmpdump binary in most
Chris Cullen wrote: package repos is already "64bit". I haven't looked too deeply into this but it appears that this is a limitation of the RTMP protocol itself. In particular, the SendBytesReceived request only accepts a 32 bit integer. Most likely a client has to disconnect and reconnect, starting at a later timestamp, to retrieve something larger. You would probably need to get a wireshark capture of an Adobe client retrieving the same stream to know for sure.
On 1 August 2012 16:44, Chris Cullen <amrit@cs.byu.edu> wrote:
Jul 31, 2012 jc wrote
How can I do this on Darwin, which doesn't make use of mingw? I had a quick look through the source and notice in librtmp/rtmp.c the following codeŠ is it as simple as switching off_t on there?
I believe this quote is apropos
Sep 30, 2011 Howard Chu wrote
There is nothing to "port". Build with 64-bit compiler switches, get a 64 bit binary.
Not quite, in all darwin versions including iOS, off_t is and has always been 64-bit.
I'm running into the same issue. I compiled it on my 64bit machine but I don't think that's going to fix the issue as the rtmpdump binary in most package repos is already "64bit".
Chris
I also compiled on 64 bit (AMD64 Ubuntu Maverick) to try to fix downloading a stream greater than 4G (BBC Olympic opening ceremony). I tried compiling the library with " _FILE_OFFSET_BITS = 64" enabled. This didn't work either. So I think that the problem is another 32 bit overflow somewhere else in rtmpdump. Bill.
On 8/1/2012 10:08 AM, Bill Denton wrote:
I also compiled on 64 bit (AMD64 Ubuntu Maverick) to try to fix downloading a stream greater than 4G (BBC Olympic opening ceremony). I tried compiling the library with " _FILE_OFFSET_BITS = 64" enabled. This didn't work either. So I think that the problem is another 32 bit overflow somewhere else in rtmpdump.
Bill. Here is the error it gives with out verbosity on as well as the size
ERROR: RTMP_ReadPacket, failed to read RTMP packet header 4189361.555 kB Chris
participants (3)
-
Bill Denton -
Chris Cullen -
Howard Chu