Reserving 5 Mpbs bandwidth for a ~400MB file for an hour long episode?

Server Version#: 1.40.2.8395

The topic question, and why are all the “requiredBandwidths” the same? Shouldn’t they be different based on client buffer sizes?

No. The 932 kbps that you see on the video stream is its average bitrate, across the whole play duration.
The average bitrate cannot tell you how much bandwidth you need to stream the file without buffering pauses. Because video bitrate is usually not constant. It all depends on how much movement and visual detail is in a scene.
You can have a video with a very low bitrate throughout, except for one scene which has frantic motion or e.g. a high amount of grain. The bitrate will go up significantly during that one scene. But in a 1 hour video, a 3 minute scene with a high bitrate will probably not raise the average bitrate significantly, which explains the difference between average bitrate and required bandwidth.
And that one scene will dictate the value of “required bandwidth” to stream the whole video.
And it’s totally possible that the bitrate of that one scene is high enough that even the largest network buffer doesn’t help to reduce the required bandwidth. So the numbers are all identical.

case in point: Tatami Galaxy (2010) has a rather plain drawing style, so the average bitrate is rather low.
But it has an intro which is stylized/filtered real video with constant fast movement and also a credits sequence with rather fast animation with rapid sweeps, zooms etc.
You can clearly make out both the intro and the credits on this graph:


Both intro and credits sequences are up on YT, so you can see what I am talking about.

Thanks @OttoKerner, this is very helpful. You have explained some of this to me before, but the visual is very helpful.

I’m usually working with H265 video. Do you know of a cheap/free tool that shows the same thing for HEVC? – Never mind. Found FFBiterateViewer.

I did have another file in the series that was still H264 and came up with the image below (file size is 1.28GB and requiredBandwidths is pretty much 8095. I was guessing it was probably the intro as well on this series and that was confirmed:

If I wasn’t so upstream constrained, I wouldn’t care about the bandwidth reservations, but it’s just hard to watch these low average bitrate videos reserving so much bandwidth (I understand the reasons).

I’m almost starting to wonder if I should increase the bandwidth limit in Plex beyond my actual upload bandwidth limit. This would allow for these requiredBandwidth spikes, which most likely don’t all occur at the same time across multiple user streams.

Thanks again, but one more question along this topic. Another episode has no “requiredBandwidths” in the XML. I’ve tried to re-“Analyze” but it only quickly flashes the wand-with-stars icon. Is this normal?:

<Media id="475474" duration="3563088" bitrate="776" width="1280" height="720" aspectRatio="1.78" audioChannels="2" audioCodec="aac" videoCodec="hevc" videoResolution="720" container="mkv" audioProfile="lc" videoProfile="main 10">

<Part accessible="1" exists="1" id="543559" key="/library/parts/543559/1717793900/file.mkv" duration="3563088" file="{removed for privacy}\Call the Midwife\Season 03\Call the Midwife - S03E07 - Episode 7.mkv" size="345658549" audioProfile="lc" container="mkv" indexes="sd" videoProfile="main 10">

<Stream id="857152" streamType="1" default="1" codec="hevc" index="0" bitrate="776" bitDepth="10" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="720" codedWidth="1280" colorPrimaries="bt709" colorRange="tv" colorSpace="bt709" colorTrc="bt709" frameRate="49.785" height="720" level="120" profile="main 10" refFrames="1" width="1280" displayTitle="720p (HEVC Main 10)" extendedDisplayTitle="720p (HEVC Main 10)"> </Stream>

<Stream id="857153" streamType="2" selected="1" default="1" codec="aac" index="1" channels="2" bitrate="160" language="English" languageTag="en" languageCode="eng" audioChannelLayout="stereo" profile="lc" samplingRate="48000" title="Stereo" displayTitle="English (AAC Stereo)" extendedDisplayTitle="Stereo (English AAC)"> </Stream>

</Part>

</Media>

<Guid id="imdb://tt3254364"/>

<Guid id="tmdb://972073"/>

<Guid id="tvdb://4776883"/>

<Rating image="themoviedb://image.rating" value="6.5" type="audience"/>

<Director id="205066" filter="director=205066" tag="Minkie Spiro" tagKey="5e1635442d4d84003e490c56" thumb="https://metadata-static.plex.tv/3/people/3e4242b1f3466eb23609e3f3ecbfa5f6.jpg"/>

<Role id="161913" filter="actor=161913" tag="Vanessa Redgrave" tagKey="5d776828999c64001ec2ccc8" role="Jennifer Worth (voice)" thumb="https://metadata-static.plex.tv/7/people/7e389ef2e307bf2dd05187de8516e9d9.jpg"/>

<Role id="204169" filter="actor=204169" tag="Helen George" tagKey="5d77689151dd69001fe0e22c" role="Trixie Franklin" thumb="https://metadata-static.plex.tv/1/people/17da32d39af3d7275511718a1c13e150.jpg"/>

<Role id="190357" filter="actor=190357" tag="Jessica Raine" tagKey="5d7768467e9a3c0020c6fe35" role="Jenny Lee" thumb="https://metadata-static.plex.tv/4/people/42c73332fab43c8a8e52ec6991f2d8f4.jpg"/>

<Role id="154860" filter="actor=154860" tag="Jenny Agutter" tagKey="5d776828880197001ec90e93" role="Sister Julienne" thumb="https://metadata-static.plex.tv/5/people/547c6dba19c3ca88ed1e8572372825b9.jpg"/>

<Role id="169391" filter="actor=169391" tag="Judy Parfitt" tagKey="5d77682ee6d55c002040bc18" role="Sister Monica Joan" thumb="https://metadata-static.plex.tv/a/people/aee76d3246aee6a361d40cb7c5a3709b.jpg"/>

<Role id="285700" filter="actor=285700" tag="Bryony Hannah" tagKey="5d7768693ab0e7001f500910" role="Cynthia Miller" thumb="https://metadata-static.plex.tv/people/5d7768693ab0e7001f500910.jpg"/>

<Role id="162780" filter="actor=162780" tag="Pam Ferris" tagKey="5d776827103a2d001f5645ce" role="Sister Evangelina" thumb="https://metadata-static.plex.tv/9/people/975031667ebd0ae5ae0caee1a1dae883.jpg"/>

<Role id="204173" filter="actor=204173" tag="Laura Main" tagKey="5d776a5c7a53e9001e702f93" role="Shelagh 'Sister Bernadette' Turner" thumb="https://metadata-static.plex.tv/9/people/9c1dbd2fc5059113ec7093ec7d999a0f.jpg"/>

<Role id="204171" filter="actor=204171" tag="Cliff Parisi" tagKey="5d7768283c3c2a001fbcb6b8" role="Fred Burkle" thumb="https://metadata-static.plex.tv/people/5d7768283c3c2a001fbcb6b8.jpg"/>

<Role id="202593" filter="actor=202593" tag="Ben Caplan" tagKey="5d77684f54c0f0001f306325" role="PC Peter Noakes" thumb="https://metadata-static.plex.tv/people/5d77684f54c0f0001f306325.jpg"/>

<Role id="215330" filter="actor=215330" tag="Emerald Fennell" tagKey="5d7768fd96b655001fdc7369" role="Patsy Mount" thumb="https://metadata-static.plex.tv/5/people/5ee6b026b60e06fc25a48c7477cd7119.jpg"/>

<Role id="247422" filter="actor=247422" tag="Victoria Yeates" tagKey="5d9f3cb0dfd12800208a9579" role="Sister Winifred" thumb="https://metadata-static.plex.tv/b/people/bbb9cf42fa9c008964d0430693981d71.jpg"/>

<Role id="168726" filter="actor=168726" tag="Miranda Hart" tagKey="5d7768342ec6b5001f6bbd99" role="Chummy Noakes" thumb="https://metadata-static.plex.tv/f/people/fdc03bab04ad2ffcae168f16dd180274.jpg"/>

<Role id="471418" filter="actor=471418" tag="Max Macmillan" tagKey="5e7e3e5da7294800415d049e" role="Timothy Turner" thumb="https://metadata-static.plex.tv/9/people/9a4c28b0852d3f49de8a1022aee2a388.jpg"/>

<Role id="204170" filter="actor=204170" tag="Stephen McGann" tagKey="5d7768e0fb0d55001f51b92a" role="Patrick Turner" thumb="https://metadata-static.plex.tv/people/5d7768e0fb0d55001f51b92a.jpg"/>

<Role id="424599" filter="actor=424599" tag="Jack Ashton" tagKey="5d77696d7a53e9001e6e61e1" role="Tom Hereward" thumb="https://metadata-static.plex.tv/1/people/1f48fced343d65e1d941bf030c74f63d.jpg"/>

<Role id="204187" filter="actor=204187" tag="Sophie Rundle" tagKey="5d776887d11dd30020227490" role="Pamela Saint" thumb="https://metadata-static.plex.tv/c/people/c6f293566a491d765abb80d73be3bed1.jpg"/>

<Role id="162401" filter="actor=162401" tag="Cheryl Campbell" tagKey="5d776833999c64001ec2ef65" role="Lady Browne" thumb="https://metadata-static.plex.tv/people/5d776833999c64001ec2ef65.jpg"/>

<Role id="496988" filter="actor=496988" tag="Gethin Anthony" tagKey="5d7768682e80df001ebe33b8" role="George Saint" thumb="https://metadata-static.plex.tv/people/5d7768682e80df001ebe33b8.jpg"/>

<Role id="337918" filter="actor=337918" tag="Jenna Russell" tagKey="5d776a8c7a53e9001e708595" role="Sister Morgan" thumb="https://metadata-static.plex.tv/4/people/4bc165e494aa1e7d6b5c66a3f20043ce.jpg"/>

<Role id="215101" filter="actor=215101" tag="Emily Taaffe" tagKey="5d77689796b655001fdbc3b3" role="Faye Rawle" thumb="https://metadata-static.plex.tv/people/5d77689796b655001fdbc3b3.jpg"/>

<Role id="174297" filter="actor=174297" tag="Tom Brittney" tagKey="5d776c417a53e9001e73e5a0" role="Jack Rawle" thumb="https://metadata-static.plex.tv/people/5d776c417a53e9001e73e5a0.jpg"/>

<Role id="471433" filter="actor=471433" tag="Sherry Baines" tagKey="657306150016805e80d83e3c" role="Mrs. Litchcraft" thumb="https://metadata-static.plex.tv/e/people/e908f2fa5563980ac15e7604ed50f52b.jpg"/>

<Marker final="1" id="14351" type="credits" startTimeOffset="3534779" endTimeOffset="3563088">

<Attributes id="14351" version="4"/>

</Marker>

<Marker id="14351" type="intro" startTimeOffset="1114" endTimeOffset="23488">

<Attributes id="14351"/>

</Marker>

<Extras size="0"> </Extras>

<Related> </Related>

</Video>

</MediaContainer>

Deep analysis is only performed as a scheduled task, so make sure you didn’t turn off that task in the preferences.
If you did not, and this file is already longer on your server, then it might be that the analysis is failing/aborting for some reason. It might happen on files from the DVR, as these can be damaged due to transmission disturbances.

1 Like

Oh, didn’t realize there was the “Analyze” option and also an “upgrade media analysis” and that they were different. Thank you.

I’m using WebTools-NG to run the “Upgrade Media Analysis” now. Hoping that is the same thing as the scheduled task.

The file isn’t a DVR, so it must be the needing the deep analysis.

The Deep Analysis fixed the XML.

Learn something new everyday.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.