[phpBB Debug] PHP Notice: in file /viewtopic.php on line 981: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 981: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead

AAC format slightly non-standard?

Help for using get_iplayer

AAC format slightly non-standard?

Postby 2Bdecided » 03 Mar 2010 14:09

The get_iPlayer PVR functionality is a dream come true, but...

Previously I've used ReplayMediaCatcher to grab radio streams from BBC iPlayer. This gave an FLV file which FLVExtract would happily unpack, giving an AAC file. The AAC files from FLVExtract will happily play in VLC and foobar2k.

get_iPlayer gives an AAC file too. The AAC files from get_iPlayer won't work in VLC or foobar2k.

What's different? How can I convert get_iPlayer's AAC files into something that plays (without actually transcoding the audio)? Or do I need to use different options in get_iPlayer to get "working" AAC files?


I've seen these threads with partial answers, but...
viewtopic.php?f=4&t=17
- I do transcode sometimes - and decent transcodes from the AAC files do seem to be better quality than the mp3 direct downloads - but most of all I want the AAC files themselves to work on my PC!

https://linuxcentre.net/bbc-iplayer-aac- ... et_iplayer
- Quicktime?! I've got to use QUICKTIME?!?!?! Ouch - must be a better way - surely? Pretty please?


Any info of preserving tags along the way also appreciated, but secondary to actually getting the AAC files in playable form.

Many thanks.

Cheers,
David.
2Bdecided
 
Posts: 4
Joined: 03 Mar 2010 13:58
Top

Re: AAC format slightly non-standard?

Postby linuxcentre » 04 Mar 2010 21:13

2Bdecided wrote:get_iPlayer gives an AAC file too. The AAC files from get_iPlayer won't work in VLC or foobar2k.


Maybe try updating vlc. I cannot get it to fail :-|

2Bdecided wrote:What's different? How can I convert get_iPlayer's AAC files into something that plays (without actually transcoding the audio)? Or do I need to use different options in get_iPlayer to get "working" AAC files?

You haven't read the forum rules I guess. Maybe versions would help here. Try upgrading flvstreamer as maybe your streams aren't quite clean??
linuxcentre
Site Admin
 
Posts: 306
Joined: 31 Dec 2009 17:29
Top

Re: AAC format slightly non-standard?

Postby 2Bdecided » 05 Mar 2010 09:49

Thanks for the reply - while my post was being moderated, I looked into the issue further.

I was using the web interface, and to get the AAC version by default, I moved "iphone" to the end of the format list.

This gave me the problematic AAC files I mentioned - but in fact the problem with them was quite simple: they were really mp3 files with an aac extension. Renaming them to .mp3 made them work just fine in anything (and various players confirmed they really were mp3).

I don't want to break any forum rules, so please point me to them before I ask another question. If they were there when I registered, then I'm sure I clicked through them without reading, but now I can't see a link to check what I've missed.

Cheers,
David.
2Bdecided
 
Posts: 4
Joined: 03 Mar 2010 13:58
Top

Re: AAC format slightly non-standard?

Postby linuxcentre » 05 Mar 2010 11:29

Read the sticky post at the top of every forum named: "****READ FIRST**** Forum Rules" ;-)

Now that would answer why the aac files were non-standard.

What I would REALLY like to know is the command you ran or web options you used (options selected and clicks used) to get this problem....
linuxcentre
Site Admin
 
Posts: 306
Joined: 31 Dec 2009 17:29
Top

Re: AAC format slightly non-standard?

Postby 2Bdecided » 05 Mar 2010 12:06

Ah, sorry - right - here goes...

Windows XP SP3.
Google Chrome.
I downloaded the current get_iPlayer windows installer and let it run.
(I already had VLC on my system, but AFAIK everything else is new to me, so hopefully no conflicts)
Ran Web PVR manager
In web interface, Recording:
Changed "Recording Modes" to "flashaachigh,flashaacstd,flashaudio,flashhigh,flashstd,flashnormal,realaudio,flashaaclow,iphone"
Changed "Download Meta-data" to "Generic XML"
Applied changes.
Everything else left as default.
(also changed some display options - 400 items per page, no categories column)

Picked a programme to record - in this case, "Afternoon Play - Shakespeare's Vortigern and Rowena (b00r0xt5)"
Checked the box next to the programme, clicked record at the top
(the "record" word next to the programmes isn't working today - was working yesterday - anyway...!)
Recording started in a new Google Chrome tab.
In command window, have...
Code: Select all
INFO: Starting Recording Now
DEBUG: get_iplayer options: "pid=b00r0xt5" "type=radio" "modes=flashaachigh,flas
haacstd,flashaudio,flashhigh,flashstd,flashnormal,realaudio,flashaaclow,iphone"
"force=0" "refreshfuture=0" "subtitles=0" "channel=^BBC Radio 4$" "hide=0" "thum
b=0" "metadata=generic"
INFO: Win32 Command: .\get_iplayer.cmd --nopurge --nocopyright --expiry=99999999
9 --hash --webrequest pid%3Db00r0xt5?type%3Dradio?modes%3Dflashaachigh%2Cflashaa
cstd%2Cflashaudio%2Cflashhigh%2Cflashstd%2Cflashnormal%2Crealaudio%2Cflashaaclow
%2Ciphone?force%3D0?refreshfuture%3D0?subtitles%3D0?channel%3D%5EBBC%20Radio%204
%24?hide%3D0?thumb%3D0?metadata%3Dgeneric 2>&1


Result = .aac file which is actually a .mp3 file!

e.g. play it as .aac in VLC - plays nothing, last about 5 seconds.
play it as .mp3 in VLC - plays fine, reports mpa audio. fb2k reports 128kbps CBR stereo mp3 (correctly tagged too).

Scratching my head to think what's different on my machine that prevents me from replicating most other people's "it just works" experience!


Note: there's another problem: streams that are only available as mp3 (e.g. those from Radio Scotland etc) aren't being recorded at all. I get this in the web browser...
Code: Select all
Recording The Following Programmes

A String of Pearls - 28/02/2010 (b00r0zl8)

INFO Trying to stream pid using type radio
INFO: pid found in cache
Matches:
10062:   A String of Pearls - 28/02/2010, BBC Radio Wales, Classic Pop & Rock,Easy Listening Soundtracks & Musicals,Music,Radio,Wales

INFO: 1 Matching Programmes
ERROR: Failed to get iphone URL from iplayer site

INFO: Checking existence of default version
INFO: flashaudio1 modes will be tried for version default
INFO: Trying flashaudio1 mode to record radio: A String of Pearls - 28/02/2010

INFO: File name prefix = A_String_of_Pearls_-_28_02_2010_b00r0zl8_default                 
FLVStreamer v2.1c1
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 10060 (Unknown error)
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file D:\iPlayer/A_String_of_Pearls_-_28_02_2010_b00r0zl8_default.partial.mp3.flv via RTMP
INFO: skipping flashaudio1 mode
ERROR: Failed to record 'A String of Pearls - 28/02/2010 (b00r0zl8)'
Recording complete

get_iplayer Web PVR Manager v0.70, ©2009-2010 Phil Lewis - Licensed under GPLv3



The only error I can see in the command window (and it's not in response to these actions - it's further up) is the benign looking...
Code: Select all
GET: /favicon.ico
ERROR: 404 Not Found


Cheers,
David.
2Bdecided
 
Posts: 4
Joined: 03 Mar 2010 13:58
Top

Re: AAC format slightly non-standard?

Postby linuxcentre » 05 Mar 2010 20:45

The first problem I just don't get. I did exactly the same using Firefox (Chrome is not supported - see the docs) and it works fine - file is definitely AAC.

Second problem - I get the iphone stream and/or flashaudio no probs bothh real mp3. Maybe BBC thinks you are outside UK?

Try firefox 3.x.

Ensure you are running get_iplayer 2.72 also.
linuxcentre
Site Admin
 
Posts: 306
Joined: 31 Dec 2009 17:29
Top

Re: AAC format slightly non-standard?

Postby 2Bdecided » 10 Mar 2010 09:15

I confirm I'm using 2.72 - running it straight from the command line shows...
Code: Select all
C:\PROGRA~1\get_iplayer>get_iplayer
get_iplayer v2.72, Copyright (C) 2008-2010 Phil Lewis

...at the start.

Thank you for your patience. Using Firefox instead, I can now at least see what is happening...

Code: Select all
Please leave this page open until the recording completes

    * Close

Recording The Following Programmes

    * An Actor's Life for Me: Series 2 - 3. Heart Throbs (b008gbwy)


INFO Trying to stream pid using type radio
INFO: pid found in cache
Matches:
10172:   An Actor's Life for Me: Series 2 - 3. Heart Throbs, BBC 7, Comedy,Radio,Sitcoms

INFO: 1 Matching Programmes
INFO: Checking existence of default version
INFO: flashaacstd1,flashaudio1,realaudio1,realaudio2,flashaaclow1,iphone1 modes will be tried for version default
INFO: Trying flashaacstd1 mode to record radio: An Actor's Life for Me: Series 2 - 3. Heart Throbs

INFO: File name prefix = An_Actors_Life_for_Me_Series_2_-_3._Heart_Throbs_b008gbwy_default                 
FLVStreamer v2.1c1
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 10060 (Unknown error)
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file D:\iPlayer/An_Actors_Life_for_Me_Series_2_-_3._Heart_Throbs_b008gbwy_default.partial.aac.flv via RTMP
INFO: skipping flashaacstd1 mode
INFO: Trying flashaudio1 mode to record radio: An Actor's Life for Me: Series 2 - 3. Heart Throbs

INFO: File name prefix = An_Actors_Life_for_Me_Series_2_-_3._Heart_Throbs_b008gbwy_default                 
FLVStreamer v2.1c1
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 10060 (Unknown error)
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file D:\iPlayer/An_Actors_Life_for_Me_Series_2_-_3._Heart_Throbs_b008gbwy_default.partial.mp3.flv via RTMP
INFO: skipping flashaudio1 mode
INFO: Trying realaudio1 mode to record radio: An Actor's Life for Me: Series 2 - 3. Heart Throbs

INFO: File name prefix = An_Actors_Life_for_Me_Series_2_-_3._Heart_Throbs_b008gbwy_default                 
WARNING: fifos/named pipes are not supported - only limited output modes will be supported
INFO: Recording wav format (followed by transcoding)
MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 2, Stepping: 9)
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 rtsp://rm-acl.bbc.co.uk:554/bbc7coyopa/bbc7_-_tuesday_0830.ra?timestamp=1268126698&pid=b008gbw9&BBC-UID=d4db6977b6e1591e3405d2596146cca21eb8af0fc0b00154c4bf10c2cc38583c&SSO2-UID=.
Resolving rm-acl.bbc.co.uk for AF_INET...
Connecting to server rm-acl.bbc.co.uk[212.58.251.75]: 554...
connection timeout
STREAM_LIVE555, URL: rtsp://rm-acl.bbc.co.uk:554/bbc7coyopa/bbc7_-_tuesday_0830.ra?timestamp=1268126698&pid=b008gbw9&BBC-UID=d4db6977b6e1591e3405d2596146cca21eb8af0fc0b00154c4bf10c2cc38583c&SSO2-UID=

