Using ffmpeg, the following command will capture live BBC2 HD but only at 720p
ffmpeg -i https://vs-hls-push-uk-live.akamaized.net/x=3/i=urn:bbc:pips:service:bbc_two_hd/t=3840/v=pv14/b=5070016/main.m3u8 -c copy test.ts
Presumably the 5070016 means something, but is there a list of such codes used by the BBC?