RE: Recording radio highlight of Proms 2013

2013-09-11 Thread bat guano
 but the program can not be downloaded by specifying PID:
  get_iplayer --type radio --pid p01fh7g1

 
 Does anyone know how to download these radio programs?

 
Hi
get_iplayer --type=radio --pid=p01fh7g1 --force

Works for me --- http://pastebin.com/2yHwG5x7  
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Recording Proms 2013 Highlights

2013-09-08 Thread bat guano

 Does anybody know how to record the Proms 2013 highlights from here :-
 
 http://www.bbc.co.uk/events/edrnc8
 
 e.g. :-
 
 2013 BBC Proms Montage
 
 http://www.bbc.co.uk/events/edrnc8/videos/p00yjyg2#p01g86k6
 

Yes, but I don't know whether it can be done using get_iplayer program. 
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: problem getting 6music program b038zll (Was No Subject)

2013-08-28 Thread bat guano
 
  ...it was a hard one to solve:

 
  But you did insist that:
(1) Will play correctly in browser from iplayer
 It then dawned on me that you must have meant the new iPlayerRadio page, 
 so I went to:
 
 http://www.bbc.co.uk/programmes/b038zlll
 
 and clicked Listen now - much to my amazement, I could stream the file


Smart thinking Vangelis.
:-)

That's good to know for future use.
Try to find an alternative BBC webpage where the programme does play...
instead of iPlayer webpage, where it doesn't.

I concocted an RTMPDump command and downloaded the flv.
Then converted to m4a.
$ ffmpeg -i foo.flv -c copy -bsf:a aac_adtstoasc foo.m4a

Details are here --- http://pastebin.com/g4ym4tM3  
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: mp3 radio shows and wma.

2013-08-23 Thread bat guano
 I've updated from git.

Hi
The modification has 'failed' safe.
:-)

@ubuntu:~$ get_iplayer --type=radio --pid=b0388brv
get_iplayer v2.83, 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: b0388brv 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 modes will be tried for version default
INFO: Trying flashaudio1 mode to record radio: Another Country with Ricky Ross 
- Tift Merritt
INFO: File name prefix = 
Another_Country_with_Ricky_Ross_-_Tift_Merritt_b0388brv_default 
RTMPDump v2.4-git-8e30642
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 13253689
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file 
/home/user/Another_Country_with_Ricky_Ross_-_Tift_Merritt_b0388brv_default.partial.mp3.flv
 via RTMP
INFO: skipping flashaudio1 mode
INFO: You may wish to try --modes=wma for version default
INFO: Note that wma mode is real-time only, and thus is generally only suitable 
for recording live radio.
ERROR: Failed to record 'Another Country with Ricky Ross - Tift Merritt 
(b0388brv)'   
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


mp3 radio shows and wma.

2013-08-17 Thread bat guano
Hi dinkypumpkin

FWIW, I'm going to remove WMA mode from the mode shortcuts in the next 
release.

I agree with the above suggestion.

Are you going to implement it in git?
So that wma is not tried unless we specifically ask for --mode=wma (or 
something like this).

I too have noticed with mp3 radio shows recently, when it hasn't been available 
(yet) for some reason, get_iplayer tries to start downloading the wma version.

imo it would be preferable if it just 'failed' instead.

Or *perhaps* offered a suggestion try --mode=wma.
Though this is a very poor mode, it might be *useful* in extreme circumstances. 
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


The mp3 radio downloads that use MPlayer.

2013-07-17 Thread bat guano
Hi
I don't have any problems with MPlayer but...
Is it necessary for get_iplayer to use MPlayer instead of FFmpeg for muxing the 
mp3 downloads?
Will FFmpeg not demux them properly, or will the demuxed files not play on some 
players?
Or is there some other reason?
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: The mp3 radio downloads that use MPlayer.

2013-07-17 Thread bat guano

 From: batguano...@hotmail.com

 Will FFmpeg not demux them properly, or will the demuxed files not play on 
 some players

I mean mux, not demux, doh
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: The mp3 radio downloads that use MPlayer.

2013-07-17 Thread bat guano

 ...mentioning some reasons back then why
 MPlayer is still being used...

Hi
I've just tried using FFmpeg instead of MPlayer...
Downloaded an mp3 flv file:-
get_iplayer --type=radio --pid=b036jqq9 --raw --force

Tried to mux it with FFmpeg:-
ffmpeg -i Another_Country_with_Ricky_Ross_-_Lord_Huron_b036jqq9_default.flv 
-c copy output.mp3


Gives errors:-
Application provided invalid, non monotonically increasing dts to muxer in 
stream 0


Maybe this is the reason that MPlayer is used instead...
Or maybe a different/more sophisticated command is needed for FFmpeg to mux the 
mp3 from BBC's flv files. 
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: The mp3 radio downloads that use MPlayer.

2013-07-17 Thread bat guano
 I downloaded a shorter audio file:
  in the end a perfectly playable mp3 file was produced



Still gives errors for me:-
Application provided invalid, non monotonically increasing dts to muxer in 
stream 0

get_iplayer --type=radio --pid=b036jrr2 --raw --force

ffmpeg -i Morning_Briefing_-_17_07_2013_b036jrr2_default.flv -f mp3 -vn -c:a 
copy foo.mp3   
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: The mp3 radio downloads that use MPlayer.

2013-07-17 Thread bat guano
 What, if any, is the version of ffmpeg packaged for your system?

No idea. Ubuntu 11.04 is no longer supported.

But although I see the red errors:-
Application provided invalid, non monotonically increasing dts to muxer in 
stream 0

The file does mux OK as with Vangelis.
The resulting mp3 file seems OK.

So maybe it is just a matter of switching off or reducing the loglevel like you 
said. 
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: The mp3 radio downloads that use MPlayer.

2013-07-17 Thread bat guano
 ... I'm not sure why, given your code is
 pretty new...

Hi
I've just compiled FFmpeg again from git.
Still have the red errors.
See attachment.

Maybe this can be fixed by posting the problem on the FFmpeg-users mailing list.

But I think it's safest for get_iplayer to carry on using MPlayer to mux the 
mp3 files.   @ubuntu:~$ ffmpeg -i Morning_Briefing_-_17_07_2013_b036jrr2_default.flv -c 
copy output.mp3
ffmpeg version git-2013-07-18-1816f55 Copyright (c) 2000-2013 the FFmpeg 
developers
  built on Jul 18 2013 03:35:49 with gcc 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
  configuration: --enable-gpl --enable-libaacplus --enable-libfaac 
--enable-libfdk-aac --enable-libilbc --enable-libmp3lame 
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus 
--enable-librtmp --enable-libspeex --enable-libtheora --enable-libvo-aacenc 
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 
--enable-libxvid --enable-nonfree --enable-version3 --enable-x11grab
  libavutil  52. 40.100 / 52. 40.100
  libavcodec 55. 18.102 / 55. 18.102
  libavformat55. 12.102 / 55. 12.102
  libavdevice55.  3.100 / 55.  3.100
  libavfilter 3. 81.101 /  3. 81.101
  libswscale  2.  4.100 /  2.  4.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc52.  3.100 / 52.  3.100
Input #0, flv, from 'Morning_Briefing_-_17_07_2013_b036jrr2_default.flv':
  Duration: 00:30:25.80, start: 0.00, bitrate: 129 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
Output #0, mp3, to 'output.mp3':
  Metadata:
TSSE: Lavf55.12.102
Stream #0:0: Audio: mp3, 44100 Hz, stereo, 128 kb/s
Stream mapping:
  Stream #0:0 - #0:0 (copy)
Press [q] to stop, [?] for help
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 7053 = 7020
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 1482422 = 1482390
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 2957794 = 2957760
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 4433163 = 4433130
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 5908622 = 5908590
Application provided invalid, non monotonically increasing dts to muxer in 
stream 0: 7383994 = 7383960
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 8859363 = 8859330
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 10334822 = 10334790
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 11810194 = 11810160
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 13285563 = 13285530
Application provided invalid, non monotonically increasing dts to muxer in 
stream 0: 14761022 = 14760990
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 16236394 = 16236360
Application provided invalid, non monotonically increasing dts to muxer in 
stream 0: 17711763 = 17711730
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 19187222 = 19187190
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 20662594 = 20662560
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 22137963 = 22137930
Application provided invalid, non monotonically increasing dts to muxer in 
stream 0: 23613422 = 23613390
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 25088794 = 25088760
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 26564163 = 26564130
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 28039533 = 28039500
Application provided invalid, non monotonically increasing dts to muxer in 
stream 0: 29514994 = 29514960
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 30990363 = 30990330
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 32465733 = 32465700
Application provided invalid, non monotonically increasing dts to muxer in 
stream 0: 33941194 = 33941160
[mp3 @ 0x9d47f20] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 35416563 = 35416530
Application provided invalid, non monotonically increasing dts to muxer in 
stream 0: 36891933 = 36891900
Application provided invalid, non monotonically increasing dts to muxer in 
stream 0: 38367394 = 38367360
[mp3 @ 0x9d47f20] Application provided 

RE: File size anomaly with radio downloads

2013-07-10 Thread bat guano
, I would 
 like to understand why the file for the first episode is so much 
 smaller.  How can I find this out.
 
Probably because it is the low bitrate version (48Kbps).
Check it out with MediaInfo program.


 for future spoken word downloads to 
 keep file sizes down?
 
Add --mode=flashaaclow to the command .
(Though I've found that low bitrate versions are sometimes not available for 
*all* the radio shows)

This is a sample command to try:-
get_iplayer --type=radio --pid=b036jc3t --mode=flashaaclow  
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Converting flv to mp3 automatically

2013-07-04 Thread bat guano
as his PC
 is too slow to handle doing the conversion of video.


Hi
get_iplayer doesn't convert video.
It only repackages the flv file into an mp4 container.  
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: How do I use pid recursive?

2013-05-18 Thread bat guano

 No.
...
 It seems easier just to pluck the PID from your browser

OK
I will right-click, copy location on the Book at Bedtime webpage (view 
episodes).

The pid is in here:-
http://www.bbc.co.uk/programmes/b01sk4r8/episodes/guide

;-)   
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: FFmpeg 1.1 released

