show total time of video files (SumMediaDuration)

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Debugger
Posts: 645
Joined: Thu Jan 26, 2017 11:56 am

show total time of video files (SumMediaDuration)

Post by Debugger »

After selecting multiple .mp4 (video) files, how do I show the duration (minutes, seconds) etc. in combination?
NotNull
Posts: 5769
Joined: Wed May 24, 2017 9:22 pm

Re: show total time of video files (SumMediaDuration)

Post by NotNull »

Not possible in Everything 1.4.

For Everything 1.5 see here
Debugger
Posts: 645
Joined: Thu Jan 26, 2017 11:56 am

Re: show total time of video files (SumMediaDuration)

Post by Debugger »

I use 1.5.1383a and when I select a lot of files on the list, how can I show the total time of all the videos? I need this when I want to combine many small video files when I merge a longer video.
NotNull
Posts: 5769
Joined: Wed May 24, 2017 9:22 pm

Re: show total time of video files (SumMediaDuration)

Post by NotNull »

Moved to the Everything 1.5 Alpha forum ...
therube
Posts: 5188
Joined: Thu Sep 03, 2009 6:48 pm

Re: show total time of video files (SumMediaDuration)

Post by therube »

Kind of sounds like:
$total-selection-length: (requires length indexing)
no?
tuska
Posts: 1159
Joined: Thu Jul 13, 2017 9:14 am

Re: show total time of video files (SumMediaDuration)

Post by tuska »

2Debugger

There is a solution to this in Total Commander:
- Sum the length for selected video files at the state line. Is it possible?
- Actual script (.vbs) <-- (!)

__________________________________________________________________
Windows 11 Pro (x64) Version 24H2 (OS Build 26100.3194) - 2025-02-11
TC 11.51 x64/x86 - 19.2.2025 official release | 'Everything' 1.5.0.1391a (x64)
Debugger
Posts: 645
Joined: Thu Jan 26, 2017 11:56 am

Re: show total time of video files (SumMediaDuration)

Post by Debugger »

But I want to combine multiple functions at the same time.

1. sort by Randomize

2. special regular expressions and queries as in Everything


so this will not work in TotalCommander
horst.epp
Posts: 1493
Joined: Fri Apr 04, 2014 3:24 pm

Re: show total time of video files (SumMediaDuration)

Post by horst.epp »

Debugger wrote: Tue Mar 04, 2025 12:41 pm But I want to combine multiple functions at the same time.

1. sort by Randomize

2. special regular expressions and queries as in Everything


so this will not work in TotalCommander
TC supports all special regular expressions and queries of Everything
in its search options, starting with ev: or ed:
therube
Posts: 5188
Joined: Thu Sep 03, 2009 6:48 pm

Re: show total time of video files (SumMediaDuration)

Post by therube »

I was thinking* of using Everything as an alternative to PlayTime (& or MediaInfo).

Where I could have columns like:

Code: Select all

Name | Len | Size | Format | Audio bitrate | Audio Codec | Video Bitrate | Video Codec | Resolution | FPS | Path | Date Modified | Channels | Width | Height | D-Aspect Ratio |
AI 1 1.35.  390.01   MP4       64 kbps        AAC            500 kbps       AVC            480*360    30            2024-02-01        1        480 ?   360 ?     1.333 (or 4.3)
AI 2 1.52.  460.85   AV1      128 kbps        opus           308 kbps       xvid           576*432    25            2017-01-17        2
And a statusbar like:

Code: Select all

  TotTime | SelectedTime | Rows (Selected/Tot) | Size (Selected/Tot) |
 14.46.20    03.01.43        2 / 9               746.30 MB / 3.56 GB
I suppose Everything should be able to do that.


(And then use that as a "stand-alone" -instance.

*Thinking.
But that's as far as I've gone with it, so far ;-).)
Debugger
Posts: 645
Joined: Thu Jan 26, 2017 11:56 am

Re: show total time of video files (SumMediaDuration)

Post by Debugger »

I mark 10000 files of 1-29 seconds each.



MediaInfo does not show how many minutes or hours in total.


Calculate manually anyway no one will want, too much work, and it is not difficult to make mistakes!
NotNull
Posts: 5769
Joined: Wed May 24, 2017 9:22 pm

Re: show total time of video files (SumMediaDuration)

Post by NotNull »

Second (and definitely the last) attempt:

See here.
Post Reply