My wrapper script broke with 2.96

artisticforge . cehjohnson at googlemail.com
Fri Aug 26 02:20:26 PDT 2016


 >>
Hello

issue the command below

  /home/goose/get_iplayer-2.96/get_iplayer 11611 --mode=flashaaclow1
--verbose --force --type=radio --get 2>&1 | tee
get_iplayer-2.96-debug-Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original

the log file should be in your home directory named:
 
get_iplayer-2.96-debug-Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original


send me that file.
 >>

Strangely, all seems to be working now. I attached the file anyway. I 
wonder if it was a temporary network problem?



On Thu, Aug 25, 2016 at 4:42 PM, Charles Johnson
<cehjohnson at googlemail.com> wrote:
> On 25/08/16 19:49, artisticforge . wrote:
>>
>> get_iplayer --show-options
>> Shows options which are set and where they are defined
>
> Not sure this is relevant in the case of my problem. As i say, i don't use
> an options file, but the above command produces the following, fwiw:
>
> goose at t410:/tmp$ /home/goose/get_iplayer-2.96/get_iplayer 11611
> --show-options
>
> get_iplayer v2.96, 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.
>
> Options from Files:
>
> Options from Command Line:
>
>     showoptions = 1
>
> Options Used:
>
>     encodingconsolein = UTF-8
>
>     encodingconsoleout = UTF-8
>
>     encodinglocale = UTF-8
>
>     encodinglocalefs = UTF-8
>
>     isodate = 1
>
>     showoptions = 1
>
> Search Args: 11611
>
>
>>
>> if --type is not given nor set , get_iplayer defaults to type 'tv'
>>
>> Giving the command:
>> "~/get_iplayer-2.96/get_iplayer  --force --get 10560"
>>
>> assuming that get_iplayer is defaulting to type 'tv' is going to
>> search for TV programs with the string '10650'.
>
>
> Really? I must be mistaken as my reading of the help docs suggest that will
> fetch the prog with that id:
>
> ( "Record Programmes by Index:     get_iplayer <INDEX> --get")
>
> So, removing the doubt of tv/radio i issue the following command with the
> following result:
>
> goose at t410:/tmp$ /home/goose/get_iplayer-2.96/get_iplayer 11611
> --mode=flashaaclow1 --force --type=radio --get
> get_iplayer v2.96, 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.
>
> Matches:
> 11611:    Bells on Sunday - Sheffield Cathedral, BBC Radio 4, b07nnbjr
>
> INFO: 1 Matching Programmes
> INFO: Checking existence of original version
> INFO: flashaaclow1 modes will be tried for version original
> INFO: Trying flashaaclow1 mode to record radio: Bells on Sunday - Sheffield
> Cathedral
> INFO: File name prefix =
> Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original
> INFO: Begin recording file:
> /tmp/Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original.partial.m4a.flv
> RTMPDump v2.4
> (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
> Connecting ...
> INFO: Connected...
> Starting download at: 0.000 kB
> INFO: Metadata:
> INFO:   duration              133.59
> INFO:   moovPosition          28.00
> INFO:   audiocodecid          mp4a
> INFO:   aacaot                2.00
> INFO:   audiosamplerate       24000.00
> INFO:   audiochannels         2.00
> INFO: trackinfo:
> INFO:   length                12023040.00
> INFO:   timescale             90000.00
> INFO:   language              und
> INFO: sampledescription:
> INFO:   sampletype            mp4a
> 835.486 kB / 133.55 sec (99.9%)
> Download complete
> INFO: Begin converting file:
> /tmp/Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original.partial.m4a.flv
> At least one input file must be specified
> INFO: Command exit code 1 (raw code = 256)
> WARNING: Conversion failed - retaining
> /tmp/Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original.partial.m4a.flv
>
> I don't know what the "At least one input file must be specified" means, but
> this produces the last-named file, which has a size of zero
>



-- 
terry l. ridder ><>
-------------- next part --------------
get_iplayer v2.96, 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: encodinglocale = UTF-8
INFO: encodinglocalefs = UTF-8
INFO: encodingconsoleout = UTF-8
INFO: encodingconsolein = UTF-8
INFO: ${^UNICODE} = 0
INFO: User prefs dir: /home/goose/.get_iplayer
INFO: System options dir: /etc/get_iplayer/options
Current options:
	encodingconsolein = UTF-8
	encodingconsoleout = UTF-8
	encodinglocale = UTF-8
	encodinglocalefs = UTF-8
	force = 1
	get = 1
	isodate = 1
	modes = flashaaclow1
	type = radio
	verbose = 1

INFO: Search args: '11694'
INFO: Additionally getting cached programme data for radio
INFO: Got 6453 file cache entries for radio
Matches:
11694:	Bells on Sunday - Sheffield Cathedral, BBC Radio 4, b07nnbjr

INFO: 1 Matching Programmes
INFO: Programme metadata URL = http://www.bbc.co.uk/programmes/b07nnbjr.xml
INFO: Getting page http://www.bbc.co.uk/programmes/b07nnbjr.xml
INFO: Getting page http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/b07nn9t1/proto/rtmp?cb=07427
INFO: Found mode flashaaclow1: (stream-uk-audio_streaming_aac_vlow) rtmp aac 48kbps stream (CDN: limelight/20)
INFO: Found mode flashaaclow2: (stream-uk-audio_streaming_aac_vlow) rtmp aac 48kbps stream (CDN: akamai/10)
INFO: Found mode flashaacstd1: (stream-uk-audio_streaming_aac_med) rtmp aac 128kbps stream (CDN: limelight/20)
INFO: Found mode flashaacstd2: (stream-uk-audio_streaming_aac_med) rtmp aac 128kbps stream (CDN: akamai/10)
INFO: Getting page http://www.bbc.co.uk/programmes/b07nn9t1.rdf
INFO: Will search for versions: original
INFO: Mode list: flashaaclow1
INFO: Checking existence of original version
INFO: Version = original
INFO: flashaaclow1 modes will be tried for version original
INFO: Trying flashaaclow1 mode to record radio: Bells on Sunday - Sheffield Cathedral
INFO: Attempt number: 1 / 50
INFO: File name prefix = Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original                 
INFO: rtmpver: 
INFO: RTMPDump v2.4
INFO: (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
INFO: 
INFO: rtmpdump: This program dumps the media content streamed over RTMP.
INFO: 
INFO: --help|-h               Prints this help screen.
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: --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: rtmpdump version 2.4
INFO: RTMP_URL: rtmp://bbcodspdns.fcod.llnwd.net:1935/ondemand?_fcs_vhost=bbcodspdns.fcod.llnwd.net&auth=as=adobe-hmac-sha256&av=1&te=connect&mp=/prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505870.mp4,/prod_af_mp4_aaclc_128/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505137.mp4&et=1472209917&fmta-token=40cd14e1cf2520332f4f1f97302018502d8c55f635c08afdca4ef978d6b1cbae&aifp=v001&slist=mp4:/prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505870.mp4, tcUrl: rtmp://bbcodspdns.fcod.llnwd.net:1935/a5999/e1?as=adobe-hmac-sha256&av=1&te=connect&mp=/prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505870.mp4,/prod_af_mp4_aaclc_128/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505137.mp4&et=1472209917&fmta-token=40cd14e1cf2520332f4f1f97302018502d8c55f635c08afdca4ef978d6b1cbae, application: a5999/e1?as=adobe-hmac-sha256&av=1&te=connect&mp=/prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505870.mp4,/prod_af_mp4_aaclc_128/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505137.mp4&et=1472209917&fmta-token=40cd14e1cf2520332f4f1f97302018502d8c55f635c08afdca4ef978d6b1cbae, authString: as=adobe-hmac-sha256&av=1&te=connect&mp=/prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505870.mp4,/prod_af_mp4_aaclc_128/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505137.mp4&et=1472209917&fmta-token=40cd14e1cf2520332f4f1f97302018502d8c55f635c08afdca4ef978d6b1cbae, swfUrl: http://emp.bbci.co.uk/emp/SMPf/1.16.6/StandardMediaPlayerChromelessFlash.swf, file: /tmp/Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original.partial.m4a, file_done: /tmp/Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original.m4a
INFO: Begin recording file: /tmp/Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original.partial.m4a.flv


INFO: Command: "rtmpdump" "--port" "1935" "--protocol" "0" "--playpath" "mp4:/prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505870.mp4" "--host" "bbcodspdns.fcod.llnwd.net" "--swfVfy" "http://emp.bbci.co.uk/emp/SMPf/1.16.6/StandardMediaPlayerChromelessFlash.swf" "--tcUrl" "rtmp://bbcodspdns.fcod.llnwd.net:1935/a5999/e1?as=adobe-hmac-sha256&av=1&te=connect&mp=/prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505870.mp4,/prod_af_mp4_aaclc_128/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505137.mp4&et=1472209917&fmta-token=40cd14e1cf2520332f4f1f97302018502d8c55f635c08afdca4ef978d6b1cbae" "--app" "a5999/e1?as=adobe-hmac-sha256&av=1&te=connect&mp=/prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505870.mp4,/prod_af_mp4_aaclc_128/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505137.mp4&et=1472209917&fmta-token=40cd14e1cf2520332f4f1f97302018502d8c55f635c08afdca4ef978d6b1cbae" "--pageUrl" "http://www.bbc.co.uk/programmes/b07nnbjr" "--resume" "-o" "/tmp/Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original.partial.m4a.flv" "--timeout" "10" "--verbose"

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMP
DEBUG: Hostname : bbcodspdns.fcod.llnwd.net
DEBUG: Port     : 1935
DEBUG: Playpath : mp4:/prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505870.mp4
DEBUG: tcUrl    : rtmp://bbcodspdns.fcod.llnwd.net:1935/a5999/e1?as=adobe-hmac-sha256&av=1&te=connect&mp=/prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505870.mp4,/prod_af_mp4_aaclc_128/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505137.mp4&et=1472209917&fmta-token=40cd14e1cf2520332f4f1f97302018502d8c55f635c08afdca4ef978d6b1cbae
DEBUG: swfUrl   : http://emp.bbci.co.uk/emp/SMPf/1.16.6/StandardMediaPlayerChromelessFlash.swf
DEBUG: pageUrl  : http://www.bbc.co.uk/programmes/b07nnbjr
DEBUG: app      : a5999/e1?as=adobe-hmac-sha256&av=1&te=connect&mp=/prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505870.mp4,/prod_af_mp4_aaclc_128/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505137.mp4&et=1472209917&fmta-token=40cd14e1cf2520332f4f1f97302018502d8c55f635c08afdca4ef978d6b1cbae
DEBUG: live     : no
DEBUG: timeout  : 10 sec
DEBUG: SWFSHA256:
DEBUG: a2 cb 88 90 ff 4a 91 a5 fc 2a fb 25 b4 6b 4b b5
DEBUG: ef 0f 4b eb 8a e2 f2 1b dd 33 72 fe 64 b5 25 44
DEBUG: SWFSize  : 979369
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 03
DEBUG: HandShake: Client digest offset: 430
DEBUG: HandShake: Initial client digest: 
DEBUG: 86 79 ff 3f bc 7b 2f c0 66 33 62 2b 47 29 ea 4c
DEBUG: 77 7a f1 de 0d 27 48 88 5c 7d 6c b0 6c 40 18 c2
DEBUG: HandShake: Type Answer   : 03
DEBUG: HandShake: Server Uptime : 1227105205
DEBUG: HandShake: FMS Version   : 4.0.3.1
DEBUG: HandShake: Calculated digest key from secure key and server digest: 
DEBUG: 18 60 73 b9 d3 7e 74 0d 8e b6 17 c9 a6 27 19 6e
DEBUG: 9d 43 3b a2 83 12 7d cf 26 b0 8e 35 1e f3 98 58
DEBUG: HandShake: Client signature calculated:
DEBUG: 99 78 03 d1 67 5b eb e5 d6 67 2e dd 3a f1 13 bf
DEBUG: 87 9d 8e 4a 1e 22 2e 9c 38 4e 64 4f 65 9e 53 ac
DEBUG: HandShake: Server sent signature:
DEBUG: 5e 7f 2f a3 4f ca 76 54 9d 9c 04 69 9f 23 de 7a
DEBUG: b2 63 50 0c 7f 8e f1 90 34 c9 c2 fc a9 7e 76 89
DEBUG: HandShake: Digest key: 
DEBUG: 6b 2e 4d 67 15 5a ed 94 73 d3 69 fb b9 1b 78 b6
DEBUG: 21 a1 2c 8f ca c1 a6 32 2d 3f 27 62 c2 44 a5 01
DEBUG: HandShake: Signature calculated:
DEBUG: 5e 7f 2f a3 4f ca 76 54 9d 9c 04 69 9f 23 de 7a
DEBUG: b2 63 50 0c 7f 8e f1 90 34 c9 c2 fc a9 7e 76 89
DEBUG: HandShake: Genuine Adobe Flash Media Server
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: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 242 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:             fmsVer, STRING:	FMS/4,0,3,4044>
DEBUG: Property: <Name:       capabilities, NUMBER:	255.00>
DEBUG: Property: <Name:               mode, NUMBER:	1.00>
DEBUG: (object end)
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: Property: <Name:               data, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:            version, STRING:	4,0,3,4044>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: sending ctrl. type: 0x0003
DEBUG: Invoking createStream
DEBUG: RTMP_ClientPacket, received: invoke 21 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onBWDone>
DEBUG: Invoking _checkbw
DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: mp4:/prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505870.mp4
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: HandleCtrl, received ctrl. type: 4, len: 6
DEBUG: HandleCtrl, Stream IsRecorded 1
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 1
DEBUG: RTMP_ClientPacket, received: invoke 360 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:	status>
DEBUG: Property: <Name:               code, STRING:	NetStream.Play.Reset>
DEBUG: Property: <Name:        description, STRING:	Playing and resetting prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505870.mp4.>
DEBUG: Property: <Name:            details, STRING:	prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505870.mp4>
DEBUG: Property: <Name:           clientid, STRING:	rAAVQ5FA>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Reset
DEBUG: RTMP_ClientPacket, received: invoke 354 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:	status>
DEBUG: Property: <Name:               code, STRING:	NetStream.Play.Start>
DEBUG: Property: <Name:        description, STRING:	Started playing prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505870.mp4.>
DEBUG: Property: <Name:            details, STRING:	prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505870.mp4>
DEBUG: Property: <Name:           clientid, STRING:	rAAVQ5FA>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Start
Starting download at: 0.000 kB
DEBUG: RTMP_ClientPacket, received: notify 24 bytes
DEBUG: (object begin)
DEBUG: (object end)
DEBUG: ignoring too small audio packet: size: 0
DEBUG: RTMP_ClientPacket, received: notify 44 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:               code, STRING:	NetStream.Data.Start>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: RTMP_ClientPacket, received: notify 271 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:           duration, NUMBER:	133.59>
DEBUG: Property: <Name:       moovPosition, NUMBER:	28.00>
DEBUG: Property: <Name:       audiocodecid, STRING:	mp4a>
DEBUG: Property: <Name:             aacaot, NUMBER:	2.00>
DEBUG: Property: <Name:    audiosamplerate, NUMBER:	24000.00>
DEBUG: Property: <Name:      audiochannels, NUMBER:	2.00>
DEBUG: Property: <Name:          trackinfo, OBJECT>
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:             length, NUMBER:	12023040.00>
DEBUG: Property: <Name:          timescale, NUMBER:	90000.00>
DEBUG: Property: <Name:           language, STRING:	und>
DEBUG: Property: <Name:  sampledescription, OBJECT>
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:         sampletype, STRING:	mp4a>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
INFO: Metadata:
INFO:   duration              133.59
INFO:   moovPosition          28.00
INFO:   audiocodecid          mp4a
INFO:   aacaot                2.00
INFO:   audiosamplerate       24000.00
INFO:   audiochannels         2.00
INFO: trackinfo:
INFO:   length                12023040.00
INFO:   timescale             90000.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            mp4a

1.188 kB / 0.09 sec (0.0%)
DEBUG: RTMP_ClientPacket, received: invoke 32803 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_onbwcheck>
DEBUG: Invoking _result

128.479 kB / 20.39 sec (15.2%)
399.420 kB / 63.79 sec (47.7%)
DEBUG: RTMP_ClientPacket, received: invoke 49187 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_onbwcheck>
DEBUG: Invoking _result

527.420 kB / 84.35 sec (63.1%)
734.321 kB / 117.42 sec (87.8%)
798.321 kB / 127.70 sec (95.5%)
DEBUG: ignoring too small audio packet: size: 0
DEBUG: RTMP_ClientPacket, received: notify 102 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:               code, STRING:	NetStream.Play.Complete>
DEBUG: Property: <Name:              level, STRING:	status>
DEBUG: Property: <Name:           duration, NUMBER:	1.00>
DEBUG: Property: <Name:              bytes, NUMBER:	852692.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: RTMP_ClientPacket, received: invoke 65573 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_onbwcheck>
DEBUG: Invoking _result
DEBUG: HandleCtrl, received ctrl. type: 1, len: 6
DEBUG: HandleCtrl, Stream EOF 1
DEBUG: RTMP_ClientPacket, received: invoke 364 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:	status>
DEBUG: Property: <Name:               code, STRING:	NetStream.Play.Stop>
DEBUG: Property: <Name:        description, STRING:	Stopped playing prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505870.mp4.>
DEBUG: Property: <Name:            details, STRING:	prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-3bc7a161-2d24-47e2-b2b5-461387572c38_b07nn9t1_1471157505870.mp4>
DEBUG: Property: <Name:           clientid, STRING:	rAAVQ5FA>
DEBUG: Property: <Name:             reason, STRING:	>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Stop
DEBUG: Invoking deleteStream
DEBUG: Got Play.Complete or Play.Stop from server. Assuming stream is complete

835.486 kB / 133.55 sec (99.9%)
DEBUG: RTMP_Read returned: 0
Download complete
DEBUG: Closing connection.

INFO: Command exit code 0 (raw code = 0)
INFO: Begin converting file: /tmp/Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original.partial.m4a.flv


INFO: Command: "ffmpeg" "-loglevel" "verbose" "-y" "-i" "/tmp/Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original.partial.m4a.flv" "-vn" "-acodec" "copy" "-absf" "aac_adtstoasc" "/tmp/Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original.partial.m4a"

ffmpeg version 0.8.17-6:0.8.17-2+deb7u2, Copyright (c) 2000-2014 the Libav developers
  built on Jun 14 2016 13:17:03 with gcc 4.7.2
  configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.8.17-2+deb7u2' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --disable-protocol=concat --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
  libavutil    51. 22. 3 / 51. 22. 3
  libavcodec   53. 35. 0 / 53. 35. 0
  libavformat  53. 21. 1 / 53. 21. 1
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 15. 0 /  2. 15. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  52.  0. 0 / 52.  0. 0
The ffmpeg program is only provided for script compatibility and will be removed
in a future release. It has been deprecated in the Libav project to allow for
incompatible command line syntax improvements in its replacement called avconv
(see Changelog for details). Please use avconv instead.
[flv @ 0x118a460] max_analyze_duration reached
[flv @ 0x118a460] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from '/tmp/Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original.partial.m4a.flv':
  Metadata:
    moovPosition    : 28
    aacaot          : 2
    audiochannels   : 2
  Duration: 00:02:13.58, start: 0.000000, bitrate: N/A
    Stream #0.0: Audio: aac, 48000 Hz, stereo, s16
Output #0, ipod, to '/tmp/Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original.partial.m4a':
  Metadata:
    moovPosition    : 28
    aacaot          : 2
    audiochannels   : 2
    encoder         : Lavf53.21.1
    Stream #0.0: Audio: aac, 48000 Hz, stereo
Stream mapping:
  Stream #0.0 -> #0.0
Press ctrl-c to stop encoding
size=     825kB time=133.59 bitrate=  50.6kbits/s    
video:0kB audio:783kB global headers:0kB muxing overhead 5.294908%
INFO: Command exit code 0 (raw code = 0)
INFO: Converted file: /tmp/Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original.partial.m4a
INFO: Recorded file: /tmp/Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original.m4a
DEBUG: Record using flashaaclow1 mode return code: '0'

INFO: Getting thumbnail from http://ichef.bbci.co.uk/images/ic/150x84/p0230khn.jpg
INFO: Getting page http://ichef.bbci.co.uk/images/ic/150x84/p0230khn.jpg
INFO: Downloaded Thumbnail to '/tmp/Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original.jpg'
WARNING: Cannot tag M4A file
INFO: Loaded history for first check.


More information about the get_iplayer mailing list