These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Stream fails to play. Any idea what could be happening?

user-536

I can download using --get, but I'm unable to watch BBC live. Here is the log. Hope someone could tell me if something can be done or if BBC has changed something that made get-iplayer useless to watch streaming. Thanks.

$ get_iplayer --stream --type=livetv "BBC Two"
get_iplayer 2.86-2-g969bd34-ppa17, 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/ddd/.get_iplayer
INFO: System options dir: /etc/get_iplayer/options
INFO: Using Proxy http://xx.xx.xx.xx:80
Current options:
atomicparsley = /usr/bin/AtomicParsley
flvstreamer = /usr/bin/rtmpdump
nowrite = 1
packagemanager = apt
proxy = http://xx.xx.xx.xx:80
rtmpdump = /usr/bin/rtmpdump
stdout = 1
tag_hdvideo = 1
tag_longdesc = 1
tag_utf8 = 1
thumbsize = 150
type = livetv
verbose = 1

INFO: Search args: 'BBC Two','(verbose)'
INFO: Got 8 file cache entries for livetv
INFO: Will refresh channel BBC Three
INFO: Will refresh channel BBC Two
INFO: Will refresh channel CBeebies
INFO: Will refresh channel BBC One
INFO: Will refresh channel BBC News
INFO: Will refresh channel BBC Parliament
INFO: Will refresh channel BBC Alba
INFO: Will refresh channel CBBC
INFO: Will refresh channel BBC Four

Added: 80000: BBC Alba - live
INFO: Search term 'BBC Two' is a substring
DEBUG: Search download_regex = BBC Two
DEBUG: Search channel_regex = .*
DEBUG: Search category_regex = .*
DEBUG: Search versions_regex = .*
DEBUG: Search exclude_regex = ^ROGUE$
DEBUG: Search channel_exclude_regex = ^ROGUE$
DEBUG: Search category_exclude_regex = ^ROGUE$
DEBUG: Search since = 999999
DEBUG: Search before = -999999
INFO: Search term '(verbose)' is a substring
DEBUG: Search download_regex = (verbose)
DEBUG: Search channel_regex = .*
DEBUG: Search category_regex = .*
DEBUG: Search versions_regex = .*
DEBUG: Search exclude_regex = ^ROGUE$
DEBUG: Search channel_exclude_regex = ^ROGUE$
DEBUG: Search category_exclude_regex = ^ROGUE$
DEBUG: Search since = 999999
DEBUG: Search before = -999999
Matches:
80006: BBC Two - live

