Stream corrupt error and then rtmpdump goes nuts!
Neill Mitchell
neill at nlkmitchell.com
Mon Dec 31 06:36:02 EST 2012
Hi.
I have been trying a number of things and I think the problem might be
the very opposite! I recently upgraded to BT Infinity 2. I'm within
sight of the box, so I'm getting the full 80Mbit/s. I think the problem
is my connection is simply too fast and floods rtmpdump's buffer before
it has a chance to start processing it. Hence the out of sequence packet
type errors.
The download always fails within the first 256Kbytes. If it gets past
that initial stage the download never fails.
I also tried running it on an old laptop. On it's g wireless connection
about 7 out of 10 downloads fail. So pretty bad. If I use the wired
connection it always fails. it simply will not work at all. This also
points to some kind of buffer overflow problem.
On my desktop machine I then began artificially throttling my connection
via the firewall. Once I drop it down to around 30MBits, then it starts
getting reliable.
I've also tried hacking the size of the buffer from 64x1024 to 512x1024
bytes in rtmpdump.c and this improves things, but still fails regularly.
I can send dumps if anyone wants them, but it does not give any more
info than the error messages I've already posted really.
Any suggestions greatly appreciated!
Cheers
Neill.
On 30/12/12 18:23, Alexis Fotiadis wrote:
> On 21 December 2012 16:57, Neill Mitchell <neill at nlkmitchell.com> wrote:
>>> I'm running the latest git versions of get_iplayer and rtmpdump on Ubuntu
>>> 12.10. I am regularly having failures downloading programmes now.
>> exactly which versions? which programmes? have you tried the repo
>> here: ppa:jon-hedgerows/get-iplayer-testing or here:
>> ppa:jon-hedgerows/get-iplayer (-testing is notionally less stable,
>> but it's the one I use so if it breaks it gets fixed pretty quickly)
>> or are you rolling your own?
> I used to have the same problem on my old WinXP laptop. Seemed to be caused
> by very unstable wireless connection; drop-outs caused rtmpdump to hang and
> overload. Temp solution was to kill rtmpdump from TaskManager, delete the
> temporary file in the get_iPlayer temp folder, and restart the download.
> I didn't try on a wired connection to check if that stopped it happening.
>
> See a similar rtmpdump issue in RadioDownloader
> http://bugzilla.nerdoftheherd.com/show_bug.cgi?id=588
>
>
More information about the get_iplayer
mailing list