Here's my debug output:
- Code: Select all
boss@ukboss:~/.get_iplayer$ get_iplayer --type livetv --get 80000 --debug
DEBUG: Parsing options from /etc/get_iplayer/options:
DEBUG: Loaded option packagemanager (packagemanager) = apt-get
DEBUG: Parsing options from /home/boss/.get_iplayer/options:
DEBUG: Loaded option flvstreamer (flvstreamer) = /home/boss/flvstreamer/flvstreamer
DEBUG: Loaded option radiomode (radiomode) = flashaudio
get_iplayer v2.72, Copyright (C) 2008-2010 Phil Lewis
This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
This is free software, and you are welcome to redistribute it under certain
conditions; use --conditions for details.
INFO: User prefs dir: /home/boss/.get_iplayer
INFO: System options dir: /etc/get_iplayer/options
Current options:
flvstreamer = /home/boss/flvstreamer/flvstreamer
packagemanager = apt-get
radiomode = flashaudio
type = livetv
verbose = 1
INFO: Search args: '80000'
DEBUG: Looking for index 80000 in livetv type
INFO: Additionally getting cached programme data for livetv
INFO: Cache format from existing livetv cache file: index,type,name,pid,available,episode,seriesnum,episodenum,versions,duration,desc,channel,categories,thumbnail,timeadded,guidance,web
INFO: Got 8 file cache entries for livetv
DEBUG: Cache expiry time for livetv is 14400 secs - refresh in 13447 secs
DEBUG: Using desktop user-agent string: 'Opera/9.64 (X11; Linux i686; U; en) Presto/2.1.1'
DEBUG: Using NoCookies user-agent 'Opera/9.64 (X11; Linux i686; U; en) Presto/2.1.1'
Matches:
80000: BBC Four - live
INFO: 1 Matching Programmes
DEBUG: Using desktop user-agent string: 'Opera/9.64 (X11; Linux i686; U; en) Presto/2.1.1'
DEBUG: Using cookies.desktop user-agent 'Opera/9.64 (X11; Linux i686; U; en) Presto/2.1.1'
INFO: iPlayer metadata URL = http://www.bbc.co.uk/iplayer/playlist/bbc_four
INFO: Getting page http://www.bbc.co.uk/iplayer/playlist/bbc_four
DEBUG: No Encoding used on http://www.bbc.co.uk/iplayer/playlist/bbc_four
DEBUG: Block: <?xml version="1.0" encoding="UTF-8"?> <playlist xmlns="http://bbc.co.uk/2008/emp/playlist" revision="1"> <config> <plugin name="iPlayerLiveStats"/> <plugin name="spacesReporting"/> </config> <id>tag:bbc.co.uk,2008:iplayer:bbc_four:playlist</id> <link rel="self" href="http://www.bbc.co.uk/iplayer/playlist/bbc_four" /> <link rel="alternate" href="http://www.bbc.co.uk/iplayer/bbc_four" /> <link rel="holding" href="http://www.bbc.co.uk/iplayer/images/tv/bbc_four_640_360.jpg" width="640" height="360" type="image/jpeg" /> <title>BBC Four</title> <summary /> <updated>2010-03-04T13:06:26Z</updated>
DEBUG: Block: programme
DEBUG: Block: live="true" identifier="bbc_four" group="bbc_four" simulcast="true"> <id>tag:bbc.co.uk,2008:pips:bbc_four</id> <service id="bbc_four" href="http://www.bbc.co.uk/bbc_four">BBC Four</service> <masterbrand id="bbc_four" href="http://www.bbc.co.uk/iplayer/bbc_four">BBC Four</masterbrand> <media kind="video" width="512" height="288" type="video/x-flv" encoding="vp6"> <connection kind="akamai" application="live" identifier="" server="" /> </media> </item> </playlist>
INFO: Using Live TV: http://www.bbc.co.uk/emp/simulcast/bbc_four.xml
INFO: Version: default, VersionPid: http://www.bbc.co.uk/emp/simulcast/bbc_four.xml, Duration:
INFO: Will search for versions: default
INFO: Mode list: flashhd,flashvhigh,flashhigh,flashstd,flashnormal
DEBUG: Trying version 'default'
INFO: Checking existence of default version
INFO: Version = default
DEBUG: Using desktop user-agent string: 'Opera/9.64 (X11; Linux i686; U; en) Presto/2.1.1'
DEBUG: Using cookies.desktop user-agent 'Opera/9.64 (X11; Linux i686; U; en) Presto/2.1.1'
INFO: Getting page http://www.bbc.co.uk/emp/simulcast/bbc_four.xml
DEBUG: No Encoding used on http://www.bbc.co.uk/emp/simulcast/bbc_four.xml
<?xml version="1.0" encoding="UTF-8"?>
<playlist xmlns="http://bbc.co.uk/2008/emp/playlist" revision="1">
<config>
<plugin name="iPlayerLiveStats"/>
<plugin name="spacesReporting"/>
</config>
<id>tag:bbc.co.uk,2008:simulcast:bbc_four:playlist</id>
<link rel="alternate" href="http://www.bbc.co.uk/bbcfour/"/>
<title>BBC Four</title>
<summary>-</summary>
<link rel="holding"
href="http://www.bbc.co.uk/iplayer/images/tv/bbc_four_640_360.jpg" width="640"
height="360" type="image/jpeg"/>
<updated>2008-04-03T18:30:02Z</updated>
<item kind="programme" live="true" simulcast="true" identifier="bbc_four" group="bbc_four">
<id>tag:bbc.co.uk,2008:simulcast:bbc_four</id>
<service id="bbc_four" href="http://www.bbc.co.uk/bbc_four">BBC Four</service>
<masterbrand id="bbc_four" href="http://www.bbc.co.uk/iplayer/bbc_four">BBC Four</masterbrand>
<media kind="video" width="640" height="360" type="video/x-flv" encoding="vp6" bitrate="500">
<connection kind="akamai" application="live" identifier="bbc4cbeebies_simcast@s3178" server="cp56496.live.edgefcs.net" tokenIssuer="akamaiUk" />
</media>
</item>
</playlist>
MEDIA-ELEMENT:
MEDIA-ATTRIBS:
width => 640
bitrate => 500
kind => video
connections => ARRAY(0x13af290)
type => video/x-flv
height => 360
encoding => vp6
CONNECTION-ELEMENT:
identifier => bbc4cbeebies_simcast@s3178
kind => akamai
tokenIssuer => akamaiUk
application => live
server => cp56496.live.edgefcs.net
DEBUG: Using desktop user-agent string: 'Opera/9.64 (X11; Linux i686; U; en) Presto/2.1.1'
DEBUG: Using cookies.desktop user-agent 'Opera/9.64 (X11; Linux i686; U; en) Presto/2.1.1'
INFO: Getting page http://www.bbc.co.uk/mediaselector/4/gtis/stream/?server=cp56496.live.edgefcs.net&identifier=bbc4cbeebies_simcast@s3178&kind=akamai&application=live
DEBUG: No Encoding used on http://www.bbc.co.uk/mediaselector/4/gtis/stream/?server=cp56496.live.edgefcs.net&identifier=bbc4cbeebies_simcast@s3178&kind=akamai&application=live
<?xml version="1.0" encoding="utf-8"?>
<stream version="0.1" >
<server>cp56496.live.edgefcs.net</server>
<identifier>bbc4cbeebies_simcast@s3178</identifier>
<token>dbEaobmcYacc5aebsaVaedmd2b.d3dAa3ap-blJ7eG-c0-d0i_-FonFAnypMBrFvwJ</token>
<kind>akamai</kind>
<application>live</application>
<location>UK</location>
</stream>
DEBUG: Mode flashnormal1 = priority
INFO: Found mode flashnormal1: rtmp vp6 640x360 500kbps stream (CDN: akamai)
INFO: flashnormal1 modes will be tried for version default
INFO: Trying flashnormal1 mode to record livetv: BBC Four - live
INFO: Attempt number: 1 / 1
DEBUG: Substituted '<name> <episode> <dldate> <dltime>' as DEBUG: Substitute (default): 'mode' => 'flashnormal1'
DEBUG: Substitute (default): 'longname' => 'BBC Four'
DEBUG: Substitute (default): 'pid' => 'bbc_four'
DEBUG: Substitute (default): 'desc' => 'Live stream of BBC Four'
DEBUG: Substitute (default): 'nameshort' => 'BBC Four'
DEBUG: Substitute (default): 'streams' => 'unprintable'
DEBUG: Substitute (default): 'durations' => ''
DEBUG: Substitute (default): 'episode' => 'live'
DEBUG: Substitute (default): 'episodeshort' => 'live'
DEBUG: Substitute (default): 'ext' => 'avi'
DEBUG: Substitute (default): 'modeshort' => 'flashnormal'
DEBUG: Substitute (default): 'verpids' => 'http://www.bbc.co.uk/emp/simulcast/bbc_four.xml'
DEBUG: Substitute (default): 'name' => 'BBC Four'
DEBUG: Substitute (default): 'duration' => ''
DEBUG: Substitute (default): 'title' => 'BBC Four'
DEBUG: Substitute (default): 'type' => 'livetv'
DEBUG: Substitute (default): 'guidance' => ''
DEBUG: Substitute (default): 'dldate' => '2010-03-04'
DEBUG: Substitute (default): 'channel' => 'BBC Four'
DEBUG: Substitute (default): 'descmedium' => 'Live stream of BBC Four'
DEBUG: Substitute (default): 'dir' => '/home/boss/.get_iplayer'
DEBUG: Substitute (default): 'versions' => 'default'
DEBUG: Substitute (default): 'web' => 'http://www.bbc.co.uk/iplayer/playlive/bbc_four/'
DEBUG: Substitute (default): 'fileprefix' => '<name> <episode> <dldate> <dltime>'
DEBUG: Substitute (default): 'seriesnum' => ''
DEBUG: Substitute (default): 'available' => ''
DEBUG: Substitute (default): 'thumbnail' => 'http://www.bbc.co.uk/iplayer/img/station_logos/bbc_four.png'
DEBUG: Substitute (default): 'episodenum' => ''
DEBUG: Substitute (default): 'dltime' => '13:09:52'
DEBUG: Substitute (default): 'version' => 'default'
DEBUG: Substitute (default): 'descshort' => 'Live stream of BBC Four'
DEBUG: Substitute (default): 'categories' => ''
DEBUG: Substitute (default): 'timeadded' => '1267707239'
DEBUG: Substitute (default): 'index' => '80000'
'BBC_Four_live_2010-03-04_130952'
INFO: File name prefix = BBC_Four_live_2010-03-04_130952
DEBUG: File prefix: BBC_Four_live_2010-03-04_130952
DEBUG: File ext: avi
DEBUG: Directory: /home/boss/.get_iplayer
DEBUG: Partial Filename: /home/boss/.get_iplayer/BBC_Four_live_2010-03-04_130952.partial.avi
DEBUG: Final Filename: /home/boss/.get_iplayer/BBC_Four_live_2010-03-04_130952.avi
DEBUG: Thumnail Filename: /home/boss/.get_iplayer/BBC_Four_live_2010-03-04_130952.png
DEBUG: Raw Mode:
INFO: /home/boss/flvstreamer/flvstreamer version 2.1
INFO: RTMP_URL: rtmp://cp56496.live.edgefcs.net:1935/live?_fcs_vhost=cp56496.live.edgefcs.net&auth=dbEaobmcYacc5aebsaVaedmd2b.d3dAa3ap-blJ7eG-c0-d0i_-FonFAnypMBrFvwJ&aifp=v001&slist=bbc4cbeebies_simcast@s3178, tcUrl: rtmp://cp56496.live.edgefcs.net:80/live?_fcs_vhost=cp56496.live.edgefcs.net&auth=dbEaobmcYacc5aebsaVaedmd2b.d3dAa3ap-blJ7eG-c0-d0i_-FonFAnypMBrFvwJ&aifp=v001&slist=bbc4cbeebies_simcast@s3178, application: live?_fcs_vhost=cp56496.live.edgefcs.net&auth=dbEaobmcYacc5aebsaVaedmd2b.d3dAa3ap-blJ7eG-c0-d0i_-FonFAnypMBrFvwJ&aifp=v001&slist=bbc4cbeebies_simcast@s3178, authString: dbEaobmcYacc5aebsaVaedmd2b.d3dAa3ap-blJ7eG-c0-d0i_-FonFAnypMBrFvwJ, swfUrl: http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796, file: /home/boss/.get_iplayer/BBC_Four_live_2010-03-04_130952.partial.avi, file_done: /home/boss/.get_iplayer/BBC_Four_live_2010-03-04_130952.avi
INFO: Command: /home/boss/flvstreamer/flvstreamer --port 1935 --protocol 0 --playpath bbc4cbeebies_simcast@s3178?auth=dbEaobmcYacc5aebsaVaedmd2b.d3dAa3ap-blJ7eG-c0-d0i_-FonFAnypMBrFvwJ&aifp=v001 --host cp56496.live.edgefcs.net --swfUrl http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796 --tcUrl rtmp://cp56496.live.edgefcs.net:80/live?_fcs_vhost=cp56496.live.edgefcs.net&auth=dbEaobmcYacc5aebsaVaedmd2b.d3dAa3ap-blJ7eG-c0-d0i_-FonFAnypMBrFvwJ&aifp=v001&slist=bbc4cbeebies_simcast@s3178 --app live?_fcs_vhost=cp56496.live.edgefcs.net&auth=dbEaobmcYacc5aebsaVaedmd2b.d3dAa3ap-blJ7eG-c0-d0i_-FonFAnypMBrFvwJ&aifp=v001&slist=bbc4cbeebies_simcast@s3178 --live --resume -o /home/boss/.get_iplayer/BBC_Four_live_2010-03-04_130952.partial.avi.flv --timeout 10 --verbose --debug
FLVStreamer v2.1a
(c) 2008-2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: Can't resume live stream, ignoring --resume option
DEBUG: Protocol : RTMP
DEBUG: Hostname : cp56496.live.edgefcs.net
DEBUG: Port : 1935
DEBUG: Playpath : bbc4cbeebies_simcast@s3178?auth=dbEaobmcYacc5aebsaVaedmd2b.d3dAa3ap-blJ7eG-c0-d0i_-FonFAnypMBrFvwJ&aifp=v001
DEBUG: tcUrl : rtmp://cp56496.live.edgefcs.net:80/live?_fcs_vhost=cp56496.live.edgefcs.net&auth=dbEaobmcYacc5aebsaVaedmd2b.d3dAa3ap-blJ7eG-c0-d0i_-FonFAnypMBrFvwJ&aifp=v001&slist=bbc4cbeebies_simcast@s3178
DEBUG: swfUrl : http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796
DEBUG: pageUrl : (null)
DEBUG: app : live?_fcs_vhost=cp56496.live.edgefcs.net&auth=dbEaobmcYacc5aebsaVaedmd2b.d3dAa3ap-blJ7eG-c0-d0i_-FonFAnypMBrFvwJ&aifp=v001&slist=bbc4cbeebies_simcast@s3178
DEBUG: auth : (null)
DEBUG: subscribepath : (null)
DEBUG: flashVer : LNX 10,0,22,87
DEBUG: live : yes
DEBUG: timeout : 10 sec
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect, ... connected, handshaking
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 795041357
DEBUG: HandShake: FMS Version : 3.5.2.1
DEBUG: RTMP_Connect, handshaked
INFO: RTMP_SendPacket: fd=4, size=581
0000: 03 00 00 00 00 02 45 14 00 00 00 00 ......E.....
0000: 02 00 07 63 6f 6e 6e 65 63 74 00 3f f0 00 00 00 ...connect.?....
0010: 00 00 00 03 00 03 61 70 70 02 00 9b 6c 69 76 65 ......app...live
0020: 3f 5f 66 63 73 5f 76 68 6f 73 74 3d 63 70 35 36 ?_fcs_vhost=cp56
0030: 34 39 36 2e 6c 69 76 65 2e 65 64 67 65 66 63 73 496.live.edgefcs
0040: 2e 6e 65 74 26 61 75 74 68 3d 64 62 45 61 6f 62 .net&auth=dbEaob
0050: 6d 63 59 61 63 63 35 61 65 62 73 61 56 61 65 64 mcYacc5aebsaVaed
0060: 6d 64 32 62 2e 64 33 64 41 61 33 61 70 2d 62 6c md2b.d3dAa3ap-bl
0070: 4a 37 65 47 2d 63 30 2d 64 30 69 5f 2d 46 6f 6e J7eG-c0-d0i_-Fon
0000: c3 .
0000: 46 41 6e 79 70 4d 42 72 46 76 77 4a 26 61 69 66 FAnypMBrFvwJ&aif
0010: 70 3d 76 30 30 31 26 73 6c 69 73 74 3d 62 62 63 p=v001&slist=bbc
0020: 34 63 62 65 65 62 69 65 73 5f 73 69 6d 63 61 73 4cbeebies_simcas
0030: 74 40 73 33 31 37 38 00 08 66 6c 61 73 68 56 65 t@s3178..flashVe
0040: 72 02 00 0e 4c 4e 58 20 31 30 2c 30 2c 32 32 2c r...LNX 10,0,22,
0050: 38 37 00 06 73 77 66 55 72 6c 02 00 3a 68 74 74 87..swfUrl..:htt
0060: 70 3a 2f 2f 77 77 77 2e 62 62 63 2e 63 6f 2e 75 p://www.bbc.co.u
0070: 6b 2f 65 6d 70 2f 31 30 70 6c 61 79 65 72 2e 73 k/emp/10player.s
0000: c3 .
0000: 77 66 3f 72 65 76 69 73 69 6f 6e 3d 31 35 35 30 wf?revision=1550
0010: 31 5f 31 35 37 39 36 00 05 74 63 55 72 6c 02 00 1_15796..tcUrl..
0020: be 72 74 6d 70 3a 2f 2f 63 70 35 36 34 39 36 2e .rtmp://cp56496.
0030: 6c 69 76 65 2e 65 64 67 65 66 63 73 2e 6e 65 74 live.edgefcs.net
0040: 3a 38 30 2f 6c 69 76 65 3f 5f 66 63 73 5f 76 68 :80/live?_fcs_vh
0050: 6f 73 74 3d 63 70 35 36 34 39 36 2e 6c 69 76 65 ost=cp56496.live
0060: 2e 65 64 67 65 66 63 73 2e 6e 65 74 26 61 75 74 .edgefcs.net&aut
0070: 68 3d 64 62 45 61 6f 62 6d 63 59 61 63 63 35 61 h=dbEaobmcYacc5a
0000: c3 .
0000: 65 62 73 61 56 61 65 64 6d 64 32 62 2e 64 33 64 ebsaVaedmd2b.d3d
0010: 41 61 33 61 70 2d 62 6c 4a 37 65 47 2d 63 30 2d Aa3ap-blJ7eG-c0-
0020: 64 30 69 5f 2d 46 6f 6e 46 41 6e 79 70 4d 42 72 d0i_-FonFAnypMBr
0030: 46 76 77 4a 26 61 69 66 70 3d 76 30 30 31 26 73 FvwJ&aifp=v001&s
0040: 6c 69 73 74 3d 62 62 63 34 63 62 65 65 62 69 65 list=bbc4cbeebie
0050: 73 5f 73 69 6d 63 61 73 74 40 73 33 31 37 38 00 s_simcast@s3178.
0060: 04 66 70 61 64 01 00 00 0c 63 61 70 61 62 69 6c .fpad....capabil
0070: 69 74 69 65 73 00 40 2e 00 00 00 00 00 00 00 0b ities.@.........
0000: c3 .
0000: 61 75 64 69 6f 43 6f 64 65 63 73 00 40 a8 ee 00 audioCodecs.@...
0010: 00 00 00 00 00 0b 76 69 64 65 6f 43 6f 64 65 63 ......videoCodec
0020: 73 00 40 6f 80 00 00 00 00 00 00 0d 76 69 64 65 s.@o........vide
0030: 6f 46 75 6e 63 74 69 6f 6e 00 3f f0 00 00 00 00 oFunction.?.....
0040: 00 00 00 00 09 .....
DEBUG: Invoking connect
INFO: Connected...
INFO: RTMP_ReadPacket: fd=4
0000: 03 00 00 00 00 00 86 14 00 00 00 00 ............
0000: 02 00 06 5f 65 72 72 6f 72 00 3f f0 00 00 00 00 ..._error.?.....
0010: 00 00 05 03 00 05 6c 65 76 65 6c 02 00 05 65 72 ......level...er
0020: 72 6f 72 00 04 63 6f 64 65 02 00 1e 4e 65 74 43 ror..code...NetC
0030: 6f 6e 6e 65 63 74 69 6f 6e 2e 43 6f 6e 6e 65 63 onnection.Connec
0040: 74 2e 52 65 6a 65 63 74 65 64 00 0b 64 65 73 63 t.Rejected..desc
0050: 72 69 70 74 69 6f 6e 02 00 29 5b 20 41 63 63 65 ription..)[ Acce
0060: 73 73 4d 61 6e 61 67 65 72 2e 52 65 6a 65 63 74 ssManager.Reject
0070: 20 5d 20 3a 20 41 63 63 65 73 73 20 64 65 6e 69 ] : Access deni
INFO: RTMP_ReadPacket: fd=4
0000: c3 .
0000: 65 64 21 00 00 09 ed!...
DEBUG: RTMP_ClientPacket, received: invoke 134 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name., STRING: _error>
DEBUG: Property: <Name: no-name., NUMBER: 1.00>
DEBUG: Property: NULL
DEBUG: Property: <Name: no-name., OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Rejected>
DEBUG: Property: <Name: description, STRING: [ AccessManager.Reject ] : Access denied!>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
INFO: RTMP_ReadPacket: fd=4
0000: 03 00 00 00 00 00 12 14 00 00 00 00 ............
0000: 02 00 05 63 6c 6f 73 65 00 00 00 00 00 00 00 00 ...close........
0010: 00 05 ..
DEBUG: RTMP_ClientPacket, received: invoke 18 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name., STRING: close>
DEBUG: Property: <Name: no-name., NUMBER: 0.00>
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <close>
ERROR: rtmp server requested close
DEBUG: Closing connection.
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file /home/boss/.get_iplayer/BBC_Four_live_2010-03-04_130952.partial.avi.flv via RTMP
DEBUG: Record using flashnormal1 mode return code: 'next'
INFO: skipping flashnormal1 mode
DEBUG: mode_ver_download_retry_loop retcode = 1
ERROR: Failed to record 'BBC Four - live (bbc_four)'
INFO: Loaded history for first check.
boss@ukboss:~/.get_iplayer$
