4GB filesize limit

Paul Phillips paulphillipsdidsbury at gmail.com
Fri Feb 14 10:11:38 EST 2014


Is it possible to use the rtmpdump mod on Windows?  These instructions
are above my technical level, but I think they are wholly linux.


>
> On 13/02/2014 22:17, Dave Lambley wrote:
>>
>> It might be worth trying this recording on a machine running a 64 bit
>> build of rtmpdump.  Probably on 64 bit Linux.
>
>
> The 4GB limit is hit even with 64-bit rtmpdump and OS. However, when the
> server stops the stream, 64-bit rtmpdump can recover by resuming the
> download as usual, though there is no guarantee it will always resume
> properly.  32-bit rtmpdump apparently fails to resume properly, possibly due
> a 32-bit integer overflow, but I'm not sure about that.  The rtmpdump build
> used by Windows get_iplayer is 32-bit.
>
> The only way I know to potentially complete the download in one go is to use
> a small hack to rtmpdump so that it never reports receipt of more than 4GB
> of data, which seems a bit naughty.  Nevertheless, if your machine and
> upstream network can sustain the connection, it is possible:
>
> http://pastebin.com/raw.php?i=XgxcvEMM
>
> This should work for 32-bit and 64-bit rtmpdump.  If you want to try it
> yourself, you can clone my rtmpdump repo and check out the "4GB" branch to
> build rtmpdump with the necessary modification:
>
> git clone https://github.com/dinkypumpkin/rtmpdump.git
>
> See the README and Makefile for build info.  I recommend building with
> SHARED=no for static linking of librtmp.
>
> Use --rtmpdump to instruct get_iplayer to use the alternate build of
> rtmpdump.  If your output directory is on a NAS, you also may wish use --raw
> to avoid the wait for re-muxing and tagging.
>
>
>
> _______________________________________________
> get_iplayer mailing list
> get_iplayer at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer



-- 
Paul Phillips



More information about the get_iplayer mailing list