A problem with rtmpdump on a flakey internet connection
Jeremy Nicoll - ml get_iplayer
jn.ml.gti.91 at wingsandbeaks.org.uk
Sun Jul 13 16:04:44 PDT 2014
dinkypumpkin <dinkypumpkin at gmail.com> wrote:
> You can use --rtmp-tv-opts or --rtmp-radio-opts to override the default
> and avoid making changes to the script.
Ah. I did look at the longhelp for the perl program but looked for
timeout-related things and overlooked rtmp- prefixed options.
I just tried adding: --rtmp-tv-opts "--timeout 96"
to a command, and this is what happened:
...
...
INFO: Command: "rtmpdump.exe" "--port" "1935" "--protocol" "0" "--playpath"
"mp4:secure/1500kbps/m
odav/bUnknown-0d682881-0362-47eb-af8c-77d0e3025ad5_b047lx22_1405030329933.mp4?auth=daEbQdYdJdAaDaT
bUcidMcjdLaQafbCdKaH-btWW0I-bWG-DqlGFqCnOBsFtyK&aifp=v001&slist=secure/1500kbps/modav/bUnknown-0d6
82881-0362-47eb-af8c-77d0e3025ad5_b047lx22_1405030329933.mp4" "--host"
"cp41752.edgefcs.net" "--sw
fVfy"
"http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf
" "--tcUrl"
"rtmp://cp41752.edgefcs.net:80/ondemand?_fcs_vhost=cp41752.edgefcs.net&undefined&auth=
daEbQdYdJdAaDaTbUcidMcjdLaQafbCdKaH-btWW0I-bWG-DqlGFqCnOBsFtyK&aifp=v001&slist=secure/1500kbps/mod
av/bUnknown-0d682881-0362-47eb-af8c-77d0e3025ad5_b047lx22_1405030329933.mp4"
"--app" "ondemand?_fc
s_vhost=cp41752.edgefcs.net&undefined&auth=daEbQdYdJdAaDaTbUcidMcjdLaQafbCdKaH-btWW0I-bWG-DqlGFqCn
OBsFtyK&aifp=v001&slist=secure/1500kbps/modav/bUnknown-0d682881-0362-47eb-af8c-77d0e3025ad5_b047lx
22_1405030329933.mp4" "--pageUrl"
"http://www.bbc.co.uk/iplayer/episode/b047lx52/A_Century_in_Film
_From_Scotland_with_Love/" "--timeout" "96" "--resume" "-o"
"C:\GiP\$GRAB-SN130-001529 T=A Century
in Film S=s01e01 E=A Century in Film From Scotland with Love M=flashvhigh
Z=4260 F=2014-06-22 L=2
014-07-13.partial.mp4.flv" "--timeout" "90" "--verbose"
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMP
DEBUG: Hostname : cp41752.edgefcs.net
DEBUG: Port : 1935
...
DEBUG: live : no
DEBUG: timeout : 90 sec <-----------------------
DEBUG: SWFSHA256:
...
which is to say, although '"--timeout" "96"' did get inserted into the
rtmpdump command that the perl app issued, it was overridden by the
hard-coded value (still my 90 rather than 10) in the perl app.
--
Jeremy Nicoll - my opinions are my own.
More information about the get_iplayer
mailing list