2013-01-11 Thread bat guano




 
 PS1: I am interested in the wma mode because, as a non-UK user, the other 
 radiomode
 I am left with (= flashaaclow1 = HE-AACv2 = aac@ 48kbpsABR + SBR + PS) is 
 not
 compatible with my portable player (mp3, wma, wav only); granted that 
 flashaaclow1
 downloads very quickly with rtmpdump, plays fine on the laptop, with e.g. 
 Winamp,
 but I have to transcode to mp3 in order to listen to it on the move; and I 
 HATE
 TRANSCODING - I consider it a loss of energy and time... :-(
 
Hi
I understand how you feel about transcoding but...
it's possible to transcode 'on the fly' using a fast mp3 encoder.
Much quicker than downloading wma radio programmes in real time.

I've used this method with Linux, and I've just tested it with Windows XP.
Maybe you'd like to try it out.

With GoGo-no-coda 3.13 from here --- http://www.rarewares.org/mp3-others.php

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
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Replace libfaac with aac in get_iplayer.cgi?

2012-12-22 Thread bat guano





  In the latest ffmpeg, libfaac is no longer supported. Should references
  to it be replaced with the experimental aac, which is?

Hi
I didn't realize that get_iplayer converted anything into aac.
Just de-muxed and re-muxed.

I've found the relevant section in file get_iplayer.cgi.

What is this used for?
Or is it redundant code?


*
sub build_ffmpeg_args {
        my ( $filename, $mimetype, $ext, $abitrate, $vsize, $vfr ) = ( @_ );
        my @cmd_aopts;
        if ( $abitrate =~ m{^\d+$} ) {
            # if this is flv stream output then use the AAC codec
            if ( lc( $ext ) =~ m{^(flv|aac|m4a)$} ) {
                # Tweak: ffmpeg cannot understand aac or m4a as audio output 
formats - force flash audio
                $ext = 'flv' if lc( $ext ) =~ m{^(aac|m4a)$}  $mimetype =~ 
m{^audio};
                push @cmd_aopts, ( '-acodec', 'libfaac', '-ab', ${abitrate}k 
);
            # else just copy  the codec?
            } else {
                push @cmd_aopts, ( '-ab', ${abitrate}k );
            }
        } else {
            if ( lc( $ext ) eq 'flv' ) {
                # 160k is the max for libfaac!
                push @cmd_aopts, ( '-acodec', 'libfaac', '-ab', '160k' );
            }
            # cannot copy code if for example we have an aac stream output as 
WAV (e.g. squeezebox liveradio flashaac)
            #push @cmd_aopts, ( '-acodec', 'copy' );
*
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Live radio stream problems/queries

2012-10-20 Thread bat guano




I like to record radio 3's Late Junction program. I have been doing this
 successfully via get_iplayer

 I like to use the live stream (rather than listen again) because of the
 higher bit rate.

 Lately, I have been having problems with the stream dropping out.


Hi
Theres an alternative feed for Radio3 at 320Kbps.
Maybe it comes from the same place, I don't know.

Or maybe it's more reliable than the iPlayer feed.

It is here --- http://www.bbc.co.uk/radio/listen/live/r3_aaclca.pls

This command will download 30 seconds of it with VLC:-

NOW=$(date +%Y-%m-%d-%Hh%Mm); cvlc --run-time=30 
http://www.bbc.co.uk/radio/listen/live/r3_aaclca.pls 
--sout=#std{access=file,mux=mp4,dst='$NOW-Radio3.m4a'} vlc://quit

@ubuntu:~$ mediainfo 2012-10-20-18h34m-Radio3.m4a
General
Complete name : 2012-10-20-18h34m-Radio3.m4a
Format    : MPEG-4
Format profile    : Base Media
Codec ID  : isom
File size : 1.20 MiB
Duration  : 31s 579ms
Overall bit rate mode : Variable
Overall bit rate  : 320 Kbps
Encoded date  : UTC 2012-10-20 17:35:45
Tagged date   : UTC 2012-10-20 17:35:45
Writing application   : vlc 2.1.0-git stream output
Comment   : QuickTime 6.0 or greater

Audio
ID    : 1
Format    : AAC
Format/Info   : Advanced Audio Codec
Format profile    : LC
Codec ID  : 40
Duration  : 31s 579ms
Source duration   : 31s 602ms
Bit rate mode : Variable
Bit rate  : 318 Kbps
Maximum bit rate  : 392 Kbps
Channel(s)    : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode  : Lossy
Stream size   : 1.20 MiB (99%)
Source stream size    : 1.20 MiB (99%)
Language  : English
Encoded date  : UTC 2012-10-20 17:35:45
Tagged date   : UTC 2012-10-20 17:35:45
mdhd_Duration : 31579

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: I haven't been able to download using PID for ages....

2012-09-26 Thread bat guano




 
 Using --raw obviates the transcoding (yeurgh). use FLVExtract to rip out 
 AAC from the FLVs and then use YAMB (or MP4Box if you're not lazy like 
 me) to remux as an M4A and get it seekable. For videos, I just leave as 
 FLV as MPC can parse and decode them fine natively; when I remuxed as 
 MP4 I had frame drift for whatever reason... and at that point I was 
 happy enough anyway with the H.264 FLVs. :-)
 
 

Hi
Surely for m4a/mp4 files get_iplayer uses FFmpeg to do just what you're doing 
with FLVExtract and YAMB?
Not 'transcoding', only re-packaging.
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


FFmpeg-Based Projects

2012-08-25 Thread bat guano

Hi
There's an FFmpeg webpage that says...
These are some of the projects and programs known to incorporate work from 
FFmpeg.
If you would like to see another project added here, please send an email to 
the ffmpeg-devel mailing list.

Should we ask for get_iplayer to be put on the list?

Webpage is here --- http://ffmpeg.org/projects.html

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Problem with one specific radio programme

2012-08-06 Thread bat guano




 WARNING: ffmpeg does not exist - not converting flv file

 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


Hi
get_iplayer has not been updated properly.
Looks like you need to un-install get_iplayer then do clean install.
Use get_iplayer_setup_latest.exe from here --- 
http://www.infradead.org/get_iplayer/html/get_iplayer.html

***

C:\Program Files\get_iplayerget_iplayer --get --type=radio --pid=p00wg3qp
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.

INFO: Episode-only pid detected
INFO: Trying pid: p00wg3qp 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 modes will be tried for version default
INFO: Trying flashaudio1 mode to record radio: On The Wire - 04/08/2012
INFO: File name prefix = On_The_Wire_-_04_08_2012_p00wg3qp_default

RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
70738.007 kB / 7133.83 sec
Download complete
MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 2.26GHz (Family: 15, Model: 4, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
getch2: 6 can't get number of input events  [disabling console input]

Playing C:\Documents and Settings\Administrator\Desktop\iPlayer Recordings\On_Th
e_Wire_-_04_08_2012_p00wg3qp_default.partial.mp3.flv.
libavformat file format detected.
[lavf] Audio stream found, -aid 0
Core dumped ;)

Exiting... (End of file)
INFO: Recorded C:\Documents and Settings\Administrator\Desktop\iPlayer Recording
s\On_The_Wire_-_04_08_2012_p00wg3qp_default.mp3

INFO: Downloaded Thumbnail to 'C:\Documents and Settings\Administrator\Desktop\i
Player Recordings\On_The_Wire_-_04_08_2012_p00wg3qp_default.jpg'
INFO: ID3 tagging MP3 file

C:\Program Files\get_iplayer



  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: get_iplayer v.v. HiDownload Platinum

2012-07-17 Thread bat guano




 
 As an after thought wouldn't it be great if get_iplayer also worked for ITV 
 iplayer, Ondemand 4 and 5 or whatever?
 
Hi
The ITV and Channel 4 and 5 sites aren't as friendly as BBC.
I've had some success downloading their programmes using RTMPDump with Linux, 
but often the result is just a trailer.

It would be good if there were other projects... get_ITVplayer, get_Channel4 
etc.
I don't think it would be so good (imho) to grow get_iplayer into a monster 
get_everything program.
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Radio prog not recording revisited

2012-06-26 Thread bat guano



 held for approval

That'll be the mailing list police.
;-)

You need to use Plain text, not Rich text.
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: 'Cropping' a recorded radio programme

2012-06-11 Thread bat guano



Could you give me hint on how to extract the AAC?  

Hi
If you're using a Windows computer

Yamb-2.1.0.0 beta 2 with installer

will do the job.

Also it will re-pack the aac back into m4a afterwards.

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Editing those m4a files.

2012-06-03 Thread bat guano

mp3DirectCut-v2.16 now has aac support. :-)
Works with Windows or Linux with WINE.

First need to extract the aac.
Then edit and save with mp3DirectCut.
And mux the aac back into m4a.
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: [PATCH 9/9] Removed obsolete update warnings

2012-05-27 Thread bat guano




 
 Warnings issued when --update attempted with package
 manager installations referred to obsolete resources
 at linuxcentre.net.  Obsolete info was replaced with
 generic message text.
 ---

Hi

ERROR: get_iplayer was installed using the 'apt' package manager.
Please refer to the package manager documentation.

This makes more sense than drivel about trying to download a non-existent deb 
file.

Thanks. ;-)

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: -map_metadata fails in WinFF 1.4.2

2012-04-20 Thread bat guano





  blah, blah, blah


We inadvertently went off-thread.
The story so far...

It seems that get_iplayer with aactomp3 does a cracking job copying across the 
metadata, including cover art.

However, when converting the m4a files to mp3 using WinFF, some of the metadata 
goes AWOL.

And the rest of it doesn't show properly in media players such as Windows Media 
Player and Total Recorder, though it looks impressive with MediaInfo program.

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: -map_metadata fails in WinFF 1.4.2

2012-04-20 Thread bat guano






 On 20/04/2012 14:31, dinkypumpkin wrote:
  produces). I tried adding -id3v2_version 3 to the ffmpeg command line,
  but even though it wrote id3v2.3 frames into the output file, WMP still
  couldn't read them. So, there is some more investigation to be done.

 My oops - forget to re-check mediainfo. Adding -id3v2_version 3 to the
 ffmpeg command line somehow prevented any tags from being copied across,
 so WMP not the culprit. More investigation definitely needed.

Hi

Maybe you have the solution for WMP here.

I repeated the test.



Using a program called mp3diags to look at these tags.



When I use command:-

ffmpeg -i filename.m4a output1.mp3

The tag is shown as ID3V2.4.0



When I use command:-

ffmpeg -i filename.m4a -id3v2_version 3 output2.mp3

The tag is shown as ID3V2.3.0

And the metadata seems to be there in MediaInfo (but no cover art).
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: -map_metadata fails in WinFF 1.4.2

2012-04-20 Thread bat guano







Our emails crossed in the post. ;-)
Yes, perhaps it needs a newer FFmpeg build.
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: -map_metadata fails in WinFF 1.4.2

2012-04-19 Thread bat guano




 
 In order to preserve the file tags, I use the option -map_metadata
 0:0 (without the quotes).  I have just updated WinFF from 1.3.2 to
 1.4.2 and I now get the error message Invalid metadata type 0.
 
 Can anyone help with the correct option setting to do this?
 

Hi
The syntax has changed in WinFF v1.4.2.
The new Additional Command Line Parameter is map_metadata 0 (without the 
quotes).

But with WinFF v1.4.2 the file tags are preserved automatically, so there's no 
need to use the additional parameter.

If, for some reason, you DON'T want to preserve the file tags the Additional 
Command Line Parameter is map_metadata -1 (without the quotes).
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Distorted sound after converting to mpg

2012-03-01 Thread bat guano




 I am attempting to convert to mpg using ffmpeg, using
 the command line
 ffmpeg -i program.mp4 -target pal-dvd program.mpg
 Unfortunately the audio produced is hiss, slightly modified by the
 underlying audio track. The video is fine.

Is the audio of 'program.mpg' OK when you play it on your computer with VLC (or 
similar) player?
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Distorted sound after converting to mpg

2012-03-01 Thread bat guano





   I am attempting to convert to mpg using ffmpeg, using
  the command line
  ffmpeg -i program.mp4 -target pal-dvd program.mpg
  Unfortunately the audio produced is hiss, slightly modified by the
  underlying audio track. The video is fine.
 
  Is the audio of 'program.mpg' OK when you play it on your computer with 
  VLC (or similar) player?
 
  Yes it is fine,  it is just the conversion that goes wrong.

Is the audio of 'program.mpg' OK when you play it on your computer with VLC (or 
similar) player...
AFTER conversion?
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Distorted sound after converting to mpg

2012-03-01 Thread bat guano





  
   Is the audio of 'program.mpg' OK when you play it on your computer with 
   VLC (or similar) player?
  
   Yes it is fine,  it is just the conversion that goes wrong.
 
  Is the audio of 'program.mpg' OK when you play it on your computer with VLC 
  (or similar) player...
  AFTER conversion?

 Sorry, I misread your question. The hiss is there when I play
 program.mpg it on the computer with vlc or mplayer.

Seems (to me) like there's something wrong with your version of FFmpeg.
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Debian Re: FFmpeg MKV to MP4 HD

2012-02-17 Thread bat guano




 Date: Fri, 17 Feb 2012 19:48:10 +
 From: m...@btinternet.com
 To: get_iplayer@lists.infradead.org
 Subject: Debian Re: FFmpeg MKV to MP4 HD


 marcel@LatitudeD810:~$ ffmpeg -i /home/marcel/Downloads/1080p/file.mkv
 -t 90 -s 1280x720 -aspect 16:9 -r 25 -vcodec libx264 -pass 1 -acodec aac
 -ab 128k -ac 2 -strict experimental filename128k.mp4
 FFmpeg version SVN-r0.5.6-4:0.5.6-3, Copyright (c) 2000-2009 Fabrice
 Bellard, et al.
 configuration: --extra-version=4:0.5.6-3 --prefix=/usr
 --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib
 --enable-libdirac --enable-libgsm --enable-libopenjpeg
 --enable-libschroedinger --enable-libspeex --enable-libtheora
 --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping
 --disable-vhook --enable-runtime-cpudetect --enable-gpl
 --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad
 --enable-libdc1394 --enable-shared --disable-static
 15:16:11, gcc: 4.4.5

 Unknown encoder 'libx264'


 comes up with Unknown encoder 'libx264', but get-iPlayer works

This version of FFmpeg has been compiled without libx264 enabled.

Your Debian FFmpeg doesn't show --enable-libx264 in the configuration section.
Your Windows FFmpeg does show --enable-libx264 in the configuration section.

