[rtmpdump] rtmpdump 2.4: bails at the 4 GB mark?

Bill Denton dentonwe at gmail.com
Wed Aug 1 18:08:14 CEST 2012


On 1 August 2012 16:44, Chris Cullen <amrit at 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.


More information about the rtmpdump mailing list