Post Reply 
BBC Stream stalls after 5 seconds.
06-05-2015, 18:52 (This post was last modified: 06-05-2015 20:39 by MarmiteSandwich.)
Post: #1
BBC Stream stalls after 5 seconds.
Hi,
Trialling your server/streamer which looks like a good solution to the BBC problem. I have installed the BBC Radio .m3u file as specified on the website, and used the URL given in the MinimRadio page, modified to reflect my Windows server IP address. I am aiming at implementing this solution on a Roku Soundbridge, but to test the concept, I put the URL into VLC (on a different Windows PC) as a network stream. VLC started to play it immediately but stopped after 5 seconds. This can be reproduced indefinitely. The Roku didn't manage to play anything. Since VLC managed something, I must be on the right track. Will happily make a donation, but need to sort out this glitch first. Any suggestions?
Marmite
Edit: Upon further investigation, pasting the URL into Chrome results in an indefinite play of the stream, QuickTime says it is an invalid URL, and Firefox loads the QuickTime plugin and plays for 5 seconds (like VLC). This length of time seems to be related to HLS structure, which works in 5 second fragments, as far as I can see. Not that any of this tells me why VLC or the Roku won't play a stream from this URL. I haven't changed anything from the example given, except my server's IP address.

Server :: RaspberryPi3B+>Minimserver 2
Control : Android>BubbleUPnP / W10>Upplay / W10>Kazoo / iPhone>Kazoo
Renderer: BubbleUPnP Server>Cambridge Audio CXN V2
Find all posts by this user
Quote this message in a reply
06-05-2015, 21:56
Post: #2
RE: BBC Stream stalls after 5 seconds.
(06-05-2015 18:52)MarmiteSandwich Wrote:  Hi,
Trialling your server/streamer which looks like a good solution to the BBC problem. I have installed the BBC Radio .m3u file as specified on the website, and used the URL given in the MinimRadio page, modified to reflect my Windows server IP address. I am aiming at implementing this solution on a Roku Soundbridge, but to test the concept, I put the URL into VLC (on a different Windows PC) as a network stream. VLC started to play it immediately but stopped after 5 seconds. This can be reproduced indefinitely. The Roku didn't manage to play anything. Since VLC managed something, I must be on the right track. Will happily make a donation, but need to sort out this glitch first. Any suggestions?
Marmite
Edit: Upon further investigation, pasting the URL into Chrome results in an indefinite play of the stream, QuickTime says it is an invalid URL, and Firefox loads the QuickTime plugin and plays for 5 seconds (like VLC). This length of time seems to be related to HLS structure, which works in 5 second fragments, as far as I can see. Not that any of this tells me why VLC or the Roku won't play a stream from this URL. I haven't changed anything from the example given, except my server's IP address.

What is the exact URL that you were using for your tests?
Find all posts by this user
Quote this message in a reply
06-05-2015, 22:20
Post: #3
RE: BBC Stream stalls after 5 seconds.
(06-05-2015 21:56)simoncn Wrote:  
(06-05-2015 18:52)MarmiteSandwich Wrote:  Hi,
Trialling your server/streamer which looks like a good solution to the BBC problem. I have installed the BBC Radio .m3u file as specified on the website, and used the URL given in the MinimRadio page, modified to reflect my Windows server IP address. I am aiming at implementing this solution on a Roku Soundbridge, but to test the concept, I put the URL into VLC (on a different Windows PC) as a network stream. VLC started to play it immediately but stopped after 5 seconds. This can be reproduced indefinitely. The Roku didn't manage to play anything. Since VLC managed something, I must be on the right track. Will happily make a donation, but need to sort out this glitch first. Any suggestions?
Marmite
Edit: Upon further investigation, pasting the URL into Chrome results in an indefinite play of the stream, QuickTime says it is an invalid URL, and Firefox loads the QuickTime plugin and plays for 5 seconds (like VLC). This length of time seems to be related to HLS structure, which works in 5 second fragments, as far as I can see. Not that any of this tells me why VLC or the Roku won't play a stream from this URL. I haven't changed anything from the example given, except my server's IP address.

What is the exact URL that you were using for your tests?