get_iplayer works OK with Debian because ...
get_iplayer doesn't need libx264.
(get_iplayer only copies, it doesn't encode the video).

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: FFmpeg MKV to MP4 HD

2012-02-12 Thread bat guano




 MKV file

Hi
Post output from MediaInfo to show what's in this file.
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: How do I download embedded audio?

2012-02-11 Thread bat guano





 H

 I am looking to record a couple of embedded mp3's, but I can't seem to egt 
 them to work.

 Can anyone help with the correct commands to get these:-

 http://www.bbc.co.uk/radio3/world-music/zimbabwe-1988.shtml

 and

 http://www.bbc.co.uk/blogs/adamandjoe/2009/06/retro-text-the-nation.shtml

Hi
I don't know whether it's possible to download those embedded audios with 
get_iplayer.

But the Adam and Joe embedded audio link is easy to find.
With Firefox  Tools  Web Developer  Web Console.
When you play the clip, among all the logs find the line with mp3.
This one:-
GET 
http://downloads.bbc.co.uk/6music/emp/shows/adamandjoe/audio/RetroTTN060609.mp3

With Linux it can be dowloaded using wget program like this:-
$ wget 
http://downloads.bbc.co.uk/6music/emp/shows/adamandjoe/audio/RetroTTN060609.mp3

Or use some other download manager with Windows.
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Radio 4 - Taking A Stand - Help Downloading

2012-02-05 Thread bat guano



et_iplayer
 
 This is interesting one.

 get_iplayer --info --type=radio --fields=pid b00g3336 does not work,
 neither get_iplayer --get --type=radio --pid=b00g3336 --radiomode=realaudio

 here is the link with RAM file
 http://www.bbc.co.uk/iplayer/aod/playlists/cq/23/g0/0b/RadioBridge_uk_0900_bbc_radio_fourfm.ram

 and here is the recording
 rtsp://rm-acl.bbc.co.uk:554/radio4fmcoyopa/archive/radio_4_fm_-_tuesday_0900_20081223.ra

 but I can't get it recorded either :(



Hi

This is a command to download that ra file using mPlayer:-



mplayer -bandwidth 999 -dumpstream -dumpfile 
radio_4_fm_-_tuesday_0900_20081223.ra 
rtsp://rm-acl.bbc.co.uk:554/radio4fmcoyopa/archive/radio_4_fm_-_tuesday_0900_20081223.ra
 -vc null -vo null -ao null







@ubuntu:~$ mplayer -bandwidth 999 -dumpstream -dumpfile 
radio_4_fm_-_tuesday_0900_20081223.ra 
rtsp://rm-acl.bbc.co.uk:554/radio4fmcoyopa/archive/radio_4_fm_-_tuesday_0900_20081223.ra
 -vc null -vo null -ao null

MPlayer SVN-r34600-4.5.2 (C) 2000-2012 MPlayer Team



Playing 
rtsp://rm-acl.bbc.co.uk:554/radio4fmcoyopa/archive/radio_4_fm_-_tuesday_0900_20081223.ra.

Resolving rm-acl.bbc.co.uk for AF_INET6...



Couldn't resolve name for AF_INET6: rm-acl.bbc.co.uk

Resolving rm-acl.bbc.co.uk for AF_INET...

Connecting to server rm-acl.bbc.co.uk[212.58.251.75]: 554...



Cache size set to 640 KBytes

dump: 12816384 bytes written

realrtsp: Stream EOF detected

dump: 13655600 bytes written to 'radio_4_fm_-_tuesday_0900_20081223.ra'.

Core dumped ;)



Exiting... (End of file)

@ubuntu:~$ 


  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Accessing the BBC from outside the UK

2012-01-05 Thread bat guano



Subject: Re: Accessing the BBC from outside the UK
From: dw...@infradead.org
To: j...@debian.org
Date: Thu, 5 Jan 2012 20:23:53 +
CC: get_iplayer@lists.infradead.org

On Thu, 2012-01-05 at 19:45 +, Jonathan Wiltshire wrote:
 On a wider note, I am increasingly peturbed at the number of enquiries this
 list receives about this sort of thing. I do not think we should encourage
 people to access content to which they are not entitled because they do not
 hold the appropriate license, by proxy or otherwise. The BBC could make
 life very awkward for get_iplayer users if we gain a reputation for
 encouraging license-busting. 
 
Agreed. We do not condone the use of get_iplayer to breach the licence
of the content that the BBC makes available. Please do not ask us how to
do so.
 
-- 
dwmw2

It's not necessary to have a TV license to access watch/listen again BBC 
programmes from iPlayer.

But this is the relevant section from Terms of Use of BBC Online Services 
that applies to get_iplayer

3.2.1 If you are outside the UK
You may not access, view and/or listen to certain parts of BBC Content (such as 
video or live television services) using BBC Online Services if you are outside 
the UK, although you may, in accordance with the Terms, access and view 
bbc.co.uk or other websites and listen to some (but not all) BBC radio content. 
The types of BBC Content that may be available outside the UK will usually 
depend on the BBC's agreements with the persons who own rights in such content.

Information from here:- http://www.bbc.co.uk/terms/personal.shtml#3


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer 
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Coldplay - Radio 2 home page - how to d/l it?

2011-12-16 Thread bat guano




 Date: Fri, 16 Dec 2011 23:29:19 +
 From: clive...@gmail.com
 To: get_iplayer@lists.infradead.org
 Subject: Coldplay - Radio 2 home page - how to d/l it?

 Hello all,

 Does anyone know of a way to d/l the Coldplay video from the BBC R2
 homepage please? 

Hi
That video will download using RTMPDump.
The command is here --- http://pastebin.com/D7zJ7HtB
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Anyone able to (help me) download this?

2011-11-22 Thread bat guano



 Thanks anyway (and would still be interseted to know what get-iplayer
 didn't work in this instance)

 Cheers,

 Josef.

Hi

Sound of Rum - Archive session (2011)
It's only a clip, not an iPlayer programme.

The RTMPDump command is here -- __ http://pastebin.com/GLXkqtGL
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Problem since 27th Oct 2011

2011-10-27 Thread bat guano


 INFO: 4 Matching Programmes
 INFO: Checking existence of default version
 INFO: flashhigh1,flashhigh2 modes will be tried for version default
 INFO: Trying flashhigh1 mode to record tv: Rab C Nesbitt: Series 10 - 1. Broke
 INFO: File name prefix = Rab_C_Nesbitt_Series_10_-_1._Broke_b015r55r_default
 RTMPDump 2.4 git-b627335 2011-7-23
 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
 Connecting ...
 INFO: Connected...
 Starting download at: 0.000 kB
 INFO: Metadata:

 Andy
 
 ___
Hi
This isn't the latest show, it's from October 5th.
___http://www.bbc.co.uk/iplayer/episode/b015r55r/Rab_C_Nesbitt_Series_10_Broke/
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Failed ffmpeg conversion

2011-10-25 Thread bat guano


 neither of which make any sense to me. I'll admit I'm not at all skilled in 
 this sort of 
 thing; where am I going wrong?
 

Hi
If you're not comfortable using FFmpeg maybe somebody will suggest a different 
method to use.
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Failed ffmpeg conversion

2011-10-25 Thread bat guano




 Ah...does using FFmpeg on it's own mean the running the ffmpeg.exe file in the

 C:\Program Files\get_iplayer\FFmpeg\ffmpeg-0.8-win32-static\bin

 folder? 

Yes, run FFmpeg from the command line.
Open the dos window, Start - run - cmd
Then change directory (cd) to C:\Program 
Files\get_iplayer\FFmpeg\ffmpeg-0.8-win32-static\bin
Then try a command:-
ffmpeg -h
See if you get a response.

Then try to convert the file.
!!! The command I gave you before is wrong!!!
Don't use -c copy.
Try a command like this instead:-
ffmpeg -i filename.partial.mp4 -vcodec copy -acodec copy filename.mp4

Maybe you will need to put the partial file into the 
FFmpeg\ffmpeg-0.8-win32-static\bin folder temporarily.

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Failed ffmpeg conversion

2011-10-21 Thread bat guano




 Hi all,
 Does anybody know how to convert .partial.mp4 files to complete video files 
 after 
 an ffmpeg failure? I have some videos that downloaded completely, but ffmpeg 
 hung/crashed during conversion. I know that if the video is still available 
 on the BBC 
 iPlayer, then the file can still be converted using 'get_iplayer --force 
 --pid=' in 
 the get_iplayer command line version, but is there a similar way of 
 converting once the 
 video has expired (as that way doesn't work)? My VLC still plays the partial 
 files, but 
 hangs if I fast forward/rewind.
 Cheers.

Hi
This is the type of command to try:-
ffmpeg -i filename.partial.mp4 -c copy filename.mp4
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Local Radio - partial files

2011-10-20 Thread bat guano

Hi
Is there a particular reason why get_iplayer uses mPlayer to extract the mp3 
from local radio flv files instead of FFmpeg?
Does it do a better job, or is it a legacy, or what?
(Just curious)
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Local Radio - partial files

2011-10-20 Thread bat guano






 Hi
 Is there a particular reason why get_iplayer uses mPlayer to extract the mp3 
 from local radio flv files instead of FFmpeg?
 Does it do a better job, or is it a legacy, or what?
 (Just curious)

Forget it.
I think I can answer my own question.
When using FFmpeg to extract the mp3 it throws up a lot of errors about non 
monotonically increasing dts.
So maybe the result won't play well with iTunes etc. without further 
modification.
mPlayer method is very safe. ;-)
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Version naming suggestion

2011-10-09 Thread bat guano


 
 With all the incremental changes made by dinkypumpkin (and others) to
 the 2.80 perl script, I was thinking it might be a good thing to
 somehow distinguish between them quickly...
 
Hi
I think that would be a good feature.
Some programs (such as FFmpeg-git) show the 'commit'.
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Local Radio - partial files

2011-10-07 Thread bat guano




 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 500 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

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Quality Variation

2011-10-03 Thread bat guano


 
 I want to download all five episodes of Composer of the Week (26-30 
 September) on Radio 3. Monday and Wednesday (c.26.6 MB) have a bit rate of 
 56kbps and Tuesday, Wednesday and Thursday (c.100MB) have a bit rate of 
 192kbps.
 
 Doeas anyone know a way of getting a higher bit rate for Monday's and 
 Wednesday's editions?
 
Hi
I've just downloaded the five shows using these commands:-
get_iplayer --get --type=radio --pid=b0151ppx --force
get_iplayer --get --type=radio --pid=b0151q5d --force
get_iplayer --get --type=radio --pid=b0151r55 --force
get_iplayer --get --type=radio --pid=b0151rx6 --force
get_iplayer --get --type=radio --pid=b0151s18 --force


It's like you said, Monday and Wednesday's shows are currently 56Kbps, the 
other three are 192Kbps.
Maybe the BBC will do something about it if they receive complaints.

In the meantime, if you want consistency, all the shows are available in 
flashaaclow mode at 49Kbps.
 
These are the commands:-
get_iplayer --get --type=radio --pid=b0151ppx --force --mode=flashaaclow
get_iplayer --get --type=radio --pid=b0151q5d --force --mode=flashaaclow
get_iplayer --get --type=radio --pid=b0151r55 --force --mode=flashaaclow
get_iplayer --get --type=radio --pid=b0151rx6 --force --mode=flashaaclow
get_iplayer --get --type=radio --pid=b0151s18 --force --mode=flashaaclow

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Quality Variation (re-formatted!)

2011-10-03 Thread bat guano




  As far as a regular iPlayer user is concerned, who streams the audio 
 content from the iplayer interface,
 he has no clue whatsoever that the encoding team messed up.

You're correct there.
The 'listen again' programmes are intended to be played in a browser.
A normal user wouldn't know anything about the bitrates unless...

Hello BBC iPlayer people, I just listened to the Vivaldi programmes with my PC 
connected to a Bang  Olufsen stereo.
Tuesday's show was great but Wednesday's sounded crappy...
Disgusted of Tunbridge Welles
;-)
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Quality Variation (re-formatted!)

2011-10-03 Thread bat guano





 Disgusted of Tunbridge Welles
 ;-)


 Disgusted of Tunbridge WELLS

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Get Iplayer for Windows

