PDA

View Full Version : Experimental BBC AAC/Flash Streams in WAV



ian_heys
2009-07-23, 23:24
I've been looking at a couple of experimental ways of streaming the BBC Flash Player AAC streams to my Squeezebox.

Here are the details.

Experiment 1
============
Developed here

http://heysfamily.matt-heys.co.uk/get_iplayer

Experiment 2
============
Developed by Phil Lewis

http://linuxcentre.net/ (see the post of 22nd July.

Both stream the high quality AAC streams as WAV to the squeezebox and can select the BBC streams from the Squeezebox menu.

Triode
2009-07-24, 13:21
I've been playing with a modified version of iPlayer to do the same thing for live and listen again. It needs a bit more work, but are people interested if they need to download and install the helper app (flvstreamer) themselves?

ian_heys
2009-07-24, 23:02
I certainly am. I would love your plug-in to be able to do this.

Would the flvstreamer license preclude it being included as part of an extension downloader plug-in? Didn't bpa have faad in one of his before it was included with Squeezecenter?

As you said in a previous post - the BBC could make this a lot easier by streaming unfettered AAC themselves. I've posted on their forums at various times over the last few months but they seem to want to keep the quality in the Flash streams. A bit of a conundrum as more than often the PC's they're targeting don't have high quality audio replay devices attached.

To paraphrase the BBC's main man - he doesn't care how we listen as long as we listen.

Those people on the audiophile board might be interested too.

bpa
2009-07-24, 23:35
Would the flvstreamer license preclude it being included as part of an extension downloader plug-in? Didn't bpa have faad in one of his before it was included with Squeezecenter?

I don't recall including faad in any plugin - at various times I have built versions of mplayer / faad for testing to be used with either with plugins such as AlienBBC, AACplus or SC.

A couple of years ago mplayer could not be included in AlienBBC because
- RealAudio support was provided using RealNetworks libraries which could only be legally used if the user installed the libraries themselves and not bundled in with other apps. This changed when mplayer wrote their own RealAudio codec.
- the mplayer license did not allow re-distribution of mplayer binaries.

As I see it, the flvstreamer legal considerations include:
- Does flvstreamer infringe any Adobe rights.
- Does flvstreamer meet of the license conditions of Boxee/XMBC who provide the core library.
- Does the flvstreamer author provide a license so that the binary can be re-distributed.
- If flvstreamer is included in a plugin - could litigation be brought against the Plugin author either by Adobe, BBC or others.

There may be a more practical issue for a user to find the right binary of flvstreamer ready built.

bpa
2009-07-24, 23:42
Forgot one point.

Another driver for AAC support is that soon BBC will be providing Flash/AAC stream for the Regional and Local radio. Currently these stations are only available in RealAudio (i.e. no WMA or MP3 alternatives).

ian_heys
2009-07-24, 23:45
Sorry bpa my misunderstanding.

License issues noted.

I go back to my point that the BBC could make this a lot easier.

mick_w
2009-07-24, 23:48
Better audio quality is always a good thing....

A couple of questions about the AAC streams:

* Would you still be able to FFW/Pause/RWD the programs?

*Would it be possible to include the 'Schedule' and 'Categories' menu as per the iPlayer website?

Keep up the excellent work, it really is appreciated.

bpa
2009-07-24, 23:59
* Would you still be able to FFW/Pause/RWD the programs?


I did a little bit of checking into flvstreamer capabilities.

I don't think flvstreamer supports starting a stream at a specified time - which is the basis for ffw and rew.

I think flvstreamer has some facility to start a specific point in a stream which may be usable but I didn't do enough checking to see how the start point value can be easily translated into elapsed time.

bpa
2009-07-25, 00:04
I go back to my point that the BBC could make this a lot easier.


I think the BBC are torn between
* making access easier for all
* controlling bandwidth (BBC have said reason to keep Flash is because it can do dynamic data rate management) as cost is the reason for recently reduced data rates on non UK services.
* they are required to enforce the copyright agreement (i.e. programs are only available for 7 days and some not outside the UK) they have with the various performing rights organisations.

amcluesent
2009-07-25, 01:20
>but are people interested if they need to download and install the helper app (flvstreamer) themselves?<

+1. For Windows Vista :) (unless the proxy works in a Linux VM...)

Triode
2009-07-25, 01:29
I am really hoping the bbc would provide these streams in aac over http as it would make life much easier..

Support for playing live and listen again streams looks quite viable. What I don't have is fwd/rew as there are a few issues with this - it requires getting the stream length and also a mechanism to restart the stream which needs reparsing of the meta data xml to get new stream details too as they are not valid for more than a few second.

Triode
2009-08-02, 04:26
I've put a beta test version of BBCiPlayer which plays the AAC live and on demand streams in my beta repo. If you are interested in these streams please try this out and let me know how you get on.

Add the following link to extension downloader / plugins additional repos:
http://triodeplugins.googlecode.com/svn/trunk/testrepo.xml

Then install via the web page.

Please note that you need to ensure that FAAD/FLAC is the only selected aac decode under settings/advanced/file types.

The one known issue I have is that for live streams, sometimes the server can cache the stream information which means the stream won't play. For the moment return to the BBCiPlayer top level menu and then navigate to the stream again.

I would be interested in reports of success on windows and mac as most of my testing has been on linux.

[I gave up waiting for the BBC to make the AAC streams available direct, so this plugin includes an implementation of the RTMP protocol for SqueezeCenter. This may means its possible to stream other radio over rtmp but I have not looked at this yet...]

ian_heys
2009-08-02, 06:25
Great work Triode.

Tested on 7.3.3/Ubuntu 9.04 and inadvertently left file types for AAC as filetype WAV : faad (only option) but still worked perfectly with very fast starts.

Tested all live channels which started first time and one play again which also started first time.

Have just installed Squeezecenter on Windows XP drive will give that a try too in due course.

Brilliant now and of course indispensible when local radio changes to Flash.

Thanks again

Ian

amcluesent
2009-08-02, 07:19
Hmm, that's not gone so well :(

Installed plugin and disabled AAC files types except for faad/flac and restarted

The AAC stream won't play and the filetypes screen won't render any more



[09-08-02 15:12:13.8071] main::init (270) Starting SqueezeCenter (v7.3.3, r27044, Mon Jun 15 15:14:08 PDT 2009)
[09-08-02 15:12:34.1811] Slim::Player::Song::new (76) Error: Could not find handler for iplayer://www.bbc.co.uk/mediaselector/3/auth/iplayer_streaming_http_mp4/b00lnyn3!
[09-08-02 15:14:27.2417] Slim::Utils::Misc::msg (1139) Warning: [15:14:27.2414] Use of uninitialized value in concatenation (.) or string at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~1.EXE>Template/Provider.pm line 605.
[09-08-02 15:14:27.2422] Slim::Web::HTTP::_generateContentFromFile (2539) Error: file error - C:\PROGRA~1\SQUEEZ~1\server\HTML\EN\settings\serve r\filetypes.html: not found


Version: 7.3.3 - 27044 @ Mon Jun 15 15:14:08 PDT 2009
Hostname: Theseus
Server IP Address: 192.168.2.41
Server HTTP Port Number: 9000
Operating system: Windows Vista - EN - cp1252
Platform Architecture: 586
Perl Version: 5.8.8 - MSWin32-x86-multi-thread
MySQL Version: 5.0.22-community-nt
Total Players Recognized: 4

UPDATE

Installed 7.3.4 off the nightly and filetype renders again! Still no AAC stream though. Debug log shows -



[09-08-02 15:45:06.6913] main::init (270) Starting SqueezeCenter (v7.3.4, r27864, Sun Aug 2 03:01:58 PDT 2009)
[09-08-02 15:45:26.8527] Slim::Player::Song::new (76) Error: Could not find handler for iplayer://www.bbc.co.uk/mediaselector/3/auth/iplayer_streaming_http_mp4/b00lnyn3!
[09-08-02 15:45:57.4966] Plugins::BBCiPlayer::RTMP::new (108) {
app => "live?_fcs_vhost=cp60685.live.edgefcs.net&auth=dbEcJcQalavb9dId.cFdMaCcGbDcSbwbIcr-bkDAAX-c0-d0i_-GpnDBnxoGErHpyD&slist=Radio_3_UK\@s6444",
ct => "aac",
host => "cp60685.live.edgefcs.net",
icon => "http://www.bbc.co.uk/iplayer/img/radio/bbc_radio_three.gif",
live => 1,
port => 1935,
streamname => "Radio_3_UK\@s6444?auth=dbEcJcQalavb9dId.cFdMaCcGbD cSbwbIcr-bkDAAX-c0-d0i_-GpnDBnxoGErHpyD&aifp=v001",
subscribe => "Radio_3_UK\@s6444?auth=dbEcJcQalavb9dId.cFdMaCcGbD cSbwbIcr-bkDAAX-c0-d0i_-GpnDBnxoGErHpyD&aifp=v001",
swfurl => "http://www.bbc.co.uk/emp/9player.swf?revision=10344_10753",
tcurl => "rtmp://cp60685.live.edgefcs.net:1935/live?_fcs_vhost=cp60685.live.edgefcs.net&auth=dbEcJcQalavb9dId.cFdMaCcGbDcSbwbIcr-bkDAAX-c0-d0i_-GpnDBnxoGErHpyD&slist=Radio_3_UK\@s6444",
}
[09-08-02 15:46:00.0910] Plugins::BBCiPlayer::RTMP::processRTMP (746) hsAwaitS1
[09-08-02 15:46:00.0916] Plugins::BBCiPlayer::RTMP::processRTMP (746) hsAwaitS2
[09-08-02 15:46:00.0925] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (218) sending rtmp: chunkChan: 3 type: 20 streamId: 0
[09-08-02 15:46:00.0935] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (220) [
"connect",
"3.03865194161742e-319",
{
app => "live?_fcs_vhost=cp60685.live.edgefcs.net&auth=dbEcJcQalavb9dId.cFdMaCcGbDcSbwbIcr-bkDAAX-c0-d0i_-GpnDBnxoGErHpyD&slist=Radio_3_UK\@s6444",
audioCodecs => "5.36310234823256e-318",
flashVer => "LNX 10,0,22,87",
swfUrl => "http://www.bbc.co.uk/emp/9player.swf?revision=10344_10753",
tcUrl => "rtmp://cp60685.live.edgefcs.net:1935/live?_fcs_vhost=cp60685.live.edgefcs.net&auth=dbEcJcQalavb9dId.cFdMaCcGbDcSbwbIcr-bkDAAX-c0-d0i_-GpnDBnxoGErHpyD&slist=Radio_3_UK\@s6444",
videoCodecs => 0,
},
]
[09-08-02 15:46:00.0948] Plugins::BBCiPlayer::RTMP::processRTMP (746) sentConnect
[09-08-02 15:46:00.2786] Plugins::BBCiPlayer::RTMP::__ANON__ (498) message type 5 - window ack size: 1250000 - ignore
[09-08-02 15:46:00.2789] Plugins::BBCiPlayer::RTMP::__ANON__ (508) message type 6 - set peer BW: 1250000 limit type 0 - sending response
[09-08-02 15:46:00.2791] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (218) sending rtmp: chunkChan: 2 type: 5 streamId: 0
[09-08-02 15:46:00.2799] Plugins::BBCiPlayer::RTMP::__ANON__ (456) message type 4 - user control message 0: Stream Begin
[09-08-02 15:46:00.2803] Plugins::BBCiPlayer::RTMP::__ANON__ (587) message type 20 - command message: _result
[09-08-02 15:46:00.2805] Plugins::BBCiPlayer::RTMP::__ANON__ (593) sending createStream
[09-08-02 15:46:00.2807] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (218) sending rtmp: chunkChan: 3 type: 20 streamId: 0
[09-08-02 15:46:00.2812] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (220) ["createStream", "3.16202013338398e-322", undef]
[09-08-02 15:46:00.2820] Plugins::BBCiPlayer::RTMP::__ANON__ (587) message type 20 - command message: onBWDone
[09-08-02 15:46:00.6236] Plugins::BBCiPlayer::RTMP::__ANON__ (587) message type 20 - command message: _result
[09-08-02 15:46:00.6239] Plugins::BBCiPlayer::RTMP::__ANON__ (605) sending FCSubscribe
[09-08-02 15:46:00.6241] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (218) sending rtmp: chunkChan: 3 type: 20 streamId: 0
[09-08-02 15:46:00.6246] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (220) [
"FCSubscribe",
0,
undef,
"Radio_3_UK\@s6444?auth=dbEcJcQalavb9dId.cFdMaCcGbD cSbwbIcr-bkDAAX-c0-d0i_-GpnDBnxoGErHpyD&aifp=v001",
]
[09-08-02 15:46:00.7856] Plugins::BBCiPlayer::RTMP::__ANON__ (587) message type 20 - command message: onFCSubscribe
[09-08-02 15:46:00.7860] Plugins::BBCiPlayer::RTMP::__ANON__ (633) sending play
[09-08-02 15:46:00.7864] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (218) sending rtmp: chunkChan: 8 type: 20 streamId: 1
[09-08-02 15:46:00.7869] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (220) [
"play",
0,
undef,
"Radio_3_UK\@s6444?auth=dbEcJcQalavb9dId.cFdMaCcGbD cSbwbIcr-bkDAAX-c0-d0i_-GpnDBnxoGErHpyD&aifp=v001",
"2.09044313038148e-317",
]
[09-08-02 15:46:00.9935] Plugins::BBCiPlayer::RTMP::__ANON__ (456) message type 4 - user control message 0: Stream Begin
[09-08-02 15:46:00.9940] Plugins::BBCiPlayer::RTMP::__ANON__ (587) message type 20 - command message: onStatus
[09-08-02 15:46:00.9943] Plugins::BBCiPlayer::RTMP::__ANON__ (647) error NetStream.Play.StreamNotFound
[09-08-02 15:46:00.9946] Plugins::BBCiPlayer::RTMP::__ANON__ (651) closing
[09-08-02 15:46:00.9949] Plugins::BBCiPlayer::RTMP::close (365) close
[09-08-02 15:46:00.9959] Plugins::BBCiPlayer::RTMP::__ANON__ (587) message type 20 - command message: onStatus
[09-08-02 15:46:00.9971] Plugins::BBCiPlayer::RTMP::__ANON__ (647) status NetStream.Play.Stop
[09-08-02 15:46:01.0275] Plugins::BBCiPlayer::RTMP::close (365) close

