flashaacstd1 mode never works
Andy Bircumshaw
andy at networkned.co.uk
Sat Jan 15 23:14:27 EST 2011
On 16/1/2011, at 12:39am, david at robinson.org wrote:
> I'm using the Web PVR manager under Windows XP.
>
> Recordings modes = flashaachigh,flashaacstd,flashaudio,flashhigh,iphone,flashstd,flashnormal,realaudio,flashaaclow
>
> I've upgraded to RTMPDump 2.3
>
> I get this...
>
>
> INFO Trying to stream pid using type radio
> INFO: pid found in cache
> Matches:
> 10131: Afternoon on 3 - The Genius of Mozart: 6. Mozart the Mason, BBC Radio 3, Classical,Music,Radio
>
> INFO: 1 Matching Programmes
> ERROR: Failed to get iphone URL from iplayer site
>
> INFO: Checking existence of default version
> INFO: flashaacstd1,flashaudio1,flashaaclow1 modes will be tried for version default
> INFO: Trying flashaacstd1 mode to record radio: Afternoon on 3 - The Genius of Mozart: 6. Mozart the Mason
>
> INFO: File name prefix = Afternoon_on_3_-_The_Genius_of_Mozart_6._Mozart_the_Mason_b00x1sdz_default
> RTMPDump v2.3
> (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
> Connecting ...
> ...
> #########################
> Download complete
> MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
> CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (Family: 15, Model: 2, Stepping: 4)
> 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 H:\getiplayerrecordings/Afternoon_on_3_-_The_Genius_of_Mozart_6._Mozart_the_Mason_b00x1sdz_default.partial.mp3.flv.
> libavformat file format detected.
> [lavf] Audio stream found, -aid 0
> Core dumped ;)
>
> Exiting... (End of file)
> INFO: Recorded H:\getiplayerrecordings/Afternoon_on_3_-_The_Genius_of_Mozart_6._Mozart_the_Mason_b00x1sdz_default.aac
>
> INFO: Downloaded Thumbnail to 'H:\getiplayerrecordings/Afternoon_on_3_-_The_Genius_of_Mozart_6._Mozart_the_Mason_b00x1sdz_default.jpg'
>
>
> INFO: Writing generic metadata to file 'H:\getiplayerrecordings/Afternoon_on_3_-_The_Genius_of_Mozart_6._Mozart_the_Mason_b00x1sdz_default.xml'
>
>
>
> The result is a. ".aac" file that's actually an mp3. What I want is the 192kbps AAC that's streamed on-demand on the iPlayer website.
>
>
> I've always had this problem, even the first time I tried get_iplayer (Feb 2010). Now that get_iplayer is the only convenient option that works, I'm trying again to figure out what's going wrong.
Excuse me for asking, but how do you know this file contains .mp3 audio?
There is a known bug of Radio's .aac files being messed up, but the foul-up is that the AAC is put in the wrong container, or put in the right container type badly, *not* that mp3 audio is used.
$ file Judge_Jules_-_Tips_for_2011_show_b00wx2rk_default.aac
Judge_Jules_-_Tips_for_2011_show_b00wx2rk_default.aac: Audio file with ID3 version 2.3.0, contains: MPEG ADTS, AAC, v4 LC, 44.1 kHz, stereo
$ mplayer -vo null -ao null -identify -endpos 1 Judge_Jules_-_Tips_for_2011_show_b00wx2rk_default.aac
MPlayer SVN-r29796-4.4.4 (C) 2000-2009 MPlayer Team
Playing Judge_Jules_-_Tips_for_2011_show_b00wx2rk_default.aac.
Seek failed
libavformat file format detected.
[aac @ 0xa353130]max_analyze_duration reached
ID_AUDIO_ID=0
[lavf] Audio stream found, -aid 0
Clip info:
title: Tips for 2011 show
ID_CLIP_INFO_NAME0=title
ID_CLIP_INFO_VALUE0=Tips for 2011 show
author: BBC Radio 1ID_CLIP_INFO_NAME1=author
ID_CLIP_INFO_VALUE1=BBC Radio 1
album: Judge Jules
ID_CLIP_INFO_NAME2=album
ID_CLIP_INFO_VALUE2=Judge Jules
year: 2011
ID_CLIP_INFO_NAME3=year
ID_CLIP_INFO_VALUE3=2011
comment: The show is all about new musi
ID_CLIP_INFO_NAME4=comment
ID_CLIP_INFO_VALUE4=The show is all about new musi
TPE1: BBC Radio 1
ID_CLIP_INFO_NAME5=TPE1
ID_CLIP_INFO_VALUE5=BBC Radio 1
TALB: Judge Jules
ID_CLIP_INFO_NAME6=TALB
ID_CLIP_INFO_VALUE6=Judge Jules
TIT2: Tips for 2011 show
ID_CLIP_INFO_NAME7=TIT2
ID_CLIP_INFO_VALUE7=Tips for 2011 show
TYER: 2011
ID_CLIP_INFO_NAME8=TYER
ID_CLIP_INFO_VALUE8=2011
ID_CLIP_INFO_N=9
ID_FILENAME=Judge_Jules_-_Tips_for_2011_show_b00wx2rk_default.aac
ID_DEMUXER=lavf
ID_AUDIO_FORMAT=MP4A
ID_AUDIO_BITRATE=127816
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_LENGTH=7346.09
ID_SEEKABLE=1
ID_CHAPTERS=0
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
versionA not supported
Unsupported LATM configuration: 12 programs/ 44 subframes, 2 layers, allstreams:
0
AUDIO: 44100 Hz, 2 ch, s16le, 127.8 kbit/9.06% (ratio: 15977->176400)
ID_AUDIO_BITRATE=127816
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
versionA not supported
Unsupported LATM configuration: 12 programs/ 44 subframes, 2 layers, allstreams:
0
AUDIO: 44100 Hz, 2 ch, s16le, 127.8 kbit/9.06% (ratio: 15977->176400)
ID_AUDIO_BITRATE=127816
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=faad
Video: no video
Starting playback...
A: 1.0 (01.0) of 7346.1 ( 2:02:26.0) 1.1%
Exiting... (End of file)
ID_EXIT=EOF
$
I think the above is saying the file contains AAC.
Note that get_iplayer does no transcoding, so you'd only be seeing MP3 audio if the original stream at the BBC was MP3. And, from your output, get_iplayer seems to be getting flashaacstd1.
The problem with these recordings is that they won't play on Mac, Windows or portable devices. But mplayer handles them just fine, so no-one's bothered to fix it, yet.
The bug-ged up audio files can be remuxed quite easily.
aB.
More information about the get_iplayer
mailing list