2011-09-29 Thread bat guano




 Date: Thu, 29 Sep 2011 14:17:38 +0100
 From: dinkypump...@gmail.com
 To: get_iplayer@lists.infradead.org
 Subject: Re: Get Iplayer for Windows

 On 29/09/2011 00:19, Vangelis forthnet wrote:
  I went further and trimmed down the installation folder (C:\Program
  Files\get_iplayer) size by:
  1. Leaving inside the rtmpdump/bin folder only the rtmpdump.exe binary.
  2. Leaving inside the ffmpeg/bin folder only the ffmpeg.exe binary.
  3. Deleting from inside the mplayer\MPlayer-1.0rc2\ folder the
  mencoder.exe  man_page.html files, as get_iplayer does not use either
  of them...

 I initially changed the current installer to do that trimming
 automatically, but in the end I decided to be conservative and leave
 everything in, the rationale being that Windows users wouldn't get any
 surprises and, as before, receive all the same helper app components
 that Linux users would get through their package management systems
 (though I suspect that doesn't matter to most Windows users). If we
 ever move to a standalone installer, it would definitely make sense to
 pare down to the bare minimum.

  As a result, I have a perfectly functioning (in the way I use it)
  installation of get_iplayer with a  Program Files\get_iplayer folder
  size of approximately 33 MB; add to that another

 With the current installer, the equivalent trimmed installation would
 use ~55MB. Most of the extra bulk comes with the updated version of Perl.

Hi
Something else to consider in order to strip down get_iplayer.
It's not crucial to use id3 and AtomicParsley, FFmpeg will allow to specify 
*some* tags.
(Though we would need to ensure that this metadata is compatible with iTunes 
etc).
Information is here:- http://wiki.multimedia.cx/index.php?title=FFmpeg_Metadata


Here's an example of use...

Download the raw radio show:-
get_iplayer --get --type=radio --pid=b0150ds --force --raw

Convert it to m4a and insert some metadata...

Like this:-

ffmpeg -i Bells_on_Sunday_-_25_09_2011_b0150dsg_default.flv \
-metadata album=Bells on Sunday \
-metadata composer=BBC Radio \
-metadata genre=Religion  Ethics \
-metadata comment=The bells of St Mary's in Bishopstoke, Hampshire. \
-acodec copy Bells_on_Sunday_-_25_09_2011_b0150dsg.m4a

This is the result with MediaInfo:-

General
Complete name    : 
Bells_on_Sunday_-_25_09_2011_b0150dsg.m4a
Format   : MPEG-4
Format profile   : Apple audio with iTunes info
Codec ID : M4A 
File size    : 2.85 MiB
Duration : 3mn 0s
Overall bit rate mode    : Constant
Overall bit rate : 133 Kbps
Album    : Bells on Sunday
Composer : BBC Radio
Genre    : Religion  Ethics
Writing application  : Lavf53.12.0
Comment  : The bells of St Mary's in 
Bishopstoke, Hampshire.

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Get Iplayer for Windows

2011-09-29 Thread bat guano




 However, I don't feel that id3v2  AtomicParsley present an issue sizewise:
 On my installation, the combined size of id3v2-0.1.12-win32 
 AtomicParsley (containing v0.9.0)
 folders is under 1 MB (420  230 KB respectively).

OK Vangelis.
I agree.
It's not worth upsetting things just for the sake of 1MB. :-)

... Though if we were designing the get_iplayer script now from scratch it 
might be worth considering FFmpeg metadata to reduce the dependencies and 
simplify the Windows installer.
(Perhaps FFmpeg's tagging capability was introduced after get_iplayer was 
invented)


  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Seeking guidance to record streaming audio at time of broadcast

2011-09-28 Thread bat guano




 Date: Wed, 28 Sep 2011 07:28:25 +0100
 From: marsh...@mcleave.orangehome.co.uk
 To: get_iplayer@lists.infradead.org
 Subject: Re: Seeking guidance to record streaming audio at time of broadcast

 On Wed, 28 Sep 2011 07:21:29 +0100
 marshall marsh...@mcleave.orangehome.co.uk wrote:

  On Tue, 27 Sep 2011 20:18:06 +0100
  Clive clive...@gmail.com wrote:
 
   Hello,
  
   I have not used get_iplayer to record a live broadcast. I would like
   to record Saturday's BBC R3 Opera Tosca at 6pm (in the highest
   quality available). I would be grateful if someone could give me the
   command line, with an explanation, and explain how I find the server
   details for a particular broadcast.
  
   Many thanks.
  
   Clive
 
  While running the risk of getting kicked in the balls for saying so
  here, I use mplayer to do the recording of live radio programmes.
  mplayer seems to handle live streams better (for me), I see less
  stream drops and cut outs than using get_iplayer.
 
  The command
 
  mplayer 'url_of_stream' -dumpstream -dumpfile captured_file_name.aac
 
  mplayer
  'http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lc1_radio3_p?s=1317145324e=1317159724h=b006a0bc719af9662e473ebc29ae78a6'
  -dumpstream -dumpfile r3.aac
 
  This dumps the 320kbit aac stream into a file called r3.aac
 
  To find a radio stream url go to somewhere like
  http://www.listenlive.eu/uk.html and open the playlist file of the
  station/format/bitrate in a text editor and just copy and paste it
  into the above command. (Make sure you surround the url in single '
  quotes or the 's will cause you problems.)
 
  -Marshall
 

 Yeah I forgot to say ctrl-c to end/finsh the stream dump.


That's smart Marshall. :-)

(I didn't know that Radio 3 HD 320k was now available using a pls feed).

Your commmand can be simplified a little:-
mplayer 'http://www.bbc.co.uk/radio/listen/live/r3_aaclca.pls' -dumpstream 
-dumpfile r3.aac

Then wrap it in m4a:-
ffmpeg -i r3.aac -acodec copy -absf aac_adtstoasc r3.m4a

I think using the pls feed with mPlayer will be more reliable than using the 
mediaselector/special_event feed with get_iplayer. ;-)

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Seeking guidance to record streaming audio at time of broadcast

2011-09-27 Thread bat guano




 Date: Tue, 27 Sep 2011 20:18:06 +0100
 From: clive...@gmail.com
 To: get_iplayer@lists.infradead.org
 Subject: Fwd: Seeking guidance to record streaming audio at time of broadcast

 Hello,

 I have not used get_iplayer to record a live broadcast. I would like to
 record Saturday's BBC R3 Opera Tosca at 6pm (in the highest quality
 available). I would be grateful if someone could give me the command
 line, with an explanation, and explain how I find the server details for
 a particular broadcast.

 Many thanks.

 Clive


Hi
This command will download live Radio 3 HD (320Kbps):-
get_iplayer --get --type=liveradio 
http://www.bbc.co.uk/mediaselector/4/gtis/?server=cp60703.live.edgefcs.netidentifier=Special_Event1_UK@s6485kind=akamaiapplication=live;

The result is an flv file, it can then be re-packaged as m4a.
The explanation is here:- 
http://lists.infradead.org/pipermail/get_iplayer/2010-December/000390.html

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: FFmpeg DIY warning

2011-09-11 Thread bat guano




 From: northmed...@the.forthnet.gr
 To: get_iplayer@lists.infradead.org
 Subject: Re: FFmpeg DIY warning
 Date: Sun, 11 Sep 2011 10:38:39 +0300

 However, I noticed on the FFmpeg git repo this most latest commit:
 http://git.videolan.org/?p=ffmpeg.git;a=commit;h=cec92fe49a004a2e8b8b8bbba95d756e43cdd93e
 which seems to suggest it reinstates former behaviour. 
Hi Vangelis
Thanks for looking at this.
As you said, the commit with the backward compatability change is 
cec92fe49a004a2e8b8b8bbba95d756e43cdd93e

I've just re-compiled FFmpeg version N-32463-g3fec40b
The problem is solved. :-)
Here:- http://pastebin.com/D8zrFbPi
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Downloading embedded videos from BBC News website

2011-08-30 Thread bat guano






 there is no PID to download BBC News website clips
 http://www.bbc.co.uk/news/uk-14723670
 http://www.bbc.co.uk/news/uk-england-14723796

 is it possible to download them?

Hi
Just use:-
get_iplayer http://www.bbc.co.uk/news/uk-14723670
get_iplayer http://www.bbc.co.uk/news/uk-england-14723796
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: [ANN} get_iplayer 2.80 and Windows installer version 4.3 released

2011-08-29 Thread bat guano





 It works, but as I wrote, only for DIY installations. It's blocked if
 you installed via package manager, as you've seen. The packagemanager
 option is lurking in your system options file, put there during package
 installation. Its presence triggers the message you see. Look for
 /etc/get_iplayer/options -
...
 it looks like Debian testing/unstable packages were updated
 within the last few weeks with a version that has nearly all the
 user-level improvements implemented on the way to 2.80. If you can use
 one of those, you should be OK for a bit.

OK thanks, I understand.
The program was installed originally using Synaptic Package Manager (Ubuntu).
As you said, there is a file /etc/get_iplayer/options.

I'm happy enough to update from git.
Just need to replace the get_iplayer script with the new one. ;-)

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Windows user (and possible ubuntu user) seeks get_iplayer assistance under ubuntu

2011-08-07 Thread bat guano



 Date: Sun, 7 Aug 2011 19:00:19 +0100
 From: roadc...@gmx.com
 To: get_iplayer@lists.infradead.org
 Subject: Windows user (and possible ubuntu user) seeks get_iplayer assistance 
 under ubuntu
 
 I am a Windows user. I have d/l ubuntu on to a boot CD and may install 
 it on an old laptop. I can see the get_iplayer d/l links have files for 
 Windows and other OS but I am a complete Linux novice - so sorry for 
 this dumb question - on Windows I use the command prompt exclusively for 
 get_iplayer. Is there an equivalent for ubuntu and how do I get it.
 
 Thank you for your assistance.
 
 Clive
 

Hi
If you're starting from scratch with Ubuntu it will be least painful to use the 
PPA.
(PPA = Personal Package Archive) 

Read about it here:- 
http://lists.infradead.org/pipermail/get_iplayer/2011-June/001613.html

Add the PPA using the instructions.
Then install get_iplayer using a command:-
sudo apt-get install get-iplayer

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Windows user (and possible ubuntu user) seeks get_iplayer assistance under ubuntu

2011-08-07 Thread bat guano





  
 I am starting from scratch so thanks for your pointer. I'll go look and  
 read. I picked ubuntu because it is a name I know. Is it the best to  
 use or does it not matter? 
  
 Thanks. 
  
 Clive 
  

Ubuntu is probably the most used flavour of Linux.
So there's lots of help at UbuntuForum and google.

In the previous email from CarlFletcher he suggested to use get_iplayer from 
the Ubuntu repository.
This is OK, but the one in the PPA will provide more up-to-date versions of 
get_iplayer and dependencies.

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: How do I get the Glasto hd radio stream?

2011-06-24 Thread bat guano




 Subject: How do I get the Glasto hd radio stream?
 From: mattyboyro...@hotmail.com
 Date: Fri, 24 Jun 2011 10:34:03 +0100
 To: get_iplayer@lists.infradead.org

 Hi

 What command do I need to use to grab the hd steam of 6musics Glasto coverage?

 Thanks

 Matt

 Sent from my iPhone

Hi
This is the command to save 6 Radio Glastonbury HD:-
get_iplayer --get --type=liveradio 
http://www.bbc.co.uk/mediaselector/4/gtis/?server=cp60692.live.edgefcs.netidentifier=Special_Event2_UK@s6487kind=akamaiapplication=live;

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: What is the --mode= command for R3 high quality aac streams please

2011-06-16 Thread bat guano




 Subject: Re: Re: What is the --mode= command for R3 high quality aac streams 
 please
 From: rich...@richsim900.plus.com
 To: get_iplayer@lists.infradead.org
 Date: Thu, 16 Jun 2011 14:32:50 +0100

 bat guano wrote:
 
 
  
  Date: Sat, 14 May 2011 09:42:50 +0100
  From: get_iplayer at cjnash.com
  To: batguano999 at hotmail.com
  CC: roadcone at gmx.com; get_iplayer at lists.infradead.org
  Subject: Re: What is the --mode= command for R3 high quality aac
  streams please
 
  bat guano wrote:
 
  
  Date: Fri, 13 May 2011 22:07:30 +0100
  From: clivebuc at gmail.com
  To: get_iplayer at lists.infradead.org
  Subject: Re: What is the --mode= command for R3 high quality aac
  streams please
 
 
 
  On 13/05/2011 21:44, bat guano wrote:
 
  
  Date: Fri, 13 May 2011 20:25:56 +0100
  From: clivebuc at gmail.com
  To: get_iplayer at lists.infradead.org
  Subject: What is the --mode= command for R3 high quality aac
  streams please
 
  Hello,
 
  It seems that R3 is broadcasting 320K aac streams for their
  evening live
  concerts. Can anyone guide me as to the correct --mode=?? switch
  to
  secure those streams please?
 
  Thank you.
 
  Clive
  Hi
  It was mentioned in an email some months ago.
  I can't find the email now, but this is the command to download
  the 320Kbps aac stream in an flv container:-
 
  get_iplayer --get --type=liveradio
 http://www.bbc.co.uk/mediaselector/4/gtis/?server=cp60703.live.edgefcs.netidentifier=Special_Event1_UK@s6485kind=akamaiapplication=live;
 
  Thanks for the replay batguano - I can see this is to access the
  live
  stream (which I have never tried but now I know how). What I was
  after
  is the mode to d/l the file later. My default mode is
  --mode=flashaac
  for R4 and R4Ex but that gets me 128K - is there a 320K equivalent
  please?
 
  Thanks.
 
  Clive
  Hi
  I don't think that the Radio 3 'listen again' shows are available in
  320Kbps format... but maybe I'm wrong.
  See if someone else corrects me.
 
  By the way, when using my previous command to download the live
  320Kbps stream, it gives me better results if I include:-
  --rtmp-liveradio-opts --live
  in the command.
  Like this:-
  get_iplayer --get --type=liveradio --rtmp-liveradio-opts --live
 http://www.bbc.co.uk/mediaselector/4/gtis/?server=cp60703.live.edgefcs.netidentifier=Special_Event1_UK@s6485kind=akamaiapplication=live;
 
 
  Can you say a little more about what kind of better results you get
  when
  you use this option?
 
  Simon
 
  *** 
  Can you say a little more about what kind of better results you get
  when
  you use this option?
  Simon
  *** 
 
  Hi Simon
  If I don't use '--rtmp-liveradio-opts --live', when I come to unpack
  the flv with FFmpeg it sometimes gives errors.
  Like this:-
  ffmpeg -i foo.flv -acodec copy foo.aac
  [adts @ 0x9f432e0] Application provided invalid, non monotonically
  increasing dts to muxer in stream 0: 4973220 = 4971150
 
  When this happens, I've tried using absf but it doesn't seem to cure
  it.
  Like this:-
  ffmpeg -i foo.flv -acodec copy -absf aac_adtstoasc foo.aac
 
  Using '--rtmp-liveradio-opts --live' adds '--live' to the command for
  RTMPDump.
 
  I've come across this before when downloading other (non BBC) streams
  with RTMPDump.
 
  For live streams (and sometimes even for non-live streams) RTMPDump
  tries to download too fast.
  Then it trips up, then it tries to resume.
  So it produces weird timestamps.
  Using '--live' option with RTMPDump will prevent this.
 

 For information:

 I found the '--rtmp-liveradio-opts --live' option doesn't always prevent
 invalid timestamps, although it helps prevent it.

 More details here:

 http://ffmpeg.org/pipermail/ffmpeg-user/2011-June/001323.html

 If you get the error 'invalid, non monotonically increasing dts to muxer
 in stream' I found a workaround. Details here:

 http://ffmpeg.org/pipermail/ffmpeg-user/2011-June/001342.html





