Olympic live streams fix

MS jmstanfield at gmail.com
Sun Jul 29 12:49:53 EDT 2012


On 29/07/12 15:07, JCA wrote:
> On Sun, Jul 29, 2012 at 6:06 AM, MS <jmstanfield at gmail.com> wrote:
>> On 28/07/12 17:22, fs ck wrote:
>>>
>>> I've just committed a change to git that allows the Olympic live
>>> streams to work. They use a new /mediaselector/5/ URL so now this is
>>> detected.
>>>
>>> You should be able to use: get_iplayer --url
>>> "http://www.bbc.co.uk/sport/olympics/2012/live-video/<pid>" --get
>>> or: get_iplayer --pid <pid>
>>>
>>> Many of these links are in:
>>>
>>> http://www.bbc.co.uk/sport/olympics/2012/live-video
>>>
>>> Sometimes you'll find that the <pid> is a channel id such as
>>> 'http://www.bbc.co.uk/sport/olympics/2012/live-video/bbc_one_2012_hd'
>>> and in this case you'll need to use:
>>>
>>> get_iplayer --pid bbc_one_2012_hd
>>>
>>> Unfortunately for some unknown reason I'm still having trouble getting
>>> pid 'bbc_three_2012_hd' working.
>>>
>>> Have fun.
>>
>>
>> Thanks so much - this is exactly what I was looking for. Having never tried
>> streaming a live BBC feed before (I'm a new get_iplayer user), I can now
>> stream these Olympic feeds with either mplayer or vlc, with:
>>
>> ./get_iplayer --stream --url
>> "http://www.bbc.co.uk/sport/olympics/2012/live-video/p00w2tks" | mplayer
>> -cache 512 -
>>
>> ./get_iplayer --stream --url
>> "http://www.bbc.co.uk/sport/olympics/2012/live-video/p00w2tks" | vlc -
>>
>> [Specifying the player within the get_iplayer command line using
>> --player="vlc -" or mplayer equivalent, instead of entering the pipe
>> manually, as above, also works perfectly.]
>>
>>
>> HOWEVER... I tried streaming the live BBC 1 feed and was unable to do so. I
>> could not get the command line right.
>>
>> Can someone give me some command line examples for streaming the live BBC
>> channels please?
>>
>> Also these are the only ones I can find:
>>
>> 80000:  BBC Alba - live
>> 80001:  BBC Four - live
>> 80002:  BBC News - live
>> 80003:  BBC One - live
>> 80004:  BBC Parliament - live
>> 80005:  BBC Three - live
>> 80006:  BBC Two - live
>> 80007:  CBBC - live
>> 80008:  CBeebies - live
>>
>> No mention of the HD channels, or of the 'red button' channel which I think
>> is channel 301 on my Freeview TV.
>>
>> Any help would be appreciated. Many thanks,
>>
>> ..matthew
>
> This is what I use myself to watch BBC channels (BBC Two in the
> example below) in my MythTV box:
>
> get_iplayer --stream --modes=flashvhigh2,flashhigh2,flashstd2
> --nopurge --type=livetv "BBC Two" --player="mplayer -vo xv -cache 128
> -fs -stop-xscreensaver -zoom -"
>

Thanks JCA. Ok so this is odd, because your command line is not all that 
different from my ones that did not work, I've diagnosed the problem as 
being to do with the --modes setting. [See working and not working 
commands below.]

Please note I am using yesterday's (2012-07-28) git upload: 
get_iplayer-c3aafce

I have no problems streaming the olympic streams linked on this page:

http://www.bbc.co.uk/sport/olympics/2012/live-video

They play at: H264, 1280x720, FR: 25

Example command line:

./get_iplayer --stream --url 
"http://www.bbc.co.uk/sport/olympics/2012/live-video/p00w2tks" | vlc -

For the main BBC streaming channels, here are some working and not 
working commands:

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=best --type=livetv "BBC One" --player="vlc -"
main stream error: cannot pre fill buffer

Not Working:
./get_iplayer --stream 
--modes=flashvhigh1,flashvhigh2,flashhigh1,flashhigh2,flashstd1,flashstd2 --type=livetv 
"BBC One" | vlc -
main stream error: cannot pre fill buffer

Not Working:
./get_iplayer --stream 
--modes=flashhigh1,flashhigh2,flashlow1,flashlow2, 
flashstd1,flashstd2,flashvhigh1,flashvhigh2,rtsphigh1,rtsplow1,rtspstd1,rtspvhigh1 
--type=livetv "BBC One" | vlc -
main stream error: cannot pre fill buffer

Working With Errors:
./get_iplayer --stream --modes=flashvhigh2 --type=livetv "BBC One" | vlc -
Plays at: H264, 688x384, FR: 25
Repeated Error: number of reference frames exceeds max (probably corrupt 
input), discarding one

Working With Errors:
./get_iplayer --stream --modes=flashhigh2 --type=livetv "BBC One" | vlc -
Plays at: H264, 640x360, FR: 25
Repeated Error: number of reference frames exceeds max (probably corrupt 
input), discarding one

Working With Errors:
./get_iplayer --stream --modes=flashstd2 --type=livetv "BBC One" | vlc -
Plays at: H264, 640x360, FR: 25
Repeated Error: number of reference frames exceeds max (probably corrupt 
input), discarding one

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:

./get_iplayer --info 80003

Gives me:

modes: default: 
flashhigh1,flashhigh2,flashlow1,flashlow2,flashstd1,flashstd2,flashvhigh1,flashvhigh2,rtsphigh1,rtsplow1,rtspstd1,rtspvhigh1

Anyone got any ideas what is going on and how I can get this working?

Thanks all.



More information about the get_iplayer mailing list