These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Switch to select 25 or 50fps?

user-1129

I upgraded to the latest dev branch and am now getting the 50fps content with GiP in HLS mode, which is nice (older version with HLS only gave me 25fps).

The thing is, not all shows benefit greatly (or at all) from the extra fps and getting them at 50 nearly doubles the size.

My question is, is it possible to have either an --fps switch, or a better explanation of the --modes to enable selection via the CLI of whether for a given show you want 25 or 50?


(e.g. cbeebies, daytime tv & chat shows, films...50fps really doesn't matter. Sports stuff, anything with fast moving action scenes clearly superior in the higher frame rate)

user-1129

I think I can at least derive this now by looking at --info for a program based on the mode sizes and duration attributes;

get_iplayer Output:

duration:   660
modesizes:      original: flashhd1=190MB,flashvhigh1=119MB,flashvhigh2=119MB,flashhigh1=64MB,flashhigh2=64MB,flashstd1=41MB,flashstd2=41MB,flashlow1=32MB,flashlow2=32MB,hlshd1=433MB,hlshd2=433MB,hlsxd1=188MB,hlssd1=245MB,hlssd2=245MB,hlsvhigh1=142MB,hlsvhigh2=142MB,hlshigh1=77MB,hlshigh2=77MB,hlsstd1=44MB,hlsstd2=44MB,hlslow1=31MB,hlslow2=31MB,subtitles1=23KB


From this you can (roughly) derive that flashhd1 is 2.3 Mbps and probably 720p25 and hlshd1 is 5.24 Mbps and probably 720p50


..but there has to be an easier way? Or perhaps not...

user-585

Hi PiP,
Have a read of /threa...ml#pid2972 which might help to explain how the new HD modes will be different.

Looking at the example you posted, my guess would be (judging on size) that hlsxd is roughly the same stream as the current flashhd and hlshd is the new Video Factory stream.

user-2

If you use the dev version, read the commit log:

https://github.com/get-iplayer/get_iplay...ts/develop

hint: you will want to pull the latest changes

user-1129

Wow, that was fast - nice work!

user-585

Hi Dinky,
I've had a read through the commit log but I'm a bit confused by some of the options. I see that we now have 2 HLS options for HD. hlshd and hls50hd. Is hlshd the 540p 50fps stream that is supposed to be equivalent to the current flashhd streams because of the upped frame rate? That would possibly then make hls50hd the new monster HD stream that is 720p but is about 2GB an hour. But from what I've read, it sounds like hlshd would be a 25fps option which then wouldn't be as good as the current HD streams.

Am I understanding this right?

Also what is the hls50sd option for?

user-1129

(09-01-2016, 09:05 PM)we now have 2 HLS options for HD. hlshd and hls50hd. Is hlshd the 540p 50fps stream

My understanding is that;

hls50hd = 720p50
hlshd = 720p25 (equiv to flashhd)

Based on file size and duration for some I have checked, I can tell that;

hls50hd is ~ 5.3Mbps   720p50
hls50sd is ~ 3.5 Mbps  540p50
hlshd is ~ 2.5 Mbps      720p25
hlsvhigh is ~ 2Mbps     540p25
hlshigh is ~1Mbps       396p25
hlsstd is ~ 0.6Mbps     288p25
hlslow is ~ 0.4Mbps    216p25

I'm not sure what each of the SD resolutions (that is, anything less than 720p) are but they're the same as they were with the Flash modes.

user-2

hlshd = 1280x720@25fps, hls50hd = 1280x720@50fps. I was going to make 50fps the HD default, but changed my mind. I'm planning to minimise the number of streams supported in subsequent releases, but even when HLS becomes the default TV format, I'm not sure I'll get rid of 25fps as default for HD.  50fps is pretty wasteful for most programmes, so it seems like it should be up to the user whether or not to gobble the extra bandwidth.  If you want it, all you have to do is use --tvmode=hls50 and get_iplayer will skip HD 25fps. I'm assuming that the HD 25fps stream will be around as long as iOS doesn't do DASH, but there is no way to know for sure.

hls50sd = 960x540@50fps. It's not really SD resolution as most people would understand it, but it is the closest thing available. The BBC confuse things by calling it "HD" on iPlayer, but I couldn't bring myself to do that. Not sure it was worth including this - we'll see.

user-1129

(09-01-2016, 11:28 PM)I was going to make 50fps the HD default, but changed my mind.  50fps is pretty wasteful for most programmes, so it seems like it should be up to the user whether or not to gobble the extra bandwidth.

I couldn't agree more. A few things do look better in 50fps but many things don't gain much advantage from it and it's a LOT of extra bandwidth bloat.

user-2

(09-01-2016, 11:26 PM)I'm not sure what each of the SD resolutions (that is, anything less than 720p) are but they're the same as they were with the Flash modes.
They are slightly different, but not enough to care. At vhigh and highquality, HLS has a bit higher resolution and bitrate.  Run this with latest dev version and you'll find a representative list of recording modes for comparison buried in the output:
Code:
get_iplayer sherlock --info --verbose

user-763

Can I just put a vote in for retaining the hls50sd setting, I have just started using the hls downloads and find hls50sd (540p) really good for sport without using too much bandwidth. I also use image doubling video rendering SW (madvr) and find that 540P is ideal for displaying on 1080p screen. It is a shame that there isn't a 540p 25fps stream for other material.

user-1129

(11-01-2016, 01:24 AM)It is a shame that there isn't a 540p 25fps stream for other material.

(09-01-2016, 11:26 PM)hls50sd is ~ 3.5 Mbps  540p50
hlsvhigh is ~ 2Mbps     540p25


I think I've lost you. What do you mean 'for other material' ?

user-2

(11-01-2016, 01:24 AM)also use image doubling video rendering SW (madvr) and find that 540P is ideal for displaying on 1080p screen. It is a shame that there isn't a 540p 25fps stream for other material.
I hadn't thought of that. OK, it stays.

user-763

(11-01-2016, 02:11 AM)I hadn't thought of that.  OK, it stays.
Many thanks

@PiP I hadn't realised that hlsvhigh is 540p25, I thought it was the the old 832x468 resolution, thanks for pointing that out. 
(As I said I'm just starting to use the hlsmodes and have been focussed on the HD and SD50 formats)

These forums are archived

See this post for further info