TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
30.23k stars 2.98k forks source link

Add bitrate to quality list #4954

Open cfreds opened 3 years ago

cfreds commented 3 years ago

Checklist

Describe the feature you want

I would like to see the bitrate of the each video, on the list of resolution aviable Example: MPEG-4 1080p, 4.5 Mbps | MPEG-4 720p, 2.1Mbps

Optionally, also describe alternatives you've considered. Also you can option to see bouth the MPEG-4 and VP9 video aviable on the list and not only MPEG-4 or VP9.

Is your feature request related to a problem?

My main problem (and Others users of the app) Internet speed, if could I see one video use 4.5Mbps and I watch at 1.5x ill know that cant play on because only have 5Mbps, so ill choose 720 instead 1080p and avoid buffering.

Additional context

How will you/everyone benefit from this feature?

Adding this features all users can know what speed is necessary to watch some video, and know if their bandwidth allow it

Here and Example (from ytmu**c vapp) S01121-10503057

cfreds commented 3 years ago

for a whole mp4, average bit-rate is simply file size / (number of minutes * 0.0075) (that covers most 360p/720p) but for HLS (and DASH), the video is a playlist of segments (not consistent in size nor duration, but maybe just the first segment to play can be used to a estimated the bit-rate using the same formula),

alternatives Any ideas? No. Each video has different bitrate. For example one video of nature 1080p will have different size of one only show words at 1080p like .ppx