Distorted playback with radio recording.

MS jmstanfield at gmail.com
Tue Jul 10 12:24:43 EDT 2012


Hi,

Total get_iplayer newbie, running get_iplayer v.2.82 on Linux 
(Ubuntu/Lucid).

I am trying to get this radio program:
http://www.bbc.co.uk/radio/player/p00v0fl1

Search match:
11594:	radio, Mike Zeller - 09/07/2012, BBC Cumbria, 
Entertainment,News,Radio,Sport

During the download I get this error twice:
ERROR: ReadPacket, failed to read RTMP packet header

After "Download complete" I get more errors:
MPlayer 1.0rc4-4.4.3 (C) 2000-2010 MPlayer Team

Playing 
/Path/Snip/get_iplayer-2.82/Mike_Zeller_-_09_07_2012_p00v0fl1_default.partial.mp3.flv.
Seek failed
libavformat file format detected.
[mp3 @ 0x92b7140]Header missing
[mp3 @ 0x92b5f30]max_analyze_duration reached
[mp3 @ 0x92b5f30]Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: audio (mp3), -aid 0
Core dumped ;)
Exiting... (End of file)


The files that download (several attempts at this) play back with 
massive distortion / choppiness. You can hear that words are being 
spoken but there is massive distortion - I would guess that's because of 
the missing mp3 header error.

You can access the file with distortion here (68 MB):
http://www.gencon.spinel.feralhosting.com/files/Mike_Zeller_-_09_07_2012_p00v0fl1_default.mp3

I've tried a load of different get_iplayer options, using the url 
instead of the pid, various --modes, and even using 'raw' and sending 
the output to stdout and piping to lame with raw input (even tried using 
lame's -x option to swap endianness) - without piping to lame I get 
files with the distortion described above, the 2 attempts to pipe to 
lame resulted in static filled audio.

Any help would be appreciated. Many thanks.

2 lots of output for you:

----------------------------------------------------------
Output of command:

get_iplayer --info 11594
----------------------------------------------------------

get_iplayer v2.82, 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:
11594:	radio, Mike Zeller - 09/07/2012, BBC Cumbria, 
Entertainment,News,Radio,Sport
INFO: File name prefix = Mike_Zeller_-_09_07_2012_p00v0fl1_default 


available:      Unknown
categories:     Entertainment,News,Sport
channel:        BBC Radio Cumbria
desc:           Living it and loving it. The best of Cumbria's morning 
with Mike.
descmedium:     Living it and loving it. The best of Cumbria's morning 
with Mike.
descshort:      Living it and loving it. The best of Cumbria's morning 
with Mike.
dir:            /Path/Snip/get_iplayer-2.82
dldate:         2012-07-10
dltime:         16:56:10
duration:       10800
durations:      default: 10800
episode:        09/07/2012
episodeshort:   09/07/2012
expiry:         2012-07-16T11:02:00Z
expiryrel:      in 5 days 19 hours
ext:            EXT
filename:       /Path/Snip/Mike_Zeller_-_09_07_2012_p00v0fl1_default.EXT
filepart: 
/Path/Snip/Mike_Zeller_-_09_07_2012_p00v0fl1_default.partial.EXT
fileprefix:     Mike_Zeller_-_09_07_2012_p00v0fl1_default
firstbcast:     default: 2012-07-09T09:00:00+01:00
firstbcastrel:  default: 1 days 7 hours ago
index:          11594
lastbcast:      default: 2012-07-09T09:00:00+01:00
lastbcastrel:   default: 1 days 7 hours ago
longname:       Mike Zeller
modes:          default: flashaudio1,rtspaudio1
modesizes:      default: flashaudio1=169MB,rtspaudio1=169MB
name:           Mike Zeller
nameshort:      Mike Zeller
pid:            p00v0fl1
player: 
http://www.bbc.co.uk/iplayer/episode/p00v0fl1/Mike_Zeller_09_07_2012/
thumbfile:      /Path/Snip/Mike_Zeller_-_09_07_2012_p00v0fl1_default.jpg
thumbnail: 
http://www.bbc.co.uk/iplayer/images/episode/p00v0fl1_150_84.jpg
thumbnail1: 
http://node2.bbcimg.co.uk/iplayer/images/episode/p00v0fl1_86_48.jpg
thumbnail2: 
http://node2.bbcimg.co.uk/iplayer/images/episode/p00v0fl1_150_84.jpg
thumbnail3: 
http://node2.bbcimg.co.uk/iplayer/images/episode/p00v0fl1_178_100.jpg
thumbnail4: 
http://node2.bbcimg.co.uk/iplayer/images/episode/p00v0fl1_512_288.jpg
thumbnail5: 
http://node2.bbcimg.co.uk/iplayer/images/episode/p00v0fl1_528_297.jpg
thumbnail6: 
http://node2.bbcimg.co.uk/iplayer/images/episode/p00v0fl1_640_360.jpg
timeadded:      0 days 2 hours ago (1341927539)
title:          Mike Zeller: 09/07/2012
type:           radio
verpids:        default: p00v0flh
version:        default
versions:       default
web:            http://www.bbc.co.uk/programmes/p00v0fl1.html

INFO: 1 Matching Programmes
----------------------------------------------------------


----------------------------------------------------------
Output of command:

get_iplayer --type=radio --get 11594 --modes=flashaudio1 
--flvstreamer="/usr/bin/flvstreamer" --lame="/usr/bin/lame" --force
----------------------------------------------------------

get_iplayer v2.82, 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:
11594:	Mike Zeller - 09/07/2012, BBC Cumbria, Entertainment,News,Radio,Sport

INFO: 1 Matching Programmes
INFO: Checking existence of default version
INFO: flashaudio1 modes will be tried for version default
INFO: Trying flashaudio1 mode to record radio: Mike Zeller - 09/07/2012
INFO: File name prefix = Mike_Zeller_-_09_07_2012_p00v0fl1_default 

WARNING: Your version of flvstreamer/rtmpdump does not support SWF 
Verification
FLVStreamer v1.9
(c) 2009 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
Starting download at: 0.000 kB
35921.034 kB / 3622.50 sec
ERROR: ReadPacket, failed to read RTMP packet header
Resuming download at: 0.005 kB
35767.553 kB / 7280.24 sec
ERROR: ReadPacket, failed to read RTMP packet header
Resuming download at: 35982.101 kB
69550.883 kB / 10722.92 sec
Download complete
MPlayer 1.0rc4-4.4.3 (C) 2000-2010 MPlayer Team

Playing 
/Path/Snip/Mike_Zeller_-_09_07_2012_p00v0fl1_default.partial.mp3.flv.
Seek failed
libavformat file format detected.
[mp3 @ 0x92b7140]Header missing
[mp3 @ 0x92b5f30]max_analyze_duration reached
[mp3 @ 0x92b5f30]Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: audio (mp3), -aid 0
Core dumped ;)

Exiting... (End of file)
INFO: Recorded /Path/Snip/Mike_Zeller_-_09_07_2012_p00v0fl1_default.mp3

INFO: Downloaded Thumbnail to 
'/Path/Snip/Mike_Zeller_-_09_07_2012_p00v0fl1_default.jpg'
INFO: ID3 BASIC tagging MP3 file
----------------------------------------------------------

Thanks again.



More information about the get_iplayer mailing list