INFO: 1 Matching Programmes
INFO: Getting page http://feeds.bbc.co.uk/iplayer/episode/bbc_two
INFO: iPlayer metadata URL = http://www.bbc.co.uk/iplayer/playlist/bbc_two
INFO: Getting page http://www.bbc.co.uk/iplayer/playlist/bbc_two
INFO: Using Live TV: http://www.bbc.co.uk/emp/simulcast/bbc_two_england.xml
INFO: Version: default, VersionPid: http://www.bbc.co.uk/emp/simulcast/bbc_two_england.xml, Duration:
INFO: Getting page http://www.bbc.co.uk/emp/simulcast/bbc_two_england.xml
INFO: Getting page http://www.bbc.co.uk/mediaselector/4/mti...wo_england
INFO: Getting page http://www.bbc.co.uk/mediaselector/4/mti...t?cb=67703
INFO: Getting page http://www.bbc.co.uk/mediaselector/4/mti...i?cb=33432
INFO: Getting page http://www.bbc.co.uk/mediaselector/4/mti...t?cb=18671
INFO: Getting page http://www.bbc.co.uk/mediaselector/4/mti...i?cb=76419
INFO: Getting page http://www.bbc.co.uk/mediaselector/4/mti...t?cb=96107
INFO: Getting page http://www.bbc.co.uk/mediaselector/4/mti...i?cb=83913
INFO: Getting page http://www.bbc.co.uk/mediaselector/4/mti...t?cb=75005
INFO: Getting page http://www.bbc.co.uk/mediaselector/4/mti...i?cb=40095
INFO: Found mode flashhigh1: (pc_stream_audio_video_simulcast_uk_v_lm_p005) rtmp h264 640x360 796kbps stream (CDN: limelight/20)
INFO: Found mode flashhigh2: (pc_stream_audio_video_simulcast_uk_v_lm_p005) rtmp h264 640x360 796kbps stream (CDN: akamai/10)
INFO: Found mode flashlow1: (pc_stream_audio_video_simulcast_uk_v_lm_p003) rtmp h264 384x216 368kbps stream (CDN: limelight/20)
INFO: Found mode flashlow2: (pc_stream_audio_video_simulcast_uk_v_lm_p003) rtmp h264 384x216 368kbps stream (CDN: akamai/10)
INFO: Found mode flashstd1: (pc_stream_audio_video_simulcast_uk_v_lm_p004) rtmp h264 512x288 496kbps stream (CDN: limelight/20)
INFO: Found mode flashstd2: (pc_stream_audio_video_simulcast_uk_v_lm_p004) rtmp h264 512x288 496kbps stream (CDN: akamai/10)
INFO: Found mode flashvhigh1: (pc_stream_audio_video_simulcast_uk_v_lm_p006) rtmp h264 704x396 1500kbps stream (CDN: limelight/20)
INFO: Found mode flashvhigh2: (pc_stream_audio_video_simulcast_uk_v_lm_p006) rtmp h264 704x396 1500kbps stream (CDN: akamai/10)
INFO: Found mode rtsphigh1: (pc_stream_audio_video_simulcast_uk_v_lm_p005) rtmp h264 640x360 796kbps stream (CDN: limelight/20)
INFO: Found mode rtsplow1: (pc_stream_audio_video_simulcast_uk_v_lm_p003) rtmp h264 384x216 368kbps stream (CDN: limelight/20)
INFO: Found mode rtspstd1: (pc_stream_audio_video_simulcast_uk_v_lm_p004) rtmp h264 512x288 496kbps stream (CDN: limelight/20)
INFO: Found mode rtspvhigh1: (pc_stream_audio_video_simulcast_uk_v_lm_p006) rtmp h264 704x396 1500kbps stream (CDN: limelight/20)
INFO: Getting page http://www.bbc.co.uk/programmes/http://w...nd.xml.rdf
INFO: Will search for versions: default
INFO: Mode list: flashvhigh,flashhigh,flashstd,flashnormal,flashlow
INFO: Checking existence of default version
INFO: Version = default
INFO: flashvhigh1,flashvhigh2,flashhigh1,flashhigh2,flashstd1,flashstd2,flashlow1,flashlow2 modes will be tried for version default
INFO: Trying flashvhigh1 mode to record livetv: BBC Two - live
INFO: Attempt number: 1 / 50
INFO: File name prefix = BBC_Two_live_2014-07-13_163443
INFO: rtmpver:
INFO: RTMPDump v2.4-n78-git3a1e20c-ppa8~precise
INFO: (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
INFO:
INFO: /usr/bin/rtmpdump: This program dumps the media content streamed over RTMP.
INFO:
INFO: --help|-h Prints this help screen.
INFO: --url|-i url URL with options included (e.g. rtmp://host[:port]/path swfUrl=url tcUrl=url)
INFO: --rtmp|-r url URL (e.g. rtmp://host[:port]/path)
INFO: --host|-n hostname Overrides the hostname in the rtmp url
INFO: --port|-c port Overrides the port in the rtmp url
INFO: --socks|-S host:port Use the specified SOCKS proxy
INFO: --protocol|-l num Overrides the protocol in the rtmp url (0 - RTMP, 2 - RTMPE)
INFO: --playpath|-y path Overrides the playpath parsed from rtmp url
INFO: --playlist|-Y Set playlist before playing
INFO: --swfUrl|-s url URL to player swf file
INFO: --tcUrl|-t url URL to played stream (default: "rtmp://host[:port]/app")
INFO: --pageUrl|-p url Web URL of played programme
INFO: --app|-a app Name of target app on server
INFO: --swfhash|-w hexstring SHA256 hash of the decompressed SWF file (32 bytes)
INFO: --swfsize|-x num Size of the decompressed SWF file, required for SWFVerification
INFO: --swfVfy|-W url URL to player swf file, compute hash/size automatically
INFO: --swfAge|-X days Number of days to use cached SWF hash before refreshing
INFO: --auth|-u string Authentication string to be appended to the connect string
INFO: --conn|-C type:data Arbitrary AMF data to be appended to the connect string
INFO: B:boolean(0|1), S:string, N:number, O:object-flag(0|1),
INFO: Z:(null), NB:name:boolean, NS:name:string, NN:name:number
INFO: --flashVer|-f string Flash version string (default: "LNX 10,0,32,18")
INFO: --live|-v Save a live stream, no --resume (seeking) of live streams possible
INFO: --subscribe|-d string Stream name to subscribe to (otherwise defaults to playpath if live is specifed)
INFO: --realtime|-R Don't attempt to speed up download via the Pause/Unpause BUFX hack
INFO: --flv|-o string FLV output file name, if the file name is - print stream to stdout
INFO: --resume|-e Resume a partial RTMP download
INFO: --timeout|-m num Timeout connection num seconds (default: 30)
INFO: --start|-A num Start at num seconds into stream (not valid when using --live)
INFO: --stop|-B num Stop at num seconds into stream
INFO: --token|-T key Key for SecureToken response
INFO: --jtv|-j JSON Authentication token for Justin.tv legacy servers
INFO: --hashes|-# Display progress with hashes, not with the byte counter
INFO: --buffer|-b Buffer time in milliseconds (default: 36000000)
INFO: --skip|-k num Skip num keyframes when looking for last keyframe to resume from. Useful if resume fails (default: 0)
INFO:
INFO: --quiet|-q Suppresses all command output.
INFO: --verbose|-V Verbose command output.
INFO: --debug|-z Debug level command output.
INFO: If you don't pass parameters for swfUrl, pageUrl, or auth these properties will not be included in the connect packet.
INFO:
INFO: /usr/bin/rtmpdump version 2.4
INFO: RTMP_URL: rtmp://bbcmedia.fc.llnwd.net:1935/ondemand?_fcs_vhost=bbcmedia.fc.llnwd.net&auth=as=adobe-hmac-sha256&av=1&te=connect&mp=s_bbc2_inlet_1500&et=1405269279&fmta-token=0bd8c5d0ae5c6a8ceff5d439a8d9b94145c4bcd7ce8fd28ea1c1a2cc4355d199&aifp=v001&slist=s_bbc2_inlet_1500, tcUrl: rtmp://bbcmedia.fc.llnwd.net:1935/bbcmedia?as=adobe-hmac-sha256&av=1&te=connect&mp=s_bbc2_inlet_1500&et=1405269279&fmta-token=0bd8c5d0ae5c6a8ceff5d439a8d9b94145c4bcd7ce8fd28ea1c1a2cc4355d199, application: bbcmedia?as=adobe-hmac-sha256&av=1&te=connect&mp=s_bbc2_inlet_1500&et=1405269279&fmta-token=0bd8c5d0ae5c6a8ceff5d439a8d9b94145c4bcd7ce8fd28ea1c1a2cc4355d199, authString: as=adobe-hmac-sha256&av=1&te=connect&mp=s_bbc2_inlet_1500&et=1405269279&fmta-token=0bd8c5d0ae5c6a8ceff5d439a8d9b94145c4bcd7ce8fd28ea1c1a2cc4355d199, swfUrl: http://www.bbc.co.uk/emp/releases/iplaye..._4_emp.swf, file: /home/xxx/BBC/BBC_Two_live_2014-07-13_163443.partial.mp4, file_done: /home/xxx/BBC/BBC_Two_live_2014-07-13_163443.mp4


INFO: Command: "/usr/bin/rtmpdump" "--port" "1935" "--protocol" "0" "--playpath" "s_bbc2_inlet_1500" "--host" "bbcmedia.fc.llnwd.net" "--swfVfy" "http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf" "--tcUrl" "rtmp://bbcmedia.fc.llnwd.net:1935/bbcmedia?as=adobe-hmac-sha256&av=1&te=connect&mp=s_bbc2_inlet_1500&et=1405269279&fmta-token=0bd8c5d0ae5c6a8ceff5d439a8d9b94145c4bcd7ce8fd28ea1c1a2cc4355d199" "--app" "bbcmedia?as=adobe-hmac-sha256&av=1&te=connect&mp=s_bbc2_inlet_1500&et=1405269279&fmta-token=0bd8c5d0ae5c6a8ceff5d439a8d9b94145c4bcd7ce8fd28ea1c1a2cc4355d199" "--pageUrl" "" "--timeout" "10" "--verbose"

RTMPDump v2.4-n78-git3a1e20c-ppa8~precise
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
DEBUG: Protocol : RTMP
DEBUG: Hostname : bbcmedia.fc.llnwd.net
DEBUG: Port : 1935
DEBUG: Playpath : s_bbc2_inlet_1500
DEBUG: tcUrl : rtmp://bbcmedia.fc.llnwd.net:1935/bbcmedia?as=adobe-hmac-sha256&av=1&te=connect&mp=s_bbc2_inlet_1500&et=1405269279&fmta-token=0bd8c5d0ae5c6a8ceff5d439a8d9b94145c4bcd7ce8fd28ea1c1a2cc4355d199
DEBUG: swfUrl : http://www.bbc.co.uk/emp/releases/iplaye..._4_emp.swf
DEBUG: pageUrl :
DEBUG: app : bbcmedia?as=adobe-hmac-sha256&av=1&te=connect&mp=s_bbc2_inlet_1500&et=1405269279&fmta-token=0bd8c5d0ae5c6a8ceff5d439a8d9b94145c4bcd7ce8fd28ea1c1a2cc4355d199
DEBUG: live : no
DEBUG: timeout : 10 sec
DEBUG: SWFSHA256:
DEBUG: b6 74 7f 89 f9 ec 6a 60 c1 a4 b5 8b b1 18 b0 fa
DEBUG: 65 18 86 24 c2 8a 1a a3 2f 72 0f 0b 80 59 dd 7f
DEBUG: SWFSize : 595316
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 111 (Connection refused)
DEBUG: Closing connection.

INFO: Command exit code 3 (raw code = 768)

INFO: Streaming failed with exit code 3
DEBUG: Record using flashvhigh1 mode return code: 'abort'
ERROR: aborting get_iplayer

user-2

Try the alternate CDN. Read the "Modes and CDNs" section of the Recording Modes page in wiki. It's possible that you're being rejected by that particular CDN because you're not in the UK, but there is no definitive indication of that in your log.

user-536

I am accessing through a UK ip. As I was able to download (--get) content I discarded the possible fail due to that. I tried several modes, but non of them seem to work (toggle std1-2). Does currently work get-player in streaming mode inside the UK?

DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: RTMP_ClientPacket, received: invoke 16419 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_onbwcheck>
DEBUG: Invoking _result
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 133 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetStream.Failed>
DEBUG: Property: <Name: description, STRING: Failed to play (stream ID: 1).>
DEBUG: Property: <Name: clientid, STRING: qAAwAh3A>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Failed
ERROR: Closing connection: NetStream.Failed
DEBUG: Closing connection.

INFO: Command exit code 1 (raw code = 256)

INFO: Streaming failed with exit code 1
DEBUG: Record using flashvhigh1 mode return code: 'abort'
ERROR: aborting get_iplayer
[0x7fda10006698] main stream error: cannot pre fill buffer

user-536

I have already tried flashstd1, flashstd2, flashhigh1, flashhigh2, vlashvhigh1, flashvhigh2, flashlow1 and flashlow2.

Sometimes I get:
With some modes I get "NetStream.Play.StreamNotFound" with other ones "Netstream.Failed" and with other ones NetConnection.Connect.Rejected (Access denied!) but with none of them work.

I read in a previous post that rtsp modes will not work.

Does the "NetConnection.Connect.Rejected" message means that my connection is getting refused because I am not in the Uk (despite I am able to download)?

user-2

Quote:I am accessing through a UK ip.

If you have a UK IP address, why are you using a proxy? Also, if you are in fact using some kind of DNS-based service, the connections to streaming servers very likely don't show a UK IP address as origin.

Quote:As I was able to download (–get) content I discarded the possible fail due to that.

I presume you mean you can download catch-up content rather than live content - not quite the same thing.

Quote:Does currently work get-player in streaming mode inside the UK?

Of course, but keep in mind that live streaming works poorly in general. Once a live stream starts, it generally keeps going, but it can be difficult to get started.

Quote:Does the “NetConnection.Connect.Rejected” message means that my connection is getting refused because I am not in the Uk (despite I am able to download)?

Yes

user-30

It's my policy here on the get_iplayer forums that we don't condone the use of get_iplayer to download content from outside of the UK. This policy is not yet clearly publicised so you weren't to know, and I intend to write this up shortly in the forums rules.

As it is clear you are accessing iPlayer content from outside the UK, I am going to close this thread as we don't offer support for troubleshooting VPN or proxy use.

(Admin)

These forums are archived

See this post for further info