[rtmpdump] rtmpdump 2.4: bails at the 4 GB mark?
compn
tempn at twmi.rr.com
Mon Jul 30 14:25:53 CEST 2012
On Mon, 30 Jul 2012 16:49:27 +1200, David Sainty wrote:
>On Sun, 2012-07-29 at 22:14 -0500, Steven Penny wrote:
>> Jul 29, 2012 jc wrote:
>> > 4189728.217 kB / 9884.00 sec (71.3%)
>>
>> Welcome to the world of 32-bit address space.
>>
>> http://wikipedia.org/wiki/32-bit
>>
>> You will need to compile 64-bit RtmpDump to fix this.
>
>That shouldn't be the case, so long as off_t is used appropriately...
>
>Unless the system in question has a 32 bit off_t of course...
iirc the default mingw lacked the proper off_t , if the following patch
was applied, files larger than 4gb would work. this old patch is from
win32 mingw mplayer builds:
http://oss.netfarm.it/mplayer/misc/mingwrt_file64.diff
this is fixed in the mingw-w64 fork of mingw.
so if you build with the mingw-w64 toolchain it will work ok.
http://mingw-w64.sourceforge.net/
note: i havent checked if current mingw has fixed this either. i dont
know which toolchains we've been using to build mingw binaries.
-compn
More information about the rtmpdump
mailing list