Many thanks for these links and urls nullacht, really appreciated.
--
I hope this is ok to ask here since it relates to using Livestreamer with BBC streams:
I capture live radio streams since the live radio is broadcast at 320kbps AAC and now at full range frequency (>20kHz), so the audio quality is excellent and the best we've ever been able to get from the Beeb (the listen again iplayer is 128kbps AAC and not full range frequency).
I have been using the get_iplayer program, but due to some inconsistent and random instability with the live stream (specifically "http 500 internal server" errors), get_iplayer will always exit and thus the stream will not have been captured in it's entirety. These errors are not specific to me; two other friends also encounter these errors at the same time, so it's def a BBC issue.
So for the past few days I've been testing out Livestreamer and it does what I need.
However, I did get another "http 500 internal server" error and Livestreamer exited.
I found the
--hls-segment-threads option that helps to stabilise the watching of live streams and so added that, and whilst capturing a file it encountered the same error 3 times but recovered ok, and continued to capture the file.
Last night another one failed though, due to the same error. So, I'm looking into ways to fire fight this BBC live stream stability issue by using options that may help.
I will obviously test some additional options out, but just wondered if you, or anyone else, had experience or suggestions that may help me?
I use this stream
Code:
"hlsvariant://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/llnw/bbc_radio_one.m3u8"
with these options:
Code:
best --hls-segment-threads 4 -f -o
Maybe simply making the
--hls-segment-threads 10 might solve it??
I'm looking at these options as potential ways to help keep the stream alive:
--retry-streams
--hls-segment-timeout
--hls-timeout
--hls-segment-attempts
Any help & advice greatly appreciated, thanks