Get_iplayer on Raspberry Pi
tommy
myname at imagine.fsworld.co.uk
Wed May 30 19:22:25 EDT 2012
I can replicate the problem on my pi by disconnecting/reconnecting my
router during a download: rtmpdump hangs, with 98% usage, and has to
be killed.
rtmp output:
366873.634 kB / 1121.84 sec (66.6%)
ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 67591
htop:
CPU[||||||||||||||||||||||||||||||||||||||||||||||||100.0%]
Tasks: 128 total, 2 running
Mem[||||||||||||||||||||||||||||||||||||||||||||||71/186MB] Load
average: 1.17 0.96 0.55
Swp[ 0/0MB]
Uptime: 1 day, 21:33:03
PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command
28692 pi 20 0 4560 2524 1076 R 93.0 1.3 4:35.35 rtmpdump
--port 1935 --protocol 0 --playpath mp4:3200kbps/b01j8n35
The repositories (main debian and deb-multimedia) don't seem to have
the latest versions of RTMPDump (v2.3) or ffmpeg. Upgrading to v2.4
from git (along with git versions of ffmpeg and get_iplayer) seems to
solve the problem, as it then resumes successfully:
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
191759.117 kB / 0.00 sec
INFO: Connection timed out, trying to resume.
tommy
More information about the get_iplayer
mailing list