**
Richard said:-
 Tried to re-encode the flv with:

 ffmpeg -i input.flv -acodec libfaac -ab 320k output.m4a

 This produced a playable m4a but it encoded at 152 kbps instead of
 320kbps. I wanted 320 kbps sound quality.

Found a workaround. Re-encoded the flv with:

ffmpeg -i input.flv -acodec aac -strict experimental -ab 325k output.m4a

This produced playable m4a encoded at 300 kbps. Odd that libfaac should
encode at 152 kbps (instead of 320 kpbs) yet acc (which ffmpeg reports
as an experimental encoder) encodes at 300 kpbs.
***


Hi
I don't know anything about FFmpeg's internal experimental aac encoder.

But libfaac is based on faac encoder.
faac is a VBR encoder.

Using faac --long-help shows:-
-q quality    Set default variable bitrate (VBR) quantizer quality in percent.
        (default: 100

RE: M4A files (from YAMB) = slightly smaller filesize than original AACs?

2011-05-17 Thread bat guano




 From: christop...@custommade.org.uk
 To: get_iplayer@lists.infradead.org
 Subject: M4A files (from YAMB) = slightly smaller filesize than original AACs?
 Date: Tue, 17 May 2011 17:21:10 +0100

 I've been taking some previously downloaded raw AAC files (downloaded with
 get_iplayer) and wrapping them as M4As using YAMB. For e.g.:

 Randomfile.m4a = 111 MB (116,501,077 bytes)
 Randomfile.aac = 111 MB (117,371,538 bytes)

 I've observed that consistently the resulting M4As are slightly smaller than
 the raw AACs. Is this to be expected? Is it something to do with the way the
 stream is muxed? I'm certainly not intentionally altering any aspect of the
 file during the M4A creation, so how come the M4As (which one would
 logically expect to be slightly larger given the wrapper overhead) end up
 being the opposite?


 Also is there anything technically incorrect about creating audio-only MP4
 files as opposed to M4A? (I've noticed that YAMB is intelligent enough to
 'do things' appropriate to creating M4A files if you specify the output file
 extension to be M4A instead of the default MP4, I'm not a big user of either
 MP4 or AAC though outside of the scope of archiving my get_iplayer downloads
 - predominantly x264 in MKVs for me).

 TIA (and yes, I did UTFG ;-)
 Chris


*** Also is there anything technically incorrect about creating audio-only MP4
files as opposed to M4A? ***

Hi
Nothing 'technically incorrect' about it.
The explanation is on Wikipedia.
Here:- http://en.wikipedia.org/wiki/Mp4#.MP4_versus_.M4A_filename_extensions

In Ubuntu all mp4 files are described as 'MPEG-4 video' in the file explorer 
with an icon of a cine film.
And m4a files are described as 'MPEG-4 audio' with a musical symbol for the 
icon.


  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: HD streams convert automatically after download...

