Viewing film lengths from the folder level, can it be done?

It would be possible to move the files up a level, of course, and abandon the folders, but i prefer to have it that way. Not only it looks better (imo), but there are also sometimes films that come in two parts, or with extra files, so i like to have only one folder per film. If it's possible somehow using an evaluator or small script, to "look" into the folders and show a time column, that would be great.

Should it be something like this, adjusted for total duration?

FolderBitrate (Columns with average bitrates for video files in folders)

Have you tried?

DurationAV (Duration columns for folders)

2 Likes

That's exactly what i was looking for. The toggle option is also very useful, it doesn't have to be on all the time. There's a couple of 00:00 in the folder, but that's completely ok. I can engage the format lock and enter those folders to get the info. Thanks!

Using this script, i just found that in at least one case the AVI file reports a false length (almost 8 hours, where maybe 90 minutes would be correct). However, it's not caused by the script. The tool tip shows the very same value.

Copying the video into a modern container like .mp4 should fix this.

1 Like

Using FFmpeg i suppose? I never tried that so far. Thanks!

Or avidemux.

1 Like

Thanks!

1 Like

Have you tried checking if MediaInfo shows the correct duration in the Video stream (not in the General section)?

Not yet, but i fetched DOpusScriptingExtensions.msi.zip and MediaInfo++0.9.3(1).opusscriptinstall to give it a try, but i still try to figure out how to open the main window.

MediaInfo++ CONFIG

Ok, thanks, Hardkorn. @errante, now 1:51:47 looks more like it (as opposed to >9 hours). Cool.

A bit off topic, but honestly I didn't think running a command to configure columns would become an issue.
The only thing left to do would be to hijack the About button and make it run CONFIG when clicked. @abr would that work for you?

Sorry, what about button do you mean?

The one in the Script Management window.

This one (with the "i")? How would i edit it?

grafik

Yes, that one.
No, you can't enable it.
I was talking about enabling it in a future release.

Ok, i see. As for the script, i have only enabled Duration String so far, as i'm only a consumer of films, rather than doing more sophisticated stuff. Thank you.