http://192.168.0.124:9790/minimstreamer/*/R3

Server :: RaspberryPi3B+>Minimserver 2
Control : Android>BubbleUPnP / W10>Upplay / W10>Kazoo / iPhone>Kazoo
Renderer: BubbleUPnP Server>Cambridge Audio CXN V2
Find all posts by this user
Quote this message in a reply
09-05-2015, 12:24
Post: #4
RE: BBC Stream stalls after 5 seconds.
(06-05-2015 22:20)MarmiteSandwich Wrote:  
(06-05-2015 21:56)simoncn Wrote:  
(06-05-2015 18:52)MarmiteSandwich Wrote:  Hi,
Trialling your server/streamer which looks like a good solution to the BBC problem. I have installed the BBC Radio .m3u file as specified on the website, and used the URL given in the MinimRadio page, modified to reflect my Windows server IP address. I am aiming at implementing this solution on a Roku Soundbridge, but to test the concept, I put the URL into VLC (on a different Windows PC) as a network stream. VLC started to play it immediately but stopped after 5 seconds. This can be reproduced indefinitely. The Roku didn't manage to play anything. Since VLC managed something, I must be on the right track. Will happily make a donation, but need to sort out this glitch first. Any suggestions?
Marmite
Edit: Upon further investigation, pasting the URL into Chrome results in an indefinite play of the stream, QuickTime says it is an invalid URL, and Firefox loads the QuickTime plugin and plays for 5 seconds (like VLC). This length of time seems to be related to HLS structure, which works in 5 second fragments, as far as I can see. Not that any of this tells me why VLC or the Roku won't play a stream from this URL. I haven't changed anything from the example given, except my server's IP address.

What is the exact URL that you were using for your tests?
VLC on client:
http://192.168.0.124:9790/minimstreamer/*/R3

.m3u file is the example untouched:
#EXTM3U
#EXTINF:-1,[*R1] BBC Radio 1
http://a.files.bbci.co.uk/media/live/man...o_one.m3u8
#EXTINF:-1,[*R1X] BBC Radio 1Xtra
http://a.files.bbci.co.uk/media/live/man...1xtra.m3u8
#EXTINF:-1,[*R2] BBC Radio 2
http://a.files.bbci.co.uk/media/live/man...o_two.m3u8
#EXTINF:-1,[*R3] BBC Radio 3
http://a.files.bbci.co.uk/media/live/man...three.m3u8
#EXTINF:-1,[*R4] BBC Radio 4 FM
http://a.files.bbci.co.uk/media/live/man...ourfm.m3u8
#EXTINF:-1,[*R4X] BBC Radio 4 Extra
http://a.files.bbci.co.uk/media/live/man...extra.m3u8
#EXTINF:-1,[*R4L] BBC Radio 4 LW
http://a.files.bbci.co.uk/media/live/man...ourlw.m3u8
#EXTINF:-1,[*R5] BBC Radio 5 Live
http://a.files.bbci.co.uk/media/live/man..._live.m3u8
#EXTINF:-1,[*R5X] BBC Radio 5 Live Sports Extra
http://a.files.bbci.co.uk/media/live/man...extra.m3u8
#EXTINF:-1,[*R6] BBC Radio 6 Music
http://a.files.bbci.co.uk/media/live/man...music.m3u8
#EXTINF:-1,[*AN] BBC Asian Network
http://a.files.bbci.co.uk/media/live/man...twork.m3u8
#EXTINF:-1,[*WS] BBC World Service
http://bbcwsen-lh.akamaihd.net/i/WSEIEUK...aster.m3u8

Server :: RaspberryPi3B+>Minimserver 2
Control : Android>BubbleUPnP / W10>Upplay / W10>Kazoo / iPhone>Kazoo
Renderer: BubbleUPnP Server>Cambridge Audio CXN V2
Find all posts by this user
Quote this message in a reply
13-05-2015, 16:13
Post: #5
RE: BBC Stream stalls after 5 seconds.
For anyone interested, my trial and error research has indicated that the only output from MinimStreamer which the Roku SB will play is transcoded mp3, although it does play the current temporary Radio 3 aac stream, and used to play all the discontinued BBC aac streams. As mentioned above, Windows VLC doesn't get along very well with the unwrapped native aac streams output from MinimStreamer, although some PC products (like Windows Chrome) will play them. Foobar 2000 manages better than VLC, but still struggles, see attached screen shots, where Foobar steps through the stream playlist every time it gets an error.        

Perhaps I'll make do with the Beeb's temporary mp3 streams until something changes.

Both PCs are running Windows 7 Professional (server 32 bit, player 64) and the CPU usage on the server never goes above 20%, even with the mp3 transcoding. Server 0.8.3, streamer 0.5.12. Roku SB 1001: software version 3.0.44.

Server :: RaspberryPi3B+>Minimserver 2
Control : Android>BubbleUPnP / W10>Upplay / W10>Kazoo / iPhone>Kazoo
Renderer: BubbleUPnP Server>Cambridge Audio CXN V2
Find all posts by this user
Quote this message in a reply
16-05-2015, 21:33
Post: #6
RE: BBC Stream stalls after 5 seconds.
(13-05-2015 16:13)MarmiteSandwich Wrote:  For anyone interested, my trial and error research has indicated that the only output from MinimStreamer which the Roku SB will play is transcoded mp3, although it does play the current temporary Radio 3 aac stream, and used to play all the discontinued BBC aac streams. As mentioned above, Windows VLC doesn't get along very well with the unwrapped native aac streams output from MinimStreamer, although some PC products (like Windows Chrome) will play them. Foobar 2000 manages better than VLC, but still struggles, see attached screen shots, where Foobar steps through the stream playlist every time it gets an error.

Perhaps I'll make do with the Beeb's temporary mp3 streams until something changes.

Both PCs are running Windows 7 Professional (server 32 bit, player 64) and the CPU usage on the server never goes above 20%, even with the mp3 transcoding. Server 0.8.3, streamer 0.5.12. Roku SB 1001: software version 3.0.44.

I have reproduced the problem with VLC stopping after a few seconds and I am thinking about how to fix it. It is caused by a timing/buffering issue.
Find all posts by this user
Quote this message in a reply
07-07-2015, 11:11
Post: #7
RE: BBC Stream stalls after 5 seconds.
(16-05-2015 21:33)simoncn Wrote:  
(13-05-2015 16:13)MarmiteSandwich Wrote:  For anyone interested, my trial and error research has indicated that the only output from MinimStreamer which the Roku SB will play is transcoded mp3, although it does play the current temporary Radio 3 aac stream, and used to play all the discontinued BBC aac streams. As mentioned above, Windows VLC doesn't get along very well with the unwrapped native aac streams output from MinimStreamer, although some PC products (like Windows Chrome) will play them. Foobar 2000 manages better than VLC, but still struggles, see attached screen shots, where Foobar steps through the stream playlist every time it gets an error.

Perhaps I'll make do with the Beeb's temporary mp3 streams until something changes.

Both PCs are running Windows 7 Professional (server 32 bit, player 64) and the CPU usage on the server never goes above 20%, even with the mp3 transcoding. Server 0.8.3, streamer 0.5.12. Roku SB 1001: software version 3.0.44.

I have reproduced the problem with VLC stopping after a few seconds and I am thinking about how to fix it. It is caused by a timing/buffering issue.

I am now running streamer v 0.5.13 and server 0.8.3, with a newer version of VLC (2.1.5) and managed overnight to stream and record 1.5 hours of Radio 3 in aac 320k. Good work, Simon.

BTW I'm in the process of ditching the Roku, which is now obsolete, and searching for a substitute. So far I have ruled out Denon DNP F109 (£200), Veetop Airmusic (£15) and about to try Pure Jongo A2 (£22). Why it it so difficult to find something moderately priced to convert a UPnP stream into a digital output to my DAC, and control it from a PC/smartphone?
Marmite

Server :: RaspberryPi3B+>Minimserver 2
Control : Android>BubbleUPnP / W10>Upplay / W10>Kazoo / iPhone>Kazoo
Renderer: BubbleUPnP Server>Cambridge Audio CXN V2
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)