file format of radio files

Andy Stevens insomniacpenguin at googlemail.com
Wed May 25 19:02:06 EDT 2011


On 13 May 2011 00:13, Andy Stevens <insomniacpenguin at googlemail.com> wrote:
>>On Sun May 8 10:12:39 EDT 2011, Nigel Roles wrote:
>>Your version of ffmpeg does not have the lame mp3 encoder built into it.
>>It needs to be built with the --enable-libmp3lame configure option.

Another possibiility that struck me - the Sansa Fuze can play Ogg
Vorbis files as well as MP3.  Given those aren't encumbered with the
same sort of restrictions as MP3, I image it may be supported by the
installed ffmpeg (indeed, ffmpeg -codecs does show an entry for
libvorbis, while there's no libmp3lame listed).  Any chance of an
--aactoogg option for get_iplayer as well as the --aactomp3?
Also, is there a simple command-line I can use to effect a similar
conversion of the m4a files get_iplayer already downloaded?  Or should
I just install e.g. Sound Converter.


Andy

> It's the standard version installed with the Ubuntu package manager,
> I've no idea what options it was built with...
> Is there another package (maybe in one of the other repositories) that
> would work?
>
> Alternatively, if I have get_iplayer save as .aac/.m4a instead, how
> else might I convert them to MP3s (ffmpeg/mplayer/etc.)?
>
>
> Andy
>
>>
>>On 08/05/2011 00:42, Andy Stevens wrote:
>>> Hi,
>>>
>>> A short while ago, I noticed that the radio programmes I was trying to
>>> download with get_iplayer 2.79 had stopped working.  From comments on
>>> forums etc. this appeared to be due to the BBC not using mp3 streams
>>> any more, so I added flashaac to my --modes list and they started
>>> downloading again, albeit as .aac files instead.
>>>
>>> A couple of weeks ago, programmes that I could find through searches
>>> on the online iPlayer weren't being found by get_iplayer.  This
>>> coincided with the rebranding of Radio 7 as 4 Extra; I noticed the
>>> checkin comment in git "Add Radio 4 Extra" so tried using the current
>>> git version instead, but I found that instead of an .aac file I ended
>>> up with a .m4a. Presumably due to the subsequent "Output AAC as M4A
>>> for iTunes with metadata tags" change.
>>>
>>> Then I spotted the new "Add --aactomp3 option to force transcoding AAC
>>> to MP3" - seeing as my Sansa Fuze doesn't play aac files anyway, just
>>> mp3s, this seemed like just what I needed.  However, it's not creating
>>> MP3s, the output files have .partial.mp3.flv extensions, and according
>>> to the "file" command are "Macromedia Flash Video" type.  There is a
>>> message being output
>>> Unknown encoder 'libmp3lame'
>>> INFO: Command exit code 1 (raw code = 256)
>>> WARNING: flv conversion failed - retaining flv file
>>> however I do have lame installed and /usr/lib/libmp3lame.so.0 is present...
>>>
>>> Is this a bug in the latest git version of get_iplayer, or am I
>>> missing something that it needs?
>>> Also, if anyone can suggest how to convert the other aac files I'd
>>> downloaded into MP3s, it'd be appreciated...
>>>
>>> Thanks,
>>>
>>>
>>> Andy



More information about the get_iplayer mailing list