2011-05-15 Thread bat guano




 From: leeegr...@hotmail.com
 To: get_iplayer@lists.infradead.org
 Subject: HD streams convert automatically after download...
 Date: Sun, 15 May 2011 21:47:40 +


 Hi there,

 I'm new to get)iplayer and I've been searching forums and guides but I've not 
 found a solution to my issue.

 When I download a HD stream, It downloads OK in 1280x720 (as an FLV - I can 
 see it as it comes in; filename ends with default.partial) and then 
 get_iplayer automatically converts it to a 640x320 mpg..

 The command string I'm using is:

 get_iplayer ==type=tv --pid=XXX --vmode=flashhd --flvstreamer=c:\program 
 files (x86)\get_iplayer\flvstreamer_win32_latest.exe --thumbnail --force

 Is there any command I can add to stop ffmpeg from doing this (or even 
 better, convert it to an avi keeping the original.

 Kindest regards,

 Lee

Hi
In your post it shows that you're still using flvstreamer.
So it's an old version of get_iplayer, I think.
RTMPDump is used now instead of flvstreamer.

It would be better if you did a clean install of get_iplayer with the latest 
version.
From here:- http://www.infradead.org/get_iplayer/html/get_iplayer.html

When you've done that, the commands will be:-
For 1280x720:-
get_iplayer --get --mode=flashhd --pid=XXX

And

If there isn't a 1280x720 hd version available... 
For 832x468 try:-
get_iplayer --get --mode=flashvhigh --pid=XXX

Or

For 640x360 try:-
get_iplayer --get --pid=XXX


When they're downloaded the files are mp4 format.




  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: HD streams convert automatically after download...

2011-05-15 Thread bat guano




 From: leeegr...@hotmail.com
 To: get_iplayer@lists.infradead.org
 Subject: HD streams convert automatically after download...
 Date: Sun, 15 May 2011 21:47:40 +


 Hi there,

 I'm new to get)iplayer and I've been searching forums and guides but I've not 
 found a solution to my issue.

 When I download a HD stream, It downloads OK in 1280x720 (as an FLV - I can 
 see it as it comes in; filename ends with default.partial) and then 
 get_iplayer automatically converts it to a 640x320 mpg..

 The command string I'm using is:

 get_iplayer ==type=tv --pid=XXX --vmode=flashhd --flvstreamer=c:\program 
 files (x86)\get_iplayer\flvstreamer_win32_latest.exe --thumbnail --force

 Is there any command I can add to stop ffmpeg from doing this (or even 
 better, convert it to an avi keeping the original.

 Kindest regards,

 Lee
Hi
In your post it shows that you're still using flvstreamer.
So it's an old version of get_iplayer, I think.
RTMPDump is used now instead of flvstreamer.

It would be better if you did a clean install with the latest version of 
get_iplayer.
From here:- http://www.infradead.org/get_iplayer/html/get_iplayer.html

When you've done that, the commands will be:-
For 1280x720:-
get_iplayer --get --mode=flashhd --pid=XXX

And

If there isn't a 1280x720 hd version available... 
For 832x468 try:-
get_iplayer --get --mode=flashvhigh --pid=XXX

Or

For 640x360 try:-
get_iplayer --get --pid=XXX


When they're downloaded the files are type mp4 format.


  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: HD streams convert automatically after download...

2011-05-15 Thread bat guano




 From: leeegr...@hotmail.com
 To: get_iplayer@lists.infradead.org
 Subject: HD streams convert automatically after download...
 Date: Sun, 15 May 2011 21:47:40 +


 Hi there,

 I'm new to get)iplayer and I've been searching forums and guides but I've not 
 found a solution to my issue.

 When I download a HD stream, It downloads OK in 1280x720 (as an FLV - I can 
 see it as it comes in; filename ends with default.partial) and then 
 get_iplayer automatically converts it to a 640x320 mpg..

 The command string I'm using is:

 get_iplayer ==type=tv --pid=XXX --vmode=flashhd --flvstreamer=c:\program 
 files (x86)\get_iplayer\flvstreamer_win32_latest.exe --thumbnail --force

 Is there any command I can add to stop ffmpeg from doing this (or even 
 better, convert it to an avi keeping the original.

 Kindest regards,

 Lee

For some reason, the full emails aren't getting through.
Bottom half is missing.

Hi
In your post it shows that you're still using flvstreamer.
So it's an old version of get_iplayer, I think.
RTMPDump is used now instead of flvstreamer.

It would be better if you did a clean install with the latest version of 
get_iplayer.
From here:- __http://www.infradead.org/get_iplayer/html/get_iplayer.html

When you've done that, the commands will be:-
For 1280x720:-
get_iplayer --get --mode=flashhd --pid=XXX

And

If there isn't a 1280x720 hd version available... 
For 832x468 try:-
get_iplayer --get --mode=flashvhigh --pid=XXX

Or

For 640x360 try:-
get_iplayer --get --pid=XXX


When they're downloaded the files are type mp4 format.



 ___
 get_iplayer mailing list
 get_iplayer@lists.infradead.org
 http://lists.infradead.org/mailman/listinfo/get_iplayer
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: HD streams convert automatically after download...

2011-05-15 Thread bat guano




 From: leeegr...@hotmail.com
 To: get_iplayer@lists.infradead.org
 Subject: HD streams convert automatically after download...
 Date: Sun, 15 May 2011 21:47:40 +


 Hi there,

 I'm new to get)iplayer and I've been searching forums and guides but I've not 
 found a solution to my issue.

 When I download a HD stream, It downloads OK in 1280x720 (as an FLV - I can 
 see it as it comes in; filename ends with default.partial) and then 
 get_iplayer automatically converts it to a 640x320 mpg..

 The command string I'm using is:

 get_iplayer ==type=tv --pid=XXX --vmode=flashhd --flvstreamer=c:\program 
 files (x86)\get_iplayer\flvstreamer_win32_latest.exe --thumbnail --force

 Is there any command I can add to stop ffmpeg from doing this (or even 
 better, convert it to an avi keeping the original.

 Kindest regards,

 Lee



I will try again without the URL for infradead.


Hi
In your post it shows that you're still using flvstreamer.
So it's an old version of get_iplayer, I think.
RTMPDump is used now instead of flvstreamer.

It would be better if you did a clean install with the latest version of 
get_iplayer.
 
From here:-
w  w  w  . i n f r a d e a d . o r g / g e t _ i p l a y e r / h t m l / g e t 
_ i p l a y e r . h t m l


When you've done that, the commands will be:-
For 1280x720:-
get_iplayer --get --mode=flashhd --pid=XXX

And

If there isn't a 1280x720 hd version available... 
For 832x468 try:-
get_iplayer --get --mode=flashvhigh --pid=XXX

Or

For 640x360 try:-
get_iplayer --get --pid=XXX


When they're downloaded the files are type mp4 format.




  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: HD streams convert automatically after download...

2011-05-15 Thread bat guano




 From: leeegr...@hotmail.com
 To: get_iplayer@lists.infradead.org
 Subject: HD streams convert automatically after download...
 Date: Sun, 15 May 2011 21:47:40 +


 Hi there,

 I'm new to get)iplayer and I've been searching forums and guides but I've not 
 found a solution to my issue.

 When I download a HD stream, It downloads OK in 1280x720 (as an FLV - I can 
 see it as it comes in; filename ends with default.partial) and then 
 get_iplayer automatically converts it to a 640x320 mpg..

 The command string I'm using is:

 get_iplayer ==type=tv --pid=XXX --vmode=flashhd --flvstreamer=c:\program 
 files (x86)\get_iplayer\flvstreamer_win32_latest.exe --thumbnail --force

 Is there any command I can add to stop ffmpeg from doing this (or even 
 better, convert it to an avi keeping the original.

 Kindest regards,

 Lee

 ___
 get_iplayer mailing list
 get_iplayer@lists.infradead.org
 http://lists.infradead.org/mailman/listinfo/get_iplayer
Hi
In your post it shows that you're still using flvstreamer.
So it's an old version of get_iplayer, I think.
RTMPDump is used now instead of flvstreamer.
It would be better if you did a clean install with the latest version of 
get_iplayer.
From here:-
w  w  w  . i n f r a d e a d . o r g / g e t _ i p l a y e r / h t m l / g e t 
_ i p l a y e r . h t m l
When you've done that, the commands will be:-
For 1280x720:-
get_iplayer --get --mode=flashhd --pid=XXX
And
If there isn't a 1280x720 hd version available... 
For 832x468 try:-
get_iplayer --get --mode=flashvhigh --pid=XXX
Or
For 640x360 try:-
get_iplayer --get --pid=XXX
When they're downloaded the files are type mp4 format.

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: HD streams convert automatically after download...

2011-05-15 Thread bat guano




 From: leeegr...@hotmail.com
 To: get_iplayer@lists.infradead.org
 Subject: HD streams convert automatically after download...
 Date: Sun, 15 May 2011 21:47:40 +


 Hi there,

 I'm new to get)iplayer and I've been searching forums and guides but I've not 
 found a solution to my issue.

 When I download a HD stream, It downloads OK in 1280x720 (as an FLV - I can 
 see it as it comes in; filename ends with default.partial) and then 
 get_iplayer automatically converts it to a 640x320 mpg..

 The command string I'm using is:

 get_iplayer ==type=tv --pid=XXX --vmode=flashhd --flvstreamer=c:\program 
 files (x86)\get_iplayer\flvstreamer_win32_latest.exe --thumbnail --force

 Is there any command I can add to stop ffmpeg from doing this (or even 
 better, convert it to an avi keeping the original.

 Kindest regards,

 Lee

 ___
 get_iplayer mailing list
 get_iplayer@lists.infradead.org
 http://lists.infradead.org/mailman/listinfo/get_iplayer

Full reply is in the attachment.
  Hi
In your post it shows that you're still using flvstreamer.
So it's an old version of get_iplayer, I think.
RTMPDump is used now instead of flvstreamer.
It would be better if you did a clean install with the latest version of 
get_iplayer.
From here:-
w  w  w  . i n f r a d e a d . o r g / g e t _ i p l a y e r / h t m l / g e t 
_ i p l a y e r . h t m l
When you've done that, the commands will be:-
For 1280x720:-
get_iplayer --get --mode=flashhd --pid=XXX
And
If there isn't a 1280x720 hd version available... 
For 832x468 try:-
get_iplayer --get --mode=flashvhigh --pid=XXX
Or
For 640x360 try:-
get_iplayer --get --pid=XXX
When they're downloaded the files are type mp4 format.
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: HD streams convert automatically after download...

2011-05-15 Thread bat guano




 Date: Mon, 16 May 2011 00:06:00 +0100
 From: m...@john-eason.co.uk
 Subject: RE: HD streams convert automatically after download...
 To: get_iplayer@lists.infradead.org

  *From:* bat guano 
  *To:* , 
  *Date:* Sun, 15 May 2011 22:51:49 +
 
  
   From: leeegr...@hotmail.com
   To: get_iplayer@lists.infradead.org
   Subject: HD streams convert automatically after download...
   Date: Sun, 15 May 2011 21:47:40 +
  
  
   Hi there,
  
   I'm new to get)iplayer and I've been searching forums and guides
   but I've not found a solution to my issue.
  
   When I download a HD stream, It downloads OK in 1280x720 (as an
   FLV - I can see it as it comes in; filename ends with
  default.partial) and then get_iplayer automatically converts it to
  a 640x320 mpg..
  
   The command string I'm using is:
  
   get_iplayer ==type=tv --pid=XXX --vmode=flashhd
   --flvstreamer=c:\program files
  (x86)\get_iplayer\flvstreamer_win32_latest.exe --thumbnail --force
  
   Is there any command I can add to stop ffmpeg from doing this (or
   even better, convert it to an avi keeping the original.
  
   Kindest regards,
  
   Lee
  
   ___
   get_iplayer mailing list
   get_iplayer@lists.infradead.org
   http://lists.infradead.org/mailman/listinfo/get_iplayer
 
  Full reply is in the attachment.
 
  ___
  get_iplayer mailing list
  get_iplayer@lists.infradead.org
  http://lists.infradead.org/mailman/listinfo/get_iplayer

 All half dozen or so of your replies appeared in full here! :^)

 Regards
 John (m...@john-eason.co.uk)

 ___
OK, sorry about that.
It seems the mails were getting through, but not showing up in full on the 
board. 
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: What is the --mode= command for R3 high quality aac streams please

2011-05-14 Thread bat guano




 Date: Sat, 14 May 2011 09:42:50 +0100
 From: get_ipla...@cjnash.com
 To: batguano...@hotmail.com
 CC: roadc...@gmx.com; get_iplayer@lists.infradead.org
 Subject: Re: What is the --mode= command for R3 high quality aac streams 
 please

 bat guano wrote:
 
 
  
  Date: Fri, 13 May 2011 22:07:30 +0100
  From: clive...@gmail.com
  To: get_iplayer@lists.infradead.org
  Subject: Re: What is the --mode= command for R3 high quality aac streams 
  please
 
 
 
  On 13/05/2011 21:44, bat guano wrote:
 
 
  
  Date: Fri, 13 May 2011 20:25:56 +0100
  From: clive...@gmail.com
  To: get_iplayer@lists.infradead.org
  Subject: What is the --mode= command for R3 high quality aac streams 
  please
 
  Hello,
 
  It seems that R3 is broadcasting 320K aac streams for their evening live
  concerts. Can anyone guide me as to the correct --mode=?? switch to
  secure those streams please?
 
  Thank you.
 
 
  Clive
  Hi
  It was mentioned in an email some months ago.
  I can't find the email now, but this is the command to download the 
  320Kbps aac stream in an flv container:-
 
  get_iplayer --get --type=liveradio 
  http://www.bbc.co.uk/mediaselector/4/gtis/?server=cp60703.live.edgefcs.netidentifier=Special_Event1_UK@s6485kind=akamaiapplication=live;
 
  Thanks for the replay batguano - I can see this is to access the live
  stream (which I have never tried but now I know how). What I was after
  is the mode to d/l the file later. My default mode is --mode=flashaac
  for R4 and R4Ex but that gets me 128K - is there a 320K equivalent please?
 
  Thanks.
 
  Clive
  Hi
  I don't think that the Radio 3 'listen again' shows are available in 
  320Kbps format... but maybe I'm wrong.
  See if someone else corrects me.
 
  By the way, when using my previous command to download the live 320Kbps 
  stream, it gives me better results if I include:-
  --rtmp-liveradio-opts --live
  in the command.
  Like this:-
  get_iplayer --get --type=liveradio --rtmp-liveradio-opts --live 
  http://www.bbc.co.uk/mediaselector/4/gtis/?server=cp60703.live.edgefcs.netidentifier=Special_Event1_UK@s6485kind=akamaiapplication=live;
 
 
 Can you say a little more about what kind of better results you get when
 you use this option?

 Simon
 
 
***  
Can you say a little more about what kind of better results you get when
you use this option?
Simon
*** 

Hi Simon
If I don't use '--rtmp-liveradio-opts --live', when I come to unpack the flv 
with FFmpeg it sometimes gives errors.
Like this:-
ffmpeg -i foo.flv -acodec copy foo.aac
[adts @ 0x9f432e0] Application provided invalid, non monotonically increasing 
dts to muxer in stream 0: 4973220 = 4971150

When this happens, I've tried using absf but it doesn't seem to cure it.
Like this:-
ffmpeg -i foo.flv -acodec copy -absf aac_adtstoasc foo.aac

Using '--rtmp-liveradio-opts --live' adds '--live' to the command for RTMPDump.

I've come across this before when downloading other (non BBC) streams with 
RTMPDump.

For live streams (and sometimes even for non-live streams) RTMPDump tries to 
download too fast.
Then it trips up, then it tries to resume.
So it produces weird timestamps.
Using '--live' option with RTMPDump will prevent this.






  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: What is the --mode= command for R3 high quality aac streams please

2011-05-14 Thread bat guano




 Date: Sat, 14 May 2011 13:32:51 +0100
 From: clive...@gmail.com
 To: she...@o2.co.uk
 Subject: Re: What is the --mode= command for R3 high quality aac streams 
 please
 CC: get_iplayer@lists.infradead.org

 On 14/05/2011 10:33, Shevek wrote:
 
 
  Sent from my iPhone
 
  On 14 May 2011, at 10:22, Clive wrote:
 
  I don't know how to tell the encode rate of a file from the file itself. I 
  have d/l an evening concert running to just under three hours and had 
  expected a file around 180MB. The file is actually over 250MB so that 
  suggests the listen again encode is higher - can anyone clarify this 
  please?
 
  I'm mobile at the moment so can't provide a link, but google MEDIAINFO for 
  a fantastic free utility for examining media files.
 Thank you Shevek - found it and it does tell me that the encode rate is
 192K. Most helpful - thanks.

 Clive

Hi Clive
MediaInfo is a great program.
Also, while you're downloading you should see INFO:  audiodatarate.


INFO: Trying pid: 
http://www.bbc.co.uk/mediaselector/4/gtis/?server=cp60703.live.edgefcs.netidentifier=Special_Event1_UK@s6485kind=akamaiapplication=live
 using type: liveradio
INFO Trying to stream pid using type liveradio
INFO: pid not found in liveradio cache
INFO: Checking existence of default version
INFO: flashaaclow1 modes will be tried for version default
INFO: Trying flashaaclow1 mode to record liveradio:  - 
INFO: File name prefix = 
Special_Event1_UK_s6485_-_2011-05-14_141627 
RTMPDump v2.3 SVN-r568
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: Can't resume live stream, ignoring --resume option
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:   audiocodecid  mp4a
INFO:   audiodatarate 320.00
INFO:   createdby BBC
INFO:   canseektoend  FALSE
566.484 kB / 14.22 sec^C


  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: What is the --mode= command for R3 high quality aac streams please

2011-05-13 Thread bat guano




 Date: Fri, 13 May 2011 22:07:30 +0100
 From: clive...@gmail.com
 To: get_iplayer@lists.infradead.org
 Subject: Re: What is the --mode= command for R3 high quality aac streams 
 please



 On 13/05/2011 21:44, bat guano wrote:
 
 
 
  
  Date: Fri, 13 May 2011 20:25:56 +0100
  From: clive...@gmail.com
  To: get_iplayer@lists.infradead.org
  Subject: What is the --mode= command for R3 high quality aac streams please
 
  Hello,
 
  It seems that R3 is broadcasting 320K aac streams for their evening live
  concerts. Can anyone guide me as to the correct --mode=?? switch to
  secure those streams please?
 
  Thank you.


 
  Clive
  Hi
  It was mentioned in an email some months ago.
  I can't find the email now, but this is the command to download the 320Kbps 
  aac stream in an flv container:-
 
  get_iplayer --get --type=liveradio 
  http://www.bbc.co.uk/mediaselector/4/gtis/?server=cp60703.live.edgefcs.netidentifier=Special_Event1_UK@s6485kind=akamaiapplication=live;
 
 Thanks for the replay batguano - I can see this is to access the live
 stream (which I have never tried but now I know how). What I was after
 is the mode to d/l the file later. My default mode is --mode=flashaac
 for R4 and R4Ex but that gets me 128K - is there a 320K equivalent please?

 Thanks.

 Clive
Hi
I don't think that the Radio 3 'listen again' shows are available in 320Kbps 
format... but maybe I'm wrong.
See if someone else corrects me.

By the way, when using my previous command to download the live 320Kbps stream, 
it gives me better results if I include:-
--rtmp-liveradio-opts --live
in the command.
Like this:-
get_iplayer --get --type=liveradio --rtmp-liveradio-opts --live 
http://www.bbc.co.uk/mediaselector/4/gtis/?server=cp60703.live.edgefcs.netidentifier=Special_Event1_UK@s6485kind=akamaiapplication=live;



  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: BBC Radio 4 Extra - metadata

2011-05-01 Thread bat guano




 From: klyn...@gmail.com
 Date: Sat, 30 Apr 2011 15:14:39 +0100
 Subject: BBC Radio 4 Extra - metadata
 To: get_iplayer@lists.infradead.org

 I hope this is a user/newbie question rather than a devleoper type
 question. I'm finding it hard to pick up the content I'd normally have
 found on BBC 7. Is this situation just temporary, until all the
 programmes are created with the new BBC Radio 4 Extra channel or is
 there something more fundamental happening.

 Thanks

 Kevin

Hi
Are you using the very latest get_iplayer ?
New get_iplayer script is availale from here:-
http://git.infradead.org/get_iplayer.git
  
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Workaround for broken(?) m4a files from ffmpeg, was Re: [PATCH] Output AAC as M4A for iTunes with metadata tags

2011-04-15 Thread bat guano





 
 rtmpdump produces FLV files, which have nowhere to put a value for the
 average bit rate. So this isn't something that rtmpdump could fix.

 I think ffmpeg is the right place to handle this. When ffmpeg runs
 (using -acodec copy), it displays a status line of the form
 size= 33270kB time=821.71 bitrate= 331.7kbits/s
 where these values are updated every second or so. So ffmpeg does
 know the average bit rate, but it doesn't store it in the m4a file.

 Simon
 
 
Hi
I also don't think it's a problem caused by streamed files from RTMPDump.

And it's not just '-acodec copy' that gives no avgBitrate.
FFmpeg doesn't seem to set the avgBitrate when converting other files to m4a.
Using commands like this:-
ffmpeg -i foo -acodec libfaac foo.m4a

Other encoders, such as faac and neroAacEnc, seem to set the avgBitrate OK 
though.
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Nort converting FLV to M4a

2011-04-09 Thread bat guano






 I've found in the last few days, get_iplayer has downloaded shows saving
 them as default.partial.m4a.flv and not converting them to M4a, However
 if I delete the entry from the download history, then run get_iplayer
 again, it converts to M4a without redownloading it again. Any idea why?
 This is in Ubuntu 8.04 Hardy.
 Steve


Are you using the patched script?
From here:-
https://github.com/dinkypumpkin/get_iplayer/tree/patched
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: [PATCH] Output AAC as M4A for iTunes with metadata tags

2011-04-01 Thread bat guano





 This does not work for my Marantz player.

 I still think the problem with ffmpeg has not been completely solved:-

@ Richard
In the ffmpeg git commit, it says:-
In ipod/mov/mp4 muxer, always write esds descriptor length using 4 bytes, ipod 
shuffle doesn't support anything else.

So maybe there is another fix needed for the Marantz player.

Here:- 
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=93dfda88968c5e4d3f596f35a446fb7c238e96b2
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: 3rd go at M4A

2011-04-01 Thread bat guano





 This is basically my first patch (run through ffmpeg a second time for
 aac-m4a) but with better variable handling

 Let me know if this works in all the test scenarios everyone has and
 if so I'll submit the patch


@ Shevek
I tested your '3rd go at M4A' version.

With radio aac standard and aac low they created m4a files correctly.
The '--raw' switch still works too.

I downloaded a 3-hour radio show.
While it was muxing from flv to m4a I could see that it made 2 passes.
The time taken isn't excessive, even for the 3-hour show.

I loaded some of the m4a files onto my iPod Shuffle using gtkpod in Linux.
They play OK.

The tagging of the m4a radio shows is fine.

Richard_Allinson_-_26_03_2011_b00zp2fr_default.m4a -t
Atom ©too contains: Lavf52.104.0
Atom desc contains: Join the 3.46 club with your early morning host Richard 
Allinson.
Atom ©cmt contains: Join the 3.46 club with your early morning host Richard 
Allinson.
Atom ©nam contains: Richard Allinson: 26/03/2011
Atom tvsh contains: Richard Allinson
Atom tven contains: b00zp2fr
Atom ©ART contains: BBC Radio 2
Atom aART contains: BBC Radio 2
Atom ©alb contains: Richard Allinson
Atom ©day contains: 2011-03-26T03:00:00Z
Atom rtng contains: Clean Content
Atom ©gen contains: Music,Classic Pop  Rock,Pop  Chart
Atom covr contains: 1 piece of artwork

The TV shows still seem to download OK.

I tested dinkypumpkin's aactomp3 patch separately.
That works OK for me too.
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: M4A / AAC changes

2011-03-31 Thread bat guano




 Date: Thu, 31 Mar 2011 13:01:25 +0100
 Subject: M4A / AAC changes
 From: she...@shevek.co.uk
 To: get_iplayer@lists.infradead.org

 All,

 Quick question on how to handle the AAC / M4A issue

 Should M4A be the default container for AAC audio or should it default
 to raw AAC and only use M4A if a new --m4a switch is set?

 Cheers

 Shevek

+1 for m4a by default.
Please leave the '--raw' option still available though.
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: [PATCH] Output AAC as M4A for iTunes with metadata tags (Shevek)

2011-03-31 Thread bat guano




 Subject: [PATCH] Output AAC as M4A for iTunes with metadata tags (Shevek)
 From: rich...@richsim900.plus.com
 To: get_iplayer@lists.infradead.org
 Date: Thu, 31 Mar 2011 14:35:54 +0100

 Sorry to spoil things, but the patch to ffmpeg has not solved the
 problem with my Marantz CD6003. 

@ Richard
Using your new version of FFmpeg...
When you convert other mp3 files to m4a using command:-
ffmpeg filename -acodec libfaac output.m4a

Do they now play in your Marantz straight off, or do you still need to use 
EasyTAG?
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: [PATCH] Output AAC as M4A for iTunes with metadata tags (Shevek)

2011-03-31 Thread bat guano






 OK, this is what I came up with and it works:

 @cmd = (
 $bin-{ffmpeg} . ' -i ' . $file_tmp . ' -vn -acodec copy -f adts -
 | ' . $bin-{ffmpeg} . ' -i - -vn -acodec copy -absf aac_adtstoasc -y
 ' . $prog-{filepart} . '',
 );

 does anyone have any objections to this?

No objections from me shevek.
But aren't those '-vn' and '-vn' and '-y' redundant?
Or are they needed for some reason?

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: [PATCH] Output AAC as M4A for iTunes with metadata tags

2011-03-31 Thread bat guano







 No they do not play, but no 'header error' or 'time out' error. They
 play OK (with no delay) if I use EasyTag and change a tag.


OK
Well the FFmpeg update fixed it for the Shuffle.
The m4a files play straight off without needing EasyTAG any more.
Looks like there's still an issue with FFmpeg and the Marantz.
That's maybe why you have problems using the get_iplayer patches.

But Shevek's new patch uses a pipe.

Try using a command like this:-


ffmpeg -i Bells_on_Sunday_-_27_03_2011_b00zq9t8_default.flv -acodec copy -f 
adts - | ffmpeg -i - -acodec copy -absf aac_adtstoasc Bells-on-Sunday.m4a   
AtomicParsley Bells-on-Sunday.m4a --artist BBC Radio 4 --title Bells on 
Sunday --overWrite

If that command works with the Marantz then Shevek's new patch will probably be 
OK for you.
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: [PATCH] Output AAC as M4A for iTunes with metadata tags

2011-03-30 Thread bat guano




 So, currently in my version of get_iplayer:

 1 rtmpdump downloads flv
 2 ffmpeg remuxes flv to aac
 3 ffmpeg remuxes aac to m4a and removes ADTS
 4 atomicparsley tags the m4a

 Your testing shows that ffmpeg at least is causing a problem with it's
 m4a handling and that EasyTag corrects this but AtomicParsley does not

 Does EasyTag have command line options that we can test?

Hi shevek
I don't know whether EasyTAG has command line options.

But
I asked a question on the ffmpeg mailing list about aac/m4a files.
This is the mailing list:- 
http://ffmpeg.org/pipermail/ffmpeg-user/2011-March/date.html
This is my thread:- 
http://ffmpeg.org/pipermail/ffmpeg-user/2011-March/000138.html

A developer sent me a patch for ffmpeg.
I've re-compiled ffmpeg with the patch and I can produce m4a files that now 
play in
my Shuffle without needing EasyTAG.

When I use this patched ffmpeg with get_iplayer the files play OK too!!

Also, it's not necessary for me to use 2 steps to make m4a files.

Just one step.
Like this:-
Download Paul Jones show in flv format using '--raw' option.
get_iplayer --get --type=radio --pid=b00zp6fd --raw
Then convert the flv straight into m4a using the '-absf' filter and add some 
tags.
Like this:-
ffmpeg -i Paul_Jones_-_28_03_2011_b00zp6fd_default.flv -acodec copy -absf 
aac_adtstoasc PaulJones.m4a  AtomicParsley PaulJones.m4a --artist BBC 
Radio2 --title Paul Jones show --overWrite

This would be a good method to use.
Instead of creating an aac file then creating an m4a file from it, do both ops 
together.
I don't know whether this applies to all versions of ffmpeg or whether only for 
my patched version.

1 rtmpdump downloads flv
2 ffmpeg remuxes flv to m4a and removes ADTS
3 atomicparsley tags the m4a

I will wait and see whether the patch is going to be included in git.

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: [PATCH] Output AAC as M4A for iTunes with metadata tags

2011-03-30 Thread bat guano






 This is an ideal solution. I await a win32 build of ffmpeg and then
 I'll update my get_iplayer patch

 Excellent!

Hi
The patch has been committed to FFmpeg git.
Information is here:-
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=93dfda88968c5e4d3f596f35a446fb7c238e96b2
I've compiled FFmpeg again, everything's hunkydory.
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: [PATCH] Output AAC as M4A for iTunes with metadata tags (Shevek)

2011-03-27 Thread bat guano




 From: she...@o2.co.uk
 Subject: Re: [PATCH] Output AAC as M4A for iTunes with metadata tags (Shevek)
 Date: Sun, 27 Mar 2011 14:16:35 +0100
 To: rich...@richsim900.plus.com
 CC: get_iplayer@lists.infradead.org

 I'll see if I can update my patch to remove that tag...

Hi shevek
I think there's more to it than that.

In my opinion, ffmpeg handles aac/m4a files in a way that
isn't friendly with some players.

It's not just the BBC files either.
When I convert other files to m4a using ffmpeg like this:-
ffmpeg -i foo -acodec libfaac foo.m4a

they won't play in the Shuffle until I've modified them using EASYTag.



  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: [PATCH] Output AAC as M4A for iTunes with metadata tags (Shevek)

2011-03-27 Thread bat guano






 Which version of ffmpeg are you using?


I'm using this version with Ubuntu Karmic:-

FFmpeg version git-N-28651-gf55dd6c, Copyright (c) 2000-2011 the FFmpeg 
developers
  built on Mar 26 2011 11:51:58 with gcc 4.4.1
  configuration: --enable-gpl --enable-version3 --enable-nonfree 
--enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame 
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora 
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid 
--enable-x11grab --disable-encoder=vorbis
  libavutil    50. 40. 0 / 50. 40. 0
  libavcodec   52.115. 0 / 52.115. 0
  libavformat  52.103. 0 / 52.103. 0
  libavdevice  52.  3. 0 / 52.  3. 0
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 13. 0 /  0. 13. 0
  libpostproc  51.  2. 0 / 51.  2. 0
FFmpeg git-N-28651-gf55dd6c
libavutil    50. 40. 0 / 50. 40. 0
libavcodec   52.115. 0 / 52.115. 0
libavformat  52.103. 0 / 52.103. 0
libavdevice  52.  3. 0 / 52.  3. 0
libavfilter   1. 76. 0 /  1. 76. 0
libswscale    0. 13. 0 /  0. 13. 0
libpostproc  51.  2. 0 / 51.  2. 0

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: PVR Problem caused by invalid PC date

2011-03-25 Thread bat guano



Has someone perhaps still got their download and could share
 it with me please? According to the web it should of had Paul Merton,
 Gyles Brandreth, Shappi Khorsandi and Rick Wakeman, on the panel.


 Thanks,

 Michael

Here it is:- 
http://rapidshare.com/#!download|472tl2|454419102|just_a_minute.2011-03-07.s62e05.mp3|26538
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Getting radio into iTunes and onto an iPhone

2011-03-23 Thread bat guano




 Date: Wed, 23 Mar 2011 23:06:53 +
 From: geoff.getiplayer_l...@alphaworks.co.uk
 To: get_iplayer@lists.infradead.org
 Subject: Getting radio into iTunes and onto an iPhone

 I'm trying to get BBC radio programmes into iTunes and onto my iPhone
 under Windows XP. Now that we can't get MP3s I'm a little confused...

..
  Can someone explain to me
 what these AAC files are and why iTunes won't recognise them 

Hi
The aac files are 'raw' streams not suitable for iPods/iPhones.
They need to be 'wrapped' in a m4a container.

There's a patched version of get_iplayer by Nick Ludlam that changes 
the aac files losslessly to m4a automatically.

Read about it in this thread:- 
http://lists.infradead.org/pipermail/get_iplayer/2011-March/000988.html

See if it works OK with your ffmpeg and iTunes and iPhone.
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Audo test mp4 file

2011-03-20 Thread bat guano






 Searched for a test m4a. There is a m4a test file that works on my cd
 player here:

 http://www.nintendo.com/consumer/systems/dsi/en_na/soundTest.jsp


 Link to zip containing the test file:

 http://www.nintendo.com/consumer/downloads/test.zip

Hi
The nintendo file plays in my second generation iPod shuffle.
Picture is here:- http://img140.imageshack.us/img140/9927/shufflex.jpg
I'm amazed because this POS is very picky about what it likes.
Previously I've only been able to play m4a files created using
iTunes or neroAacEnc.

The file created using Nick's method won't work for me.
ffmpeg -i foo.aac -absf aac_adtstoasc -acodec copy foo.m4a

Do you think the problem might be to do with the tagging?
Perhaps some iPods and iTunes won't recognize the way get_iplayer tags the 
files.
Particularly if they see 'Writing application : Lavf52.103.0 ' when they're 
expecting
something like 'Writing application : iTunes 8.0.2, QuickTime 7.6'.

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Audo test mp4 file

2011-03-20 Thread bat guano




 Subject: Re: Audo test mp4 file
 From: a...@networkned.co.uk
 Date: Sun, 20 Mar 2011 16:18:37 +
 To: get_iplayer@lists.infradead.org


 On 20/3/2011, at 3:59pm, bat guano wrote:
  ...
  Searched for a test m4a. There is a m4a test file that works on my cd
  player here:
 
  http://www.nintendo.com/consumer/systems/dsi/en_na/soundTest.jsp
 
 
  Link to zip containing the test file:
 
  http://www.nintendo.com/consumer/downloads/test.zip
 
 
  The nintendo file plays in my second generation iPod shuffle.
  Picture is here:- http://img140.imageshack.us/img140/9927/shufflex.jpg
  I'm amazed because this POS is very picky about what it likes.
  Previously I've only been able to play m4a files created using
  iTunes or neroAacEnc.
 
  The file created using Nick's method won't work for me.
  ffmpeg -i foo.aac -absf aac_adtstoasc -acodec copy foo.m4a
 
  Do you think the problem might be to do with the tagging?
  Perhaps some iPods and iTunes won't recognize the way get_iplayer tags the 
  files.
  Particularly if they see 'Writing application : Lavf52.103.0 ' when they're 
  expecting
  something like 'Writing application : iTunes 8.0.2, QuickTime 7.6'.

 Thanks to you both for the feedback.

 I'm pretty sure I've made .m4a audio on Linux that has then played back in 
 iTunes (or at least Quicktime) on my Mac. But I was probably converting flaac 
 to wav to aac using /usr/bin/flac from .

 The Nintendo sample appears to have been made with Apple software (I took a 
 glance at it earlier, but can't remember now whether it was Quicktime or 
 iTunes).

 But Apple aren't so obnoxious that they *deliberately* won't play audio 
 produced by other applications; it's surely possible for get_iplayer to get 
 this right.

 aB.

OK
I've got a workaround for my iPod shuffle.

Download the low-aac file:-
get_iplayer --get --force --type=radio --pid=b00zf64d --mode=flashaaclow

Convert it to m4a using -absf aac_adtstoasc:-
ffmpeg -i Book_at_Bedtime_-_Pigeon_English_Episode_10_b00zf64d_default.aac 
-absf aac_adtstoasc -acodec copy output.m4a

Load it onto my iPod.
It won't play.
   

Load the file into EasyTAG-aac v1.1.5.
Delete Lavf52.103.0 from the 'Encoded by' box.
Save changes and exit.

Load it onto my iPod.
It plays OK!

This is the m4a file that won't play:- 
http://www.mediafire.com/file/2z6lb75fag9f4ai/output_before.m4a
and
This is the m4a file that will play:- 
http://www.mediafire.com/file/yhxo4rtpxdf6ie6/output_after.m4a

The workaround is OK for now.
I suspect that EasyTAG is doing a little more than just deleting a tag.
Maybe it's shuffling some atoms around before it saves.

If I could find out what the difference is between the files it would be
easier to use a command instead of messing about with the EasyTAG gui.

Can any of you figure it out?

The method works too for mode=flashaacstd but the files don't play so well - 
they skip.
That's the fault of the low-spec iPod.

bg
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Fast(er) transcoding from aac to mp3.

2011-03-18 Thread bat guano

Hi
I sometimes download BBC radio shows to listen on my mp3 player.
It looks like I'm going to have to start transcoding them from aac to mp3.

Using Ubuntu I did some tests to see just how long it takes to transcode these 
things.

I downloaded a 3-hour show (Steve Wright in the Afternoon*) and calculated the 
time taken
to convert it using ffmpeg.
This is the command:-
time ffmpeg -i filename.aac -acodec libmp3lame -ab 128k test1.mp3

The result:-
real    20m42.369s
user    17m40.318s
sys    0m56.812s

That's over 20 minutes!
During the test I wasn't running any other heavy programs. I kept checking the 
System Monitor, it was
always up there at 98%, 99%, 100%. There's nothing wrong with my ffmpeg, it's a 
new one from git.
Doing the best it can on my Celeron D 2.26GHz computer.

Then I repeated the test using GOGO-no-coda encoder, a turbocharged version of 
LAME.
It needs wav as input so I piped it through ffmpeg.

I converted the same show using this command:-
time ffmpeg -i filename.aac -f wav - | gogo -b 128 -q 0 stdin test2.mp3

The result:-
real    10m30.195s
user    8m12.411s
sys    0m31.382s

That's about half the time.

If any of you feel like trying GOGO-no-coda it's available in Ubuntu's repo.
Install it like this:- sudo apt-get install gogo
Or download a deb from somewhere.

For Windows users it's available from rarewares.org and other places.

I suppose, if the programmes are talk-shows then it will be OK to reduce the q 
setting for gogo
and also maybe reduce the bitrate to 96Kbps or 64Kbps. That would speed things 
up even more.

If any of you have experience using different mp3 encoders it would be good to 
know how they compare with gogo.

* I didn't listen to the show. For test purposes only. :-)
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: AAC audio: MP3 transcoding as backup option

2011-03-16 Thread bat guano






 For anyone interested, I've made a version of get_iplayer with an option to 
 transcode AAC audio to MP3. 
...
 If anyone would like to test it, please have a go. To force MP3 transcoding, 
 add '--aactomp3' to the command line 
 ___

Hi dinkypumpkin
Your version works for me with Ubuntu.
It's a good idea to have your mp3 and Nick's m4a builds available for people 
who want to use those options.

General
Complete name    : 
Bells_on_Sunday_-_13_03_2011_b00zd8f3_default.mp3
Format   : MPEG Audio
File size    : 2.75 MiB
Duration : 3mn 0s
Overall bit rate : 128 Kbps
Album    : Bells on Sunday
Track name   : 13/03/2011
Performer    : BBC Radio 4
Description  : The bells of St Olaves, Hart Street, London.
Recorded date    : 2011
Comment  : The bells of St Olaves, Hart S

Audio
Format   : MPEG Audio
Format version   : Version 1
Format profile   : Layer 3
Mode : Joint stereo
Duration : 3mn 0s
Bit rate mode    : Constant
Bit rate : 128 Kbps
Channel(s)   : 2 channels
Sampling rate    : 44.1 KHz
Compression mode : Lossy
Stream size  : 2.75 MiB (100%)

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Audo test mp4 file

2011-03-15 Thread bat guano





 Do you know the command i should use now to produce mp3?

 CJ


Hi CJ
It seems that BBC are not sending mp3 streams now.
So download the aac file and convert it to mp3 with a program such as WinFF.
From here:- http://winff.org/html_new/

If you think that a show is available as mp3 then use --mode=flashaudio.
But if it's not available as mp3 it will probably give you an error like this:-

INFO: No specified modes (flashaudio) available for this programme with version
'default' (try using --modes=flashaaclow,flashaacstd,rtspaaclow,rtspaacstd,wma)
ERROR: Failed to record 
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Audo test mp4 file

2011-03-15 Thread bat guano





 goose@p10:/tmp$ ./ffmpeg -i f.aac x.mp3
 FFmpeg version git-9f8f62d, Copyright (c) 2000-2011 the FFmpeg developers
 built on Mar 14 2011 23:32:24 with gcc 4.3.2
 configuration: --enable-static --disable-shared --extra-libs=-static
 --extra-cflags=--static

 Encoder (codec id 86017) not found for output stream #0.0
 ==

 CJ

Hi CJ
It looks as though you have compiled ffmpeg without libmp3lame support.
I think that one of your config options should be --enable-libmp3lame.

In the meantime, if you have lame installed on your system you can probably use 
it like this:-

ffmpeg -i filename.aac -f wav - | lame -b 64 - output.mp3

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Experimental update to make m4a audio from aac

2011-03-14 Thread bat guano







 
  If anyone has a chance to test, it would be helpful.
  Nick
 
 What command to use?

 When I use this command:-
 get_iplayer --get --type=radio --force --m4a --pid=b00zd8f3 --modes=flashaac
 It returns:- Unknown option: m4a

My bad.
I was using the wrong file.
The program runs OK.


General
Complete name    : 
Bells_on_Sunday_-_13_03_2011_b00zd8f3_default.m4a
Format   : MPEG-4
Format profile   : Apple audio with iTunes info
Codec ID : M4A 
File size    : 2.81 MiB
Duration : 3mn 0s
Overall bit rate : 131 Kbps
Album    : Bells on Sunday
Track name   : Bells on Sunday - 13/03/2011
Performer    : Bells on Sunday
Genre    : Religion  Ethics
Encoded date : UTC 2011-03-13 05:43:00
Writing application  : Lavf52.102.0
Cover    : Yes
Comment  : The bells of St Olave's, Hart Street, London.
desc : The bells of St Olave's, Hart Street, London.
stik : 1

Audio
ID   : 1
Format   : AAC
Format/Info  : Advanced Audio Codec
Format profile   : LC
Codec ID : 40
Duration : 3mn 0s
Bit rate mode    : Variable
Bit rate : 128 Kbps
Channel(s)   : 2 channels
Channel positions    : Front: L R
Sampling rate    : 44.1 KHz
Compression mode : Lossy
Stream size  : 2.75 MiB (98%)



  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE aac.splitter

2011-03-11 Thread bat guano

 Hi
 
 Can anyone recommend an aac splitter that firstly works,  secondly is 
 fairly user friendly?
 
 I don't want to convert them, just cut them into smaller chunks.
 
 I came across this one, but haven't used it yet. I thought I'd ask for 
 advice here first:
 
 http://www.008soft.com/aac-to-wav.htm
 
 Thanks in advance
 
 Dave F.
 
 
Hi Dave F
Doesn't the software in your link split the aac then convert it to wav?
 
If you're comfortable using ffmpeg you can use the -t and -ss options to split 
aac files without re-encoding.
-t is duration
-ss is seek position
[hh:mm:ss]
 
This does a slick job, but no GUI.
 
For example, this command will give you the first 59 minutes:-
ffmpeg -i filename.aac -t 00:59:00 -acodec copy output1.aac
 
For example, this command will give everything after the first 59 minutes:-
ffmpeg -i filename.aac -ss 00:59:00 -acodec copy output2.aac
 
And you can combine them.
For example, this command will skip the first 30 minutes and provide the next 
45 minutes:-
ffmpeg -i filename.aac -ss 00:30:00 -t 00:45:00 -acodec copy output3.aac
 
 
 
 
                   

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Flashaudio no longer available for Radio 4?

2011-03-11 Thread bat guano







 Please run:
 mplayer -ao null -vo null -dumpaudio -dumpfile audio_file_fixed.aac 
 original_audio_file.aac
 and test the _fixed.acc file in your iPod.

 I have a high degree of confidence it'll work.

 aB.

Hi
The mPlayer method doesn't work with 2nd generation iPod shuffles.
This type here :- http://img140.imageshack.us/img140/9927/shufflex.jpg
I've just tried.

Apple skimped on the software with these 2nd generation shuffles.
The only aac files that Apple will guarantee them to play
are ones created by iTunes.

I've also found that it will play m4a files created using neroAacEnc too.

It's possible to convert the BBC aac files to nero m4a files like this:-
ffmpeg -i filename.aac -f wav - | neroAacEnc -ignorelength -if - -of output.m4a

But it's pointless, may as well just convert to mp3 with ffmpeg like this:-
ffmpeg -i filename.aac -acodec libmp3lame -ab 128k output.mp3

And to encode much quicker pipe to  GOGO-no-coda with ffmpeg like this:-
ffmpeg -i filename.aac -f wav - | gogo -b 128 -q 0 stdin output.mp3

GOGO-no-coda cuts the encode time to around a third.
For example, to convert a 2 hour show takes me approx 12 minutes using ffmpeg 
and libmp3lame.
With gogo it takes approx 4 minutes.
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Flashaudio no longer available for Radio 4?

2011-03-11 Thread bat guano





 
  Apple skimped on the software with these 2nd generation shuffles.
 
 I recommend chucking away the Apple software and installing Rockbox.
 

 Andy


Rockbox is not an option.

http://www.rockbox.org/wiki/IpodFAQ#Which_iPods_does_Rockbox_support_63

Which iPods does Rockbox support?

Rockbox works on all models except the Shuffles, 3rd, 4th and 5th Gen Nanos, 
the 6th Gen (Classic) and the Touch.
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Radio now aac rather than mp3

2011-02-21 Thread bat guano

Hi
To get mp3 instead of aac use this:-
--mode=flashaudio
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Radio now aac rather than mp3

2011-02-21 Thread bat guano


Please do bear in mind though that (from my own empirical comparisons) it
seems the iPlayer just TRANScodes the original AAC audio to MP3, it's not
encoded fresh from the original source audio. So if you choose the MP3
option, you'll end up with a noticeably lower quality audio file.
**

No that's not the case.

If I use this command:-
get_iplayer --get --type=radio --raw --mode=flashaudio --pid=b00ym9ff
The result is mp3 in an flv wrapper.
get_iplayer doesn't TRANScode - it just un-packs.

This is the result:-

Complete name  : Bells_on_Sunday_-_20_02_2011_b00ym9ff_default.flv
Format   : Flash Video
File size    : 2.77 MiB
Duration : 3mn 0s
Overall bit rate : 129 Kbps

Audio
Format   : MPEG Audio
Format version   : Version 1
Format profile   : Layer 3
Codec ID : 2
Codec ID/Hint    : MP3
Duration : 3mn 0s
Bit rate mode    : Constant
Bit rate : 128 Kbps
Channel(s)   : 2 channels
Sampling rate    : 44.1 KHz
Compression mode : Lossy
Stream size  : 2.75 MiB (99%)
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer