Olympic live streams fix
dinkypumpkin at gmail.com
Sun Jul 29 16:46:42 EDT 2012
On 29/07/2012 17:49, MS wrote:
> Working (based on JCA's example):
> ./get_iplayer --stream --modes=flashvhigh2,flashhigh2,flashstd2
> --type=livetv "BBC One" --player="vlc -"
> Plays at: H264, 688x384, FR: 25
> Not Working:
> ./get_iplayer --stream
> --modes=flashvhigh1,flashvhigh2,flashhigh1,flashhigh2,flashstd1,flashstd2 --type=livetv
> "BBC One" | vlc -
> main stream error: cannot pre fill buffer
This problem has come up before with live TV. If you look, you'll see
that your failing commands include mode values with the "1" prefix first
in the list. When one of the CDNs (Limelight in this case) won't serve
the simulcast streams, and the first mode in the list points to that
CDN, rtmpdump exits with an error since there is no stream to download.
get_iplayer then exits and thus nothing streams to your media player.
When this happens, you basically just do what you've been doing: Make
your mode values specific and flip the suffixes from "1" to "2".
> I can not stream at a higher resolution than 688x384 with the BBC live
> channels, although the Olympic streams work fine playing at 1280x720.
> This is despite the fact that the info command:
The regular simulcast streams aren't encoded with the same dimensions as
recorded programmes. The flashvhigh version of a simulcast is smaller
than the flashvhigh version of a recorded programme. I think 688x384 is
all you'll get in this case. The "mode" values are determined by the
listed bit rate rather than size.
More information about the get_iplayer