Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!



Share:
Notifications
Clear all

[Solved] Additional columns Bitrate, Framerate and last modified

7 Posts
2 Users
0 Likes
873 Views
(@Anonymous)
Joined: 1 second ago
Posts: 0
Topic starter  

This topic started as comment on MovieScanner page.

For completeness I pasted the original answer and comment below.

Now my answer-answer:

Well, I think squeezing is not necessary. The user just has to resize the window.

I am not sure in which programming language MovieScanner is written.

C#, Java and others offer for such scenarios built-in tables which offer everything need, including sorting defining width,.....

I would like to encourage you to add these columns.

Have to hover over every single video resolution is annoying

Thank you

Thomas

 

I need a fast overview by showing the two value above as additional columns in each line

Furthermore a (sortable) column “last modified date” should be added.

How can I achieve this?

Can this be added in the next release?

Thank you

Thomas

Reply

Thomas

 
  • Feb 13, 2022 - 4:25 AM - Author: Comment Link

    Adding additional columns is not impossible, but considering space constraints it may take some effort to squeeze it in there.
    Not to mention the updating of the reports.

    Since you’re thinking adding “framerate”, “bitrate”, and “last-modified date” columns, I’ll have to look and see how I can add those.

 


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2678
 

Hi Thomas,

thank you for the good suggestion. I've added it to my ToDo list. 👍 
It may take a little to implement, but I hope to get it done in the next few days or weeks.

😊

p.s.:

1. The tables used is very far from a standard table control as seen with most applications, and just adding a column isn't as trivial as it may seem.
2. The window size has been sized to be usable on computers with smaller screens, like 13" laptops and such. Maybe not the audience I expected, but oddly enough a large group of users.


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2678
 

p.s. my compliments on posting complete details! 👍 


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2678
 

Hi Thomas,

I've been working on your request and I was wondering if these are all really needed.
I have already implemented a FPS column, even though I have no idea what the purpose of that column may be.
Obviously, I do know what fps indicates - I just don't know the purpose when managing video files.

Bitrate may not the most useful parameter for video either, since it's quite common to use a variable bitrate (VBR).
Especially with HEVC you'll see a missing bitrate - even with ffProbe doesn't know what to do with that.
In those cases I can try to estimate a bitrate, but I have not found a reliable way to calculate this.
Total bitrate minus audio bitrate, shows for quite a few videos that the result is close, but still wrong.
Another issue is the needed column width for the bitrate - as these are commonly pretty big numbers.

 


   
ReplyQuote
(@Anonymous)
Joined: 1 second ago
Posts: 0
Topic starter  

FPS means frames per seconds. The higher the value the better the quality but the bigger the video file.

Bitrate is the  most important value indicating the quality of a video. The higher the value the better the quality.

Even VBR has an (average) bitrate.

HEVC  hast this value too! Have a look at: https://en.wikipedia.org/wiki/High_Efficiency_Video_Coding

I oftentimes re-encode huge videos to smaller ones with sufficient quality.

Toi get a better overview and compare it to other videos I need a quick overview.

ALL video editors and video players show these values for a the currently loaded video. They are very important.

What I need is a codec info for multiple videos at once.

Bitrates need not to be shown in Bytes but in KBytes per seconds. The highest value I have seen so far in real life is 20000 kbps. So 5 digits right adjusted should be sufficient.

Have a look at the MediaInfo tool. Actually its a competitor to your MovieScanner. But the handling is awful. No sorting, No window resizing, Cumbersome folder selection.,.......

Thats why I am searching for a better alternative tool

https://mediaarea.net/en/MediaInfo/Download/Windows

 

This post was modified 2 years ago 2 times by Anonymous

   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2678
 

I do know what a bitrate means and that a higher bitrate can potentially produce a higher quality.

However CBR vs VBR can produce very different quality, at a same bitrate - additionally remember all the other parameters that can be used when encoding a video.
I can produce a terrible quality with a high bitrate and a great quality with a much lower bitrate, very much depending on the encoder, encoder settings and the actual content.
So bitrate is not perse the best (or only) parameter to determine the quality of a video.

On that note:
Some sort of reference would be nice indeed of course, and (which is just as wrong) for that purpose I use the file size.

On top of that ... ffProbe will not always report a video bitrate or an average video bitrate.
You can test this yourself, with the ffprobe call I showed you before.
There is the option to right click a file and selecting "Copy Directory path to clipboard" - unfortunately there is a bug with that function (fixed in the next release).

Output (shortened):

[streams.stream.0]
...
codec_name=hevc
codec_long_name=H.265 / HEVC (High Efficiency Video Coding)
codec_type=video
...
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=N/A
...

[streams.stream.1]
...
codec_name=dts
codec_long_name=DCA (DTS Coherent Acoustics)
profile=DTS-HD MA
codec_type=audio
...
sample_rate=48000
...
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=24
...

[format]
filename=/Volumes/AllShares/Multimedia/Movies/__4K/10 Things I Hate About You (1999)/10 Things I Hate About You (1999) 2160p.mkv
nb_streams=4
nb_programs=0
format_name=matroska,webm
format_long_name=Matroska / WebM
start_time=0.000000
duration=5856.395000
size=17769326553
bit_rate=24273398
probe_score=100

 

As you can see no video or audio bitrate reported by ffProbe - except for the TOTAL (under [format]).
If these guys do not report it, then there is an extremely high chance that they do not have a way to accurately calculate or estimate the bitrate either. And the ffMPEG team has been at it for a very long time. So in this particular example, I wouldn't even know where to begin ... 

As for the bitrate listed under "format" - doing the math with other video files that do list bitrates: it really is not just as simple as Audio bitrate + Video bitrate = Total bitrate (when using regular or average bitrates). I also noticed that the total bitrate of video files with multiple audio tracks, at times gets close to the sum of Video Bitrate + all Audio bitrates
It's not filesize / duration either ... (have you noticed that not all streams are equal in length either?)
So what are we supposed to show here?

Before you say "total bitrate" - do know that you're misleading yourself when there are multiple audio tracks ... or when there are different formatted audio tracks (eg. 5.1 vs 7.1 etc).

 

Next issue 🤣 ... kByte (1000 bytes - more common for transfer rates, so I'm guessing this one) or KByte (1024 bytes)?   (source: kilobyte)
I also noticed that quite a few report in megabytes per second as well ...

All in all - it will have some impact on the design. I've tinkered with it the past 2 days now, but I'm not very pleased with the results yet ...


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2678
 

Bitrate, Framerate and last modified have been added.
You can sort by bitrate and last modified date as well.

Note: Bitrate is the total bitrate as reported by ffProbe, and can be displayed in bps, kbps or Mbps. (1000's)

Several other items have been added/updated based on request by others;

  • Added: WebM support
  • Added: Resolution sort: can be toggled between sort by “Width, Height” or “p-Value” (480p,m720p, etc)
  • Added: Framerate column
  • Added: Last Modified date column
  • Added: Total bitrate (as reported by ffProbe, which includes video and audio), in bps, kbps or Mbps
  • Added: Option to Save Window Size and Position
  • Bug fix: Windows – fixed bug with frame rate detection
  • Bug fix: SQL error with “Copy Video File Data to clipboard”
  • Changed: Date format for Last Modified to date with 4 digit year
  • Changed: Database format updated (v4) to accommodate new data
  • Changed: Filter no allows filtering by common resolutions (480p/720p/etc), exact pixels width (w), or exact pixels height (h)

 

Hope this is what you were looking for! 😉 


   
ReplyQuote
Share: