Media validator shows issue in bitrate for i-frame playlist

Media validator shows an issue for iframe playlist alone - "Measured peak bitrate compared to master playlist declared value exceeds error tolerance" It shows a difference of 2k%. We are calculating the bitrate for the iframe layer as 15% of the respective video layer. But from the validator it shows a much higher max rate and shows the bitrate as invalid.

Can anyone please help us to understand how the validator calculates the bitrate for iframe layer and also how the %Diff value is calculated?

Thanks in advance.

The bit rate is computed as detailed in section 4.1 of the spec. That is: "The segment bit rate of a Media Segment is the size of the Media Segment divided by its EXTINF duration." and "The peak segment bit rate of a Media Playlist is the largest bit rate of any contiguous set of segments whose total duration is between 0.5 times the Target Duration and 1.5 times the Target Duration plus 0.5 seconds (since media segments may exceed the Target Duration by up to 0.5 seconds)."

Unfortunately, the JSON output does not record the bit rates of each segment. (Perhaps it should, feel free to submit an enhancement request.)

The JSON does record the peak and average for each discontinuity domain. This may allow you to identify a particular domain that is out of line.

I suspect the duration or the actual length of the data may be wrong. The I-frame entries should only be referencing the I-frame itself, not any other data.

If you can't figure it outt, please submit a bug, with a url to the stream. The stream can be encrypted, as we won't need to play the video to figure this out.

Media validator shows issue in bitrate for i-frame playlist
 
 
Q