flashaacstd1 mode never works

david at robinson.org david at robinson.org
Sun Jan 16 04:05:20 EST 2011


Jan 16, 2011 04:15:23 AM, andy at networkned.co.uk wrote:

>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
>
P>laying 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.

I don't understand how you can think that - except AFAICT it looks like while you were removing all the "#####"s you've also snipped the part of my original post where it said...

>>ERROR: RTMP_ReadPacket, failed to read RTMP packet header
>>INFO: Command exit code 1 (raw code = 256)
>WARNING: Failed to stream file H:\getiplayerrecordings/Afternoon_on_3_-_The_Genius_of_Mozart_6._Mozart_the_Mason_b00x1sdz_default.partial.aac.flv via RTMP
>>INFO: skipping flashaacstd1 mode
>>
>>INFO: Trying flashaudio1 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 ...
>>INFO: Connected...
>>Starting download at: 0.000 kB
>>###############################


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


Sadly, that's not what I'm getting.

VLC player and foobar2k already reported they were mp3s, and using your command line, mplayer confirms it...

C:\PROGRA~1\get_iplayer\mplayer\MPlayer-1.0rc2>mplayer -vo null -ao null -identi
fy -endpos 1 H:\getiplayerrecordings\A_Mozart_Miscellany_-_A_Mozart_Miscellany_b
00x0wlf_default.aac
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.

Playing H:\getiplayerrecordings\A_Mozart_Miscellany_-_A_Mozart_Miscellany_b00x0w
lf_default.aac.
ID_AUDIO_ID=0
Audio file file format detected.
ID_FILENAME=H:\getiplayerrecordings\A_Mozart_Miscellany_-_A_Mozart_Miscellany_b0
0x0wlf_default.aac
ID_DEMUXER=audio
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=192000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=0
ID_LENGTH=14101.00
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
ID_AUDIO_BITRATE=192000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mp3
Video: no video
Starting playback...


Exiting... (End of file)



Any ideas?

Cheers,
David.





More information about the get_iplayer mailing list