Triode
2009-08-02, 07:43
Hum - can't see why adding the plugin should cause that. The first error in the log suggests that it is trying to play an old iPlayer url. You may need to delete the contents of Cache/FileCache or wait a while for the old cache entries to be removed.

Triode
2009-08-02, 09:07
Looks like there is a problem with perl 5.8 (It works on perl 5.10)

I will look into it and come back with an update...

Triode
2009-08-02, 10:42
I've fixed the problem with perl 5.8 - please install 0.9beta1 from the repo and let me know if it works..

amcluesent
2009-08-02, 11:11
Working now! Just in time for the Proms too. Amazing coding :)

This is my config. now -

Version: 7.3.4 - 27864 @ Sun Aug 2 03:01:58 PDT 2009
Hostname: Theseus
Server IP Address: 192.168.2.41
Server HTTP Port Number: 9000
Operating system: Windows Vista - EN - cp1252
Platform Architecture: 586
Perl Version: 5.8.8 - MSWin32-x86-multi-thread
MySQL Version: 5.0.22-community-nt

FYI, the log now looks like -



[09-08-02 19:04:28.5644] Plugins::BBCiPlayer::RTMP::new (108) {
app => "live?_fcs_vhost=cp60685.live.edgefcs.net&auth=dbEdedLcNcvaUatcVcJcFc4aycDcIbvawcs-bkDDu5-c0-d0i_-FqsFJpxnLBwGuyH&slist=Radio_3_UK\@s6444",
ct => "aac",
host => "cp60685.live.edgefcs.net",
icon => "http://www.bbc.co.uk/iplayer/img/radio/bbc_radio_three.gif",
live => 1,
port => 1935,
streamname => "Radio_3_UK\@s6444?auth=dbEdedLcNcvaUatcVcJcFc4aycD cIbvawcs-bkDDu5-c0-d0i_-FqsFJpxnLBwGuyH&aifp=v001",
subscribe => "Radio_3_UK\@s6444?auth=dbEdedLcNcvaUatcVcJcFc4aycD cIbvawcs-bkDDu5-c0-d0i_-FqsFJpxnLBwGuyH&aifp=v001",
swfurl => "http://www.bbc.co.uk/emp/9player.swf?revision=10344_10753",
tcurl => "rtmp://cp60685.live.edgefcs.net:1935/live?_fcs_vhost=cp60685.live.edgefcs.net&auth=dbEdedLcNcvaUatcVcJcFc4aycDcIbvawcs-bkDDu5-c0-d0i_-FqsFJpxnLBwGuyH&slist=Radio_3_UK\@s6444",
}
[09-08-02 19:04:28.9258] Plugins::BBCiPlayer::RTMP::processRTMP (746) hsAwaitS1
[09-08-02 19:04:28.9267] Plugins::BBCiPlayer::RTMP::processRTMP (746) hsAwaitS2
[09-08-02 19:04:28.9280] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (218) sending rtmp: chunkChan: 3 type: 20 streamId: 0
[09-08-02 19:04:28.9292] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (220) [
"connect",
1,
{
app => "live?_fcs_vhost=cp60685.live.edgefcs.net&auth=dbEdedLcNcvaUatcVcJcFc4aycDcIbvawcs-bkDDu5-c0-d0i_-FqsFJpxnLBwGuyH&slist=Radio_3_UK\@s6444",
audioCodecs => 1028,
flashVer => "LNX 10,0,22,87",
swfUrl => "http://www.bbc.co.uk/emp/9player.swf?revision=10344_10753",
tcUrl => "rtmp://cp60685.live.edgefcs.net:1935/live?_fcs_vhost=cp60685.live.edgefcs.net&auth=dbEdedLcNcvaUatcVcJcFc4aycDcIbvawcs-bkDDu5-c0-d0i_-FqsFJpxnLBwGuyH&slist=Radio_3_UK\@s6444",
videoCodecs => 0,
},
]
[09-08-02 19:04:28.9319] Plugins::BBCiPlayer::RTMP::processRTMP (746) sentConnect
[09-08-02 19:04:29.0179] Plugins::BBCiPlayer::RTMP::__ANON__ (498) message type 5 - window ack size: 1250000 - ignore
[09-08-02 19:04:29.0183] Plugins::BBCiPlayer::RTMP::__ANON__ (508) message type 6 - set peer BW: 1250000 limit type 0 - sending response
[09-08-02 19:04:29.0186] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (218) sending rtmp: chunkChan: 2 type: 5 streamId: 0
[09-08-02 19:04:29.0195] Plugins::BBCiPlayer::RTMP::__ANON__ (456) message type 4 - user control message 0: Stream Begin
[09-08-02 19:04:29.0201] Plugins::BBCiPlayer::RTMP::__ANON__ (587) message type 20 - command message: _result
[09-08-02 19:04:29.0204] Plugins::BBCiPlayer::RTMP::__ANON__ (593) sending createStream
[09-08-02 19:04:29.0213] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (218) sending rtmp: chunkChan: 3 type: 20 streamId: 0
[09-08-02 19:04:29.0219] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (220) ["createStream", 2, undef]
[09-08-02 19:04:29.0231] Plugins::BBCiPlayer::RTMP::__ANON__ (587) message type 20 - command message: onBWDone
[09-08-02 19:04:29.2193] Plugins::BBCiPlayer::RTMP::__ANON__ (587) message type 20 - command message: _result
[09-08-02 19:04:29.2195] Plugins::BBCiPlayer::RTMP::__ANON__ (605) sending FCSubscribe
[09-08-02 19:04:29.2198] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (218) sending rtmp: chunkChan: 3 type: 20 streamId: 0
[09-08-02 19:04:29.2203] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (220) [
"FCSubscribe",
0,
undef,
"Radio_3_UK\@s6444?auth=dbEdedLcNcvaUatcVcJcFc4aycD cIbvawcs-bkDDu5-c0-d0i_-FqsFJpxnLBwGuyH&aifp=v001",
]
[09-08-02 19:04:29.4218] Plugins::BBCiPlayer::RTMP::__ANON__ (587) message type 20 - command message: onFCSubscribe
[09-08-02 19:04:29.4221] Plugins::BBCiPlayer::RTMP::__ANON__ (633) sending play
[09-08-02 19:04:29.4224] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (218) sending rtmp: chunkChan: 8 type: 20 streamId: 1
[09-08-02 19:04:29.4229] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (220) [
"play",
0,
undef,
"Radio_3_UK\@s6444?auth=dbEdedLcNcvaUatcVcJcFc4aycD cIbvawcs-bkDDu5-c0-d0i_-FqsFJpxnLBwGuyH&aifp=v001",
-1_000,
]
[09-08-02 19:04:29.6245] Plugins::BBCiPlayer::RTMP::__ANON__ (426) message type 1 - set recv chunk size to 1024
[09-08-02 19:04:29.6248] Plugins::BBCiPlayer::RTMP::__ANON__ (456) message type 4 - user control message 0: Stream Begin
[09-08-02 19:04:29.6252] Plugins::BBCiPlayer::RTMP::__ANON__ (587) message type 20 - command message: onStatus
[09-08-02 19:04:29.6254] Plugins::BBCiPlayer::RTMP::__ANON__ (647) status NetStream.Play.Reset
[09-08-02 19:04:29.6256] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 4 timestamp: 0
[09-08-02 19:04:29.6260] Plugins::BBCiPlayer::RTMP::__ANON__ (587) message type 20 - command message: onStatus
[09-08-02 19:04:29.6262] Plugins::BBCiPlayer::RTMP::__ANON__ (647) status NetStream.Play.Start
[09-08-02 19:04:29.6265] Plugins::BBCiPlayer::RTMP::__ANON__ (573) message type 18 - metadata: onMetaData
[09-08-02 19:04:29.6272] Plugins::BBCiPlayer::RTMP::__ANON__ (574) [
"onMetaData",
{
audiocodecid => "mp4a",
audiodatarate => 192,
canseektoend => 1,
createdby => "BBC",
},
]
[09-08-02 19:04:29.6870] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 567 timestamp: 0
[09-08-02 19:04:29.9809] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 549 timestamp: 32
[09-08-02 19:04:29.9812] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 552 timestamp: 63
[09-08-02 19:04:29.9815] Plugins::BBCiPlayer::RTMP::processRTMP (902) sending ack
[09-08-02 19:04:29.9817] Plugins::BBCiPlayer::RTMP::sendRTMPPacket (218) sending rtmp: chunkChan: 2 type: 3 streamId: 0
[09-08-02 19:04:29.9825] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 593 timestamp: 79
[09-08-02 19:04:29.9828] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 554 timestamp: 94
[09-08-02 19:04:29.9831] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 546 timestamp: 125
[09-08-02 19:04:29.9833] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 553 timestamp: 141
[09-08-02 19:04:29.9836] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 552 timestamp: 172
[09-08-02 19:04:29.9839] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 560 timestamp: 204
[09-08-02 19:04:29.9842] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 560 timestamp: 219
[09-08-02 19:04:29.9845] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 547 timestamp: 250
[09-08-02 19:04:29.9847] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 556 timestamp: 266
[09-08-02 19:04:29.9850] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 565 timestamp: 282
[09-08-02 19:04:29.9853] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 572 timestamp: 313
[09-08-02 19:04:29.9855] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 561 timestamp: 329
[09-08-02 19:04:30.3872] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 550 timestamp: 360
[09-08-02 19:04:30.3875] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 554 timestamp: 375
[09-08-02 19:04:30.3879] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 549 timestamp: 391
[09-08-02 19:04:30.3882] Plugins::BBCiPlayer::RTMP::__ANON__ (525) message type 8 - audiodata, streamId: 2936012800 len: 574 timestamp: 422

