Contact Us

Show both current and end times in VirtualDub’s status bar

Reading Time: 2 min

Tags:  Windows Applications

By default, VirtualDub shows only the current time in its status bar.

The original VirtualDub status bar

info: Please note that by current time or current-frame, I mean the current-time and current-frame as determined by the position of VirtualDub’s play head

VirtualDub’s status bar can be configured using a format string.  You can set it to show the end time of the video as well. It can also show where the current frame lies in the full uncut source video. This becomes relevant only after you have cut out some portions of the video. Otherwise, both the current time and the source time would be the same. VirtualDub calls this feature timeline format.

Go to Options > Preferences > Timeline

VirtualDub Preferences with timeline option selected

Most of the formatting options are explained in the window itself.

For example:

The numbers between the % and the format character are for specifying padding. The first number, o in the default format string, represents the padding character. VirtualDub supports padding with zeros and spaces. The second number represents the padding width. For example, if you use %02m as the format string, 8 minutes will be shown as 08 since 8 has only one digit and we had asked for a width of 2. However, 18 minutes will be shown as 18 itself since it has two digits, the same as the width.

In the end, I ended up using this format stringFrame %f <%h:%02m:%02s> <%>h:%>02m:%>02s> [%c] <%H:%02M:%02S>. Here is the result.

VirtualdubTimeline
  1. Current Time
  2. Total Video Length
  3. Current Frame in Source

Share