FFmpeg 1.1 released

Vangelis forthnet northmedia1 at the.forthnet.gr
Fri Jan 11 13:19:52 EST 2013


On Fri Jan 11 16:05:27 GMT 2013, bat guano wrote:

>Much quicker than downloading wma radio programmes in real time.

Thanks for your answer, bat :-)
 Obviously, for a long radio show, say longer than an hour, it is not 
convenient
to try the wma streams in real time; also, the longer the programme, the 
higher
the probability for the stream to be suddenly cut-off before it completes
(especially with mplayer). For > 1hr radio shows, if I want the wma file, I 
use
the Japanese GUI software I mentioned in my mail here:

http://lists.infradead.org/pipermail/get_iplayer/2013-January/003725.html

Otherwise, for short radio shows (15-30min) I let it quietly download in the
background while I do other work...

>it's possible to transcode 'on the fly' using a fast mp3 encoder.
>...
>I put ffmpeg.exe and gogo.exe in same directory as get_iplayer.pl
>Then used this command:
>get_iplayer --pid=b00w46nz --mode=flashaaclow --stream | ffmpeg -i - -f 
>wav - | gogo -b 96 -nopsy -q 9 stdin output.mp3

 I am well aware of the existence of  GOGO-no-coda and
it's a sad thing it hasn't been updated since 2004!
 I'm afraid your pipe command (which is indeed workable on my system)
produces an MP3 file devoid of any metadata. The wma file downloaded
from the beeb servers is already tagged - here's an example:

Format                            : Windows Media
File size                           : 10.4 MiB
Duration                          : 29mn 59s
Overall bit rate mode        : Constant
Overall bit rate                 : 48.7 Kbps
Maximum Overall bit rate : 48.0 Kbps
Album                              : The Official Chart Update
Track name                      : The Official Chart Update 09 01 2013
Performer                         : BBC Radio 1
Genre                               : Podcast
Description                       : BBCMEDR130
Encoded date                    : UTC 1970-01-01 00:00:00.000
Copyright                          : British Broadcasting Corporation 
Copyright 2013, all rights reserved.
Station                              : Radio 1
copyright                           : British Broadcasting Corporation 
Copyright 2013, all rights reserved.
Year                                 : 2013
title                                   : The Official Chart Update 09 01 
2013
Author                              : BBC Radio 1
WM/EncodingSettings       : Lavf54.59.106

Audio
ID                                     : 1
Format                              : WMA
Format version                  : Version 2
Codec ID                          : 161
Codec ID/Info                   : Windows Media Audio
Description of the codec    : Windows Media Audio V8
Duration                            : 29mn 59s
Bit rate                              : 48.0 Kbps
Channel(s)                         : 2 channels
Sampling rate                     : 44.1 KHz
Bit depth                            : 16 bits
Stream size                        : 10.3 MiB (99%)

 When I am not pressed for time, I usually download first the "flashaaclow1" 
mode,
which GIP saves as a nice fully tagged M4A file. If I MUST transcode to mp3, 
I
use a shareware GUI (Easy CD-DA Extractor 16.0.9.1), which carries all the 
M4A
metadata (even the thumbnail) over to the MP3 file. Of course, using 
the --aactomp3
switch and with the aid of the MP3 Tag module, GIP can also deliver a 
transcoded
tagged MP3 file...
 If I decide at the last minute that I want to take a file with me to listen 
to on the go,
I transcode the M4A with GOGO-no-coda, using faad2 as the decoder:
I have created a folder named "FAAD2toGoGo" and placed inside it the 
binaries
faad.exe & gogo.exe, along with this simple batch file:

for %%F in (*.m4a) do faad -o - "%%F" | gogo stdin -b 128 -m j -q 2 -d 44.1 
"%%~nF.mp3"

named "FAAD2toGoGo.bat". I then place inside it the GIP's M4A file and run 
the batch file...
I, of course, end up again with a tagless mp3 file, same as your GIP 
command - but at least
the tagged M4A is on my hard disk with all its metadata available - useful 
if, as is usually the
case, I listen to downloaded stuff well after the 1 week availability time 
window...

But again, thanks in advance for any tips you may want to throw my way...

Cheers, Vangelis.





More information about the get_iplayer mailing list