ian_heys
2009-08-02, 12:35
Managed to test 0.9beta1 on Windows XP/7.3.3.

Everything works except direct change from one live channel to another and similar for listen again streams.

Every instance of directly changing failed and had to go to iPlayer top level menu and back each time.

I noticed too on the original beta that it reverts to WMA on World Service - very nifty.

Might be worth adding a caveat for the general release that streams cannot be saved to Favorites (in Now Playing or on the Server UI) just to avoid unnecessary failure reports.

Look forward to the general release.

Ian

Triode
2009-08-02, 13:09
I need to look at that more, but I would expect you to be able to bookmark favourites via the web interface which work. The issue is that we need to bookmark the first url which defines a stream, not the actual url which plays it. It may be that I can change how this works.

bonze
2009-08-02, 15:04
Installed on WHS this afternoon and it worked first time :)

I'g left all AAC options as they were....
AAC Native
FLAC faad/flac
MP3 faad/lame
PCM faad

Should they all be disabled except faad/flac?

amcluesent
2009-08-02, 15:45
A few points -

+ Been using my TP to switch between the R3 live AAC stream and DAB radio connected on optical digital in. DAB sounds rather 'thin' in comparison, but level matching isn't 100%.

+ A few pauses due to rebuffering (I'm on a 10M cable broadband). Is there a way to up the buffer size?

+ I can't figure out how to prioritise the RTMP stream using the QoS settings on my D-Link router. A setting based on IP address(es) of the BBC servers would seem best, but I can't figure out the range.

Triode
2009-08-02, 15:55
Try increasing the "Radio Station Buffer Seconds" in Setttings, Advanced, Network.

Triode
2009-08-03, 06:41
Everything works except direct change from one live channel to another and similar for listen again streams.


I believe this is due to a server bug which I have just fixed for 7.4. I was seeing it occasionally on linux.

milesr3
2009-08-04, 06:09
Is there any way that this will work on 7.2.1 (with wav stream format and aac2wav decoder)?

I tried installing manually, and it appears in the list of plugins but greyed out as incompatible.

agbagb
2009-08-04, 06:40
Will this work for those of us outside the UK?

AGB

bpa
2009-08-04, 07:00
Will this work for those of us outside the UK?


Not yet - still testing. As soon as the issues are sorted, it should work as the AAC format can be played by users outside of the UK but they are still 48kbps streams but better quality as AAC is better than RealAudio for the same speed.

ModelCitizen
2009-08-07, 01:36
I'g left all AAC options as they were....
Should they all be disabled except faad/flac?

According to this post, yes.
http://forums.slimdevices.com/showpost.php?p=445067&postcount=12

MC

ModelCitizen
2009-08-07, 02:34
I have installed iPlayer 0.9beta2 on my Windows 7.3.3 SC and disabled all AAC file types options but faad/flac.

I am finding usage of the main BBC stations quite flaky on my Controller (controlling an SB3). Some live streams connect some of the time and some don't some of the time (Controller reports "Connecting...."). There appears to be no pattern that I can see. Whether the stream happens to connect or not appears random. However, when streams do connect the connection time is quite short.

Also, sometimes I have to go up a menu level (or even two) before I can connect to another live stream (and sometimes not).

The only constant is that BBC Asian Radio sounds like a very bad AM transmission.

BTW. How can I verify that I am actually receiving high quality AAC streams as WAV?

MC

bpa
2009-08-07, 02:48
I think somne of those connection problems are related to SC - in an earlier Triode post - he says that he had to put a patch into 7.4 to fix one connection issue.


Not sure about the WAV point - the audio format is AAC which is transcdoed into Flac to be played by the player. If you check the running processes you should see faad running when an AAC stream is being decoded.

Triode
2009-08-07, 03:09
Yes - the connecting problems and need to back up the menus are SC issues. Please install the latest 7.4 as it should resolve these.

Asian network sounds the same to me as it does via the web iplayer so I think there is a problem at the bbc end.

bonze
2009-08-07, 03:20
According to this post, yes.
http://forums.slimdevices.com/showpost.php?p=445067&postcount=12

MCBut it still works for me without anything disabled.....

ModelCitizen
2009-08-07, 15:35
Please install the latest 7.4 as it should resolve these.
Gulp. I'm enjoying the stability and no hassle of 7.3.3 and have no idea how stable 7.4 is, or even if it will remain stable. :-(

MC

ModelCitizen
2009-08-07, 15:37
But it still works for me without anything disabled.....
Hmm.. and is the transcoding achieving the best quality stream?

MC

Triode
2009-08-07, 23:27
Hmm.. and is the transcoding achieving the best quality stream?

MC

The latest versions of the plugin will work with any of the file type settings. As long as you trascode to flac or wav (decode not transcode?) then there should be no loss of quality.

Peter314
2009-08-11, 06:57
Thanks Triode, all sounds very good running with 7.3.3.

One problem I found is that I cannot fast forward through Listen Again programmes. This was a bit annoying when Pick of the Pops rebuffered and ground to a halt part way through.

Is there a fix for the lack of FFWD?

amcluesent
2009-08-13, 15:44
Has the BBC decided to break non iPlayer clients? I'm getting this message in the XML for Listen Again -

BBC Audio On Demand Availability Schedule Usage of this feed does not authorise you to use items of BBC copyright or trademarks (eg. the BBC Logo, BBC Radio brands). Please email aodfeed@bbc.co.uk for full details - graphical assets and correct naming techniques can be provided once you agree to our brand usage and linking terms. aodfeed@bbc.co.uk

ian_heys
2009-08-14, 02:17
The BBC seem to be having some general problems with the iPlayer at the moment. I don't use "play it again" much but they have acknowledged a general problem.

http://www.bbc.co.uk/dna/mbiplayer/F7331803?thread=6837184

Also I seem to be getting the WMA stream when I try to listen to Radio 4 Live in Flash on my PC (Other live streams seem to be OK).

Triode
2009-08-14, 10:58
Problem at the bbc end which looks fixed now..

Nick_W
2009-08-18, 06:43
Hi,

Thanks for this, works great.

Only issue I have is that when I assign List Live>BBC Radio 2 to a preset there is no sound.

It selects radio 2, then nothing happens. Using latest 7.4.

Any ideas?

Regards,

Nick.

Triode
2009-08-18, 10:01
Yes there is probably an issue with presets at present - they just changed in 7.4 and there's no mechanism at present to save all the information to get the right stream. I need to look at this..

Nick_W
2009-08-19, 02:07
Yes there is probably an issue with presets at present - they just changed in 7.4 and there's no mechanism at present to save all the information to get the right stream. I need to look at this..

Shame, that has a big -WAF. Hope it can be fixed. Love the quality of the new streams though :)

Thanks,

Nick.

ian_heys
2009-08-21, 23:47
I notice that the beta plugin has now gone to version 8.

I've upgraded, (from beta 3 I think) anything to look out for?

Continues to work fine for me on 7.3.3 and Ubuntu 9.04 - still haven't had a single instance of failure to connect first time.

bpa
2009-08-22, 00:01
There have been changes so that it now should work for non UK users and also for the stations which are slightly different

- 5 live's and the assoicated recorder programs
- local radio and associated recorded programs.
- not sure of the status of regional stations - Scotland, Radio Na Gadhaeil, Cymru, Foyle etc and their recorded programs.

Triode
2009-08-25, 13:21
See announcement on the BBCiPlayer thread - I've released the 0.9 version of iPlayer with support for the Flash AAC streams. Please provide feedback on that thread.