(2017-11-06, 08:44)FernetMenta Wrote: (2017-11-06, 08:22)Hitcher Wrote: @Fernet
Code:
VideoPlayer.videobitrate
doesn't return anything for me in v18. Also, isn't the video bitrate the second number (M/bs:nn.nn) in the second line of the ProcessInfo screen?
VideoPlayer.videobitrate is metadata belonging to the stream. If it is not set, we don't get anything from demuxer. What you see on ProcessInfo is NOT metadata, it is a measured avaraged value.
I won't mix metadata with process parameters. If you do, you'll get the same crap we had on the old screen. Some values but nobdy on the planet who knows what they really mean.
I'm running Kodi 18.9 on Odroid-N2 with CoreELEC.
Videobitrate is presented only for mpeg-4 content. Is not presented for h264 nor h265.
Audiobitrate is presented for DTS and AC3 audio streams but is not presented for EAC3, Opus and True HD (this is only what I was able to confirm)
Of course all those streams are having "Bit Rate" set so the statement that it is not displayed because it is missing isn't a true.
I'm using the following label in DialogPlayerProcessInfo.xml:
<label fallback="1446">$INFO[Player.Process(videowidth),,x]$INFO[Player.Process(videoheight),, px]$INFO[Player.Process(videodar),$COMMA , AR]$INFO[Player.Process(videofps),$COMMA , FPS]$INFO[VideoPlayer.VideoBitrate,$COMMA , kb/s]</label>
<label fallback="1446">$INFO[Player.Process(audiodecoder)]$INFO[Player.Process(audiobitspersample),$COMMA , bit]$INFO[Player.Process(audiosamplerate),$COMMA , Hz]$INFO[VideoPlayer.AudioBitrate,$COMMA , kb/s]</label>
Interesting result that for some stream types bitrate is presented and for other type it isn't.