Local Radio - partial files

bat guano batguano999 at hotmail.com
Fri Oct 7 09:42:33 EDT 2011





> I'm trying to record from BBC Radio London, but I'm not getting completion, only a partial.mp3.flv.  doing a --i on a programme yields modes:          default: flashaudio1,rtspaudio1,wma1.  My options file has radiomode flashaachigh,flashaacstd,flashaudio,realaudio,flashaaclow.
> 
> What do I need to do to get a complete download - and what format will it be?
> 
> ----
> $ get_iplayer --type=radio --channel="BBC London" --get scrum
.......
> Download complete
> open3: exec of mplayer -nolirc -dumpaudio /media/DATA/recordings/The_Scrum_with_Sara_Orchard_and_Andy_Rowley_-_06_10_2011_p00khb8w_default.partial.mp3.flv -dumpfile /media/DATA/recordings/The_Scrum_with_Sara_Orchard_and_Andy_Rowley_-_06_10_2011_p00khb8w_default.partial.mp3 failed at /usr/bin/get_iplayer line 2695
> INFO: Command exit code 255 (raw code = 65280)
> WARNING: flv conversion failed - retaining flv file
> INFO: Recorded /media/DATA/recordings/The_Scrum_with_Sara_Orchard_and_Andy_Rowley_-_06_10_2011_p00khb8w_default.partial.mp3.flv


Hi
This local radio download is mp3 (not aac) audio inside the flv file.
It uses mPlayer to extract the mp3.
It worked OK for me.
"The_Scrum_with_Sara_Orchard_and_Andy_Rowley_-_06_10_2011_p00khb8w_default.mp3"

In your case, something has gone wrong with the mPlayer stage after the flv was downloaded.
Make sure that you have mPlayer installed.

Until you get it fixed, you can extract the mp3 from "default.partial.mp3.flv" files yourself.
Something like this:-
ffmpeg -i filename.default.partial.mp3.flv -acodec copy filename.mp3






@ubuntu:~$ get_iplayer --get --type=radio --pid=p00khb8w
get_iplayer v2.80, 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: Episode-only pid detected
INFO: Trying pid: p00khb8w using type: radio
INFO Trying to stream pid using type radio
INFO: pid not found in radio cache
INFO: Checking existence of default version
INFO: flashaudio1,rtspaudio1,wma1 modes will be tried for version default
INFO: Trying flashaudio1 mode to record radio: The Scrum with Sara Orchard and Andy Rowley - 06/10/2011
INFO: File name prefix = The_Scrum_with_Sara_Orchard_and_Andy_Rowley_-_06_10_2011_p00khb8w_default                 
RTMPDump v2.4 60218d0
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
33288.762 kB / 3357.05 sec
Download complete
MPlayer SVN-r34110-4.5.2 (C) 2000-2011 MPlayer Team

Playing /The_Scrum_with_Sara_Orchard_and_Andy_Rowley_-_06_10_2011_p00khb8w_default.partial.mp3.flv.
libavformat file format detected.
[flv @ 0x893b0e0]max_analyze_duration 5000000 reached at 5018000
[lavf] stream 0: audio (mp3), -aid 0
dump: 19202292 bytes written (~57.3%)
dump: 33571647 bytes written to 'The_Scrum_with_Sara_Orchard_and_Andy_Rowley_-_06_10_2011_p00khb8w_default.partial.mp3'.
Core dumped ;)

Exiting... (End of file)
INFO: Recorded /The_Scrum_with_Sara_Orchard_and_Andy_Rowley_-_06_10_2011_p00khb8w_default.mp3

INFO: Downloaded Thumbnail to '/The_Scrum_with_Sara_Orchard_and_Andy_Rowley_-_06_10_2011_p00khb8w_default.jpg'
INFO: ID3 BASIC tagging MP3 file

 		 	   		  


More information about the get_iplayer mailing list