How to show fps & bitrate values in statusbar for video-formats: V_VP9; V_AV1

Discussion related to "Everything" 1.5.
Post Reply
tollyboss
Posts: 18
Joined: Sun Apr 12, 2020 6:55 am

How to show fps & bitrate values in statusbar for video-formats: V_VP9; V_AV1

Post by tollyboss »

Video files with the formats -> V_VP9 ; V_AV1 doesn't show Video fps & bitrate in the statusbar
This is statusbar_selected_item_format I use = <IF:$videobitrate:," <Video: "<eval:$framerate:/1000>" fps, "<eval:$videobitrate:/1000>" kbps">
For other videos I get -> eg: Video: 25 fps, 1402kbps
After some research I came to know that these above formats don't provide separate video bitrate values & that's why it skips the part.
Therefore I changed the format to <IF:$totalbitrate:," Video: "<eval:$framerate:/1000>" fps, "<eval:$videobitrate:/1000>" kbps">
then these videos showed now at least fps value though the bitrate obviously was still 0 kbps.
However since I changed it to totalbitrate, even the audio files are showing -> Video: 0 fps, 0 kbps

Please help me by providing a better way to solve this issue.
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to show fps & bitrate values in statusbar for video-formats: V_VP9; V_AV1

Post by void »

Everything will gather frame rate from the system property:
system.video.framerate


If this fails, Everything has native support for: mkv, mp4, avi and flv.

What file type (eg: *.mov) is missing frame rate?



Everything will gather video bit rate from the system property:
system.video.encodingbitrate


If this fails, Everything has native support for: mp4, avi and flv.



Everything will calculate the total bit rate from: file-size / duration
If the file size or duration cannot be gathered, the total bit rate is gathered from the system property:
system.video.totalbitrate




Please consider the following statusbar_selected_item_format:

Only shows fps and bit rate when both properties exist:

Code: Select all

<IF:<AND:$framerate:,$videobitrate:>," Video: "<eval:$framerate:/1000>" fps, "<eval:$videobitrate:/1000>" kbps">
...and if you want total bit rate as a fall back:

Only shows fps and bit rate when both properties exist. Otherwise, fall back to total bit rate:

Code: Select all

<IF:<AND:$framerate:,$videobitrate:>," Video: "<eval:$framerate:/1000>" fps, "<eval:$videobitrate:/1000>" kbps",<IF:$totalbitrate:," Total Bit Rate: "<eval:$totalbitrate:/1000>" kbps">>
tollyboss
Posts: 18
Joined: Sun Apr 12, 2020 6:55 am

Re: How to show fps & bitrate values in statusbar for video-formats: V_VP9; V_AV1

Post by tollyboss »

Thank you so much.
Post Reply