This stream is non-cacheable
Stream not seekable!
file format detected.


Exiting... (End of file)
Failed to get a SDP description from URL "rtsp://rm-acl.bbc.co.uk:554/bbc7coyopa/bbc7_-_tuesday_0830.ra?timestamp=1268126698&pid=b008gbw9&BBC-UID=d4db6977b6e1591e3405d2596146cca21eb8af0fc0b00154c4bf10c2cc38583c&SSO2-UID=": connect() failed: No such file or directory
INFO: Transcoding D:\iPlayer/An_Actors_Life_for_Me_Series_2_-_3._Heart_Throbs_b008gbwy_default.partial.wav
Could not find "D:\iPlayer/An_Actors_Life_for_Me_Series_2_-_3._Heart_Throbs_b008gbwy_default.partial.wav".
INFO: skipping realaudio1 mode
INFO: Trying realaudio2 mode to record radio: An Actor's Life for Me: Series 2 - 3. Heart Throbs

INFO: File name prefix = An_Actors_Life_for_Me_Series_2_-_3._Heart_Throbs_b008gbwy_default                 
WARNING: fifos/named pipes are not supported - only limited output modes will be supported
INFO: Recording wav format (followed by transcoding)
MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 2, Stepping: 9)
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 rtsp://rm-acl.bbc.co.uk:554/bbc7coyopa/bbc7_-_tuesday_0830.ra?timestamp=1268126698&pid=b008gbw9&BBC-UID=d4db6977b6e1591e3405d2596146cca21eb8af0fc0b00154c4bf10c2cc38583c&SSO2-UID=.
Resolving rm-acl.bbc.co.uk for AF_INET...
Connecting to server rm-acl.bbc.co.uk[212.58.251.75]: 554...
connection timeout
STREAM_LIVE555, URL: rtsp://rm-acl.bbc.co.uk:554/bbc7coyopa/bbc7_-_tuesday_0830.ra?timestamp=1268126698&pid=b008gbw9&BBC-UID=d4db6977b6e1591e3405d2596146cca21eb8af0fc0b00154c4bf10c2cc38583c&SSO2-UID=

This stream is non-cacheable
Stream not seekable!
file format detected.


Exiting... (End of file)
Failed to get a SDP description from URL "rtsp://rm-acl.bbc.co.uk:554/bbc7coyopa/bbc7_-_tuesday_0830.ra?timestamp=1268126698&pid=b008gbw9&BBC-UID=d4db6977b6e1591e3405d2596146cca21eb8af0fc0b00154c4bf10c2cc38583c&SSO2-UID=": connect() failed: No such file or directory
INFO: Transcoding D:\iPlayer/An_Actors_Life_for_Me_Series_2_-_3._Heart_Throbs_b008gbwy_default.partial.wav
Could not find "D:\iPlayer/An_Actors_Life_for_Me_Series_2_-_3._Heart_Throbs_b008gbwy_default.partial.wav".
INFO: skipping realaudio2 mode
INFO: Trying flashaaclow1 mode to record radio: An Actor's Life for Me: Series 2 - 3. Heart Throbs

INFO: File name prefix = An_Actors_Life_for_Me_Series_2_-_3._Heart_Throbs_b008gbwy_default                 
FLVStreamer v2.1c1
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 10060 (Unknown error)
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file D:\iPlayer/An_Actors_Life_for_Me_Series_2_-_3._Heart_Throbs_b008gbwy_default.partial.aac.flv via RTMP
INFO: skipping flashaaclow1 mode
INFO: Trying iphone1 mode to record radio: An Actor's Life for Me: Series 2 - 3. Heart Throbs

INFO: File name prefix = An_Actors_Life_for_Me_Series_2_-_3._Heart_Throbs_b008gbwy_default                 
###################################################################################################
INFO: Recorded 32.96MB in 00:00:57 at  4737kbps to D:\iPlayer/An_Actors_Life_for_Me_Series_2_-_3._Heart_Throbs_b008gbwy_default.aac


Recording complete

get_iplayer Web PVR Manager v0.70, ©2009-2010 Phil Lewis - Licensed under GPLv3


So basically it tries all other alternatives, fails with each one, and then downloads the iphone mp3 version, but saves it with a .aac extension.


From within a web browser, iPlayer certainly doesn't think I'm outside the UK. All streaming TV and radio content works just fine. I've just downloaded the above programme (flv format - containing aac) using Replay Media Catcher, so it is available.

I've already reinstalled. Next I'm going to try it on a different PC on a different network.

Cheers,
David.
2Bdecided
 
Posts: 4
Joined: 03 Mar 2010 13:58
Top


Return to help



Who is online

Users browsing this forum: No registered users and 2 guests

cron
./cache/ is NOT writable.