1
Multimedia ja grafiikka / Vs: Yle Areenan ohjelmien tallentaminen tietokoneelle
« : 17.02.10 - klo:23.43 »
Ongelmia kansainvälisissä kuvayhteyksissä... Mikä neuvoksi?
Koodia: [Valitse]
> uname -a
Linux xxxxxxxx 2.6.25.20-0.5-default #1 SMP 2009-08-14 01:48:11 +0200 x86_64 x86_64 x86_64 GNU/Linux
> /usr/local/bin/yle-dl -V -o test.mp4 http://areena.yle.fi/video/760355
Executing:
/usr/local/bin/rtmpdump-yle --rtmp rtmp://flashk.yle.fi/AreenaServer --swfUrl http://areena.yle.fi/player/Application.swf?build=1 --timeout 60 --pageUrl http://areena.yle.fi/video/760355 -V -o test.mp4 --areenaParams clip:760355;fmsurl:rtmp://flashk.yle.fi/AreenaServer/;foreign_fmsurl:rtmp://flashu.yle.fi/AreenaServer/;language:fi;menu_recommended:true;
RTMPDump-YLE 1.2.0 (based on RTMPDump v2.1c+svn20100206)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team, Antti Ajanki
License: GPL
DEBUG: params: clip:760355;fmsurl:rtmp://flashk.yle.fi/AreenaServer/;foreign_fmsurl:rtmp://flashu.yle.fi/AreenaServer/;language:fi;menu_recommended:true;
DEBUG: Areena Player param: clip:760355
DEBUG: Areena Player param: fmsurl:rtmp://flashk.yle.fi/AreenaServer/
DEBUG: Areena Player param: foreign_fmsurl:rtmp://flashu.yle.fi/AreenaServer/
DEBUG: Areena Player param: language:fi
DEBUG: Areena Player param: menu_recommended:true
DEBUG: Protocol : RTMP
DEBUG: Hostname : flashk.yle.fi
DEBUG: Port : 1935
DEBUG: Playpath : (null)
DEBUG: tcUrl : rtmp://flashk.yle.fi:1935/AreenaServer
DEBUG: swfUrl : http://areena.yle.fi/player/Application.swf?build=1
DEBUG: pageUrl : http://areena.yle.fi/video/760355
DEBUG: app : AreenaServer
DEBUG: auth : (null)
DEBUG: subscribepath : (null)
DEBUG: flashVer : LNX 10,0,22,87
DEBUG: live : no
DEBUG: timeout : 60 sec
DEBUG: ClipID : 760355
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 69989048
DEBUG: HandShake: FMS Version : 3.0.4.1
WARNING: HandShake: client signature does not match!
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleServerBW: server BW = 1000000
DEBUG: HandleClientBW: client BW = 1000000 2
DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: RTMP_ClientPacket, received: invoke 199 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name., STRING: _result>
DEBUG: Property: <Name: no-name., NUMBER: 1.00>
DEBUG: Property: <Name: no-name., OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: vKey, STRING: >
DEBUG: Property: <Name: fmsVer, STRING: FMS/3,0,4,423>
DEBUG: Property: <Name: capabilities, NUMBER: 31.00>
DEBUG: (object end)
DEBUG: Property: <Name: no-name., OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: status>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Success>
DEBUG: Property: <Name: description, STRING: Connection succeeded.>
DEBUG: Property: <Name: objectEncoding, NUMBER: 0.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: YLE_ExecuteInvokedMethod, received result for method call <connect>
DEBUG: RTMP_ClientPacket, received: invoke 108 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name., STRING: authenticationDetails>
DEBUG: Property: <Name: no-name., NUMBER: 0.00>
DEBUG: Property: NULL
DEBUG: Property: <Name: no-name., OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: locatedInBroadcastTerrito, BOOLEAN: TRUE>
DEBUG: Property: <Name: randomAuth, NUMBER: 183324.00>
DEBUG: Property: <Name: tvFeeActivated, BOOLEAN: FALSE>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <authenticationDetails>
DEBUG: RTMP_ClientPacket, received: invoke 38 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name., STRING: randomNumberAuthenticated>
DEBUG: Property: <Name: no-name., NUMBER: 0.00>
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <randomNumberAuthenticated>
DEBUG: Sending requestData (e0) session/authenticate/1
DEBUG: RTMP_ClientPacket, received: invoke 100 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name., STRING: rpcResult>
DEBUG: Property: <Name: no-name., NUMBER: 0.00>
DEBUG: Property: NULL
DEBUG: Property: <Name: no-name., STRING: e0>
DEBUG: Property: <Name: no-name., STRING: {"status":{"code":200,"message":"OK"},"data":{"tvFeeActivated":false}}>
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <rpcResult>
DEBUG: Sending requestData (e1) clips/info/760355
DEBUG: RTMP_ClientPacket, received: invoke 1866 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name., STRING: rpcResult>
DEBUG: Property: <Name: no-name., NUMBER: 0.00>
DEBUG: Property: NULL
DEBUG: Property: <Name: no-name., STRING: e1>
DEBUG: Property: <Name: no-name., STRING: {"status":{"code":200,"message":"OK"},"data":{"title":"Taitoluistelu - Nurmenkaria ei n\u00e4hd\u00e4 en\u00e4\u00e4 olympiakisoissa","alias":"1266380756302","description":"","broadcastDateTime":"","expirationDateTime":"2011-02-17T06:25:56","publ>
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <rpcResult>
DEBUG: Got title: Taitoluistelu - Nurmenkaria ei nähdä enää olympiakisoissa
DEBUG: Got publicationDateTime: 2010-02-17T06:25:56
DEBUG: Got seriesTitle: Vancouverin olympiakisat 2010
DEBUG: This is an Akamai stream
DEBUG: Got the real stream URL: rtmp://akastreaming.yle.fi/vp/fiyle/fi/fiyle_ondemand.xml?gjmf=mp4:flash_fi/areena2/76/03/760357_395379.mp4
DEBUG: Akamai playpath is parsed later...
DEBUG: Downloading Akamai XML from http://akastreaming.yle.fi/vp/fiyle/fi/fiyle_ondemand.xml?gjmf=mp4:flash_fi/areena2/76/03/760357_395379.mp4
DEBUG: Akamai XML:
<XML>
<country>FI</country>
<ip>123.45...mun.ip:-)</ip>
<hostname>cp52710.edgefcs.net</hostname>
<appName>ondemand</appName>
<streamName>mp4:flash_fi/areena2/76/03/760357_395379.mp4</streamName>
<authParams>auth=da_c8dydQaIaja1aDc3b1aAanaYctdMbhcs-blFgbL-E-nnH-l6n7&aifp=v01</authParams>
</XML>
INFO: Akamai host : cp52710.edgefcs.net
INFO: Akamai app : ondemand
INFO: Akamai playpath : mp4:flash_fi/areena2/76/03/760357_395379.mp4?auth=da_c8dydQaIaja1aDc3b1aAanaYctdMbhcs-blFgbL-E-nnH-l6n7&aifp=v01=v01
INFO: Akamai tcUrl : rtmp://cp52710.edgefcs.net/ondemand
DEBUG: Protocol : RTMP
DEBUG: Hostname : cp52710.edgefcs.net
DEBUG: Port : 1935
DEBUG: Playpath : mp4:flash_fi/areena2/76/03/760357_395379.mp4?auth=da_c8dydQaIaja1aDc3b1aAanaYctdMbhcs-blFgbL-E-nnH-l6n7&aifp=v01=v01
DEBUG: tcUrl : rtmp://cp52710.edgefcs.net/ondemand
DEBUG: swfUrl : http://areena.yle.fi/player/Application.swf?build=1
DEBUG: pageUrl : http://areena.yle.fi/video/760355
DEBUG: app : ondemand
DEBUG: auth : (null)
DEBUG: subscribepath : (null)
DEBUG: flashVer : LNX 10,0,22,87
DEBUG: live : yes
DEBUG: timeout : 60 sec
DEBUG: Redirected. Reconnecting...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 1845178775
DEBUG: HandShake: FMS Version : 3.5.2.1
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
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
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: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <close>
ERROR: rtmp server requested close
DEBUG: Closing connection.