Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

Original
21
Become a Fan
8.4

Description:
Time is VLC Extension that displays running time on the screen in a playing video.
(Extension script "time_ext.lua" + Interface script "time_intf.lua")
Features:
- supported tags: [E], [Efps], [D], [R], [T], [O], [P], [n], [_];
- 9 possible positions on the screen;
- elapsed time with milliseconds;
- playback speed rate taken into account for duration time;

Time v3.1+ (intf)
Simple instructions:
1) "time_ext.lua" > Copy the VLC Extension Lua script file into \lua\extensions\ folder;
2) "time_intf.lua" > Copy the VLC Interface Lua script file into \lua\intf\ folder;
3) Start the Extension in VLC menu and configure the Time interface to your liking:
- Windows/Linux: "View > Time v3.x (intf)";
- Mac OS: "Vlc > Extensions > Time v3.x (intf)".

Alternative activation of the Interface script:
* The Interface script can be activated from the CLI (batch script or desktop shortcut icon):
vlc.exe --extraintf=luaintf --lua-intf=time_intf
* VLC preferences for automatic activation of the Interface script:
Tools > Preferences > Show settings=All > Interface >
> Main interfaces: Extra interface modules [luaintf]
> Main interfaces > Lua: Lua interface

Lua 5.1! like in VLC-32bit for Windows (later I will fix it for Lua 5.2/5.3)
INSTALLATION location \lua\extensions\ for an Extension script (Create directory if it does not exist! Then Interface script in \lua\intf\):
* Windows (all users): %ProgramFiles%\VideoLAN\VLC\lua\extensions\
* Windows (current user): %APPDATA%\VLC\lua\extensions\
* Linux (all users): /usr/lib/vlc/lua/extensions/
* Linux (current user): ~/.local/share/vlc/lua/extensions/
* Mac OS X (all users): /Applications/VLC.app/Contents/MacOS/share/lua/extensions/
* Mac OS X (current user): /Users/%your_name%/Library/Application Support/org.videolan.vlc/lua/extensions/

Forum: https://forum.videolan.org/viewtopic.php?f=29&t=97639
Last changelog:

v3.2 (intf) (27.8.2018)

- option to disable milliseconds in elapsed time
- option to show system/ending time in "h:m" format


Ratings & Comments

239 Comments

brownie

I downloaded Time v3.2, followed all the instructions and on VLC I see that the extension is loaded but there is no way to make it work. I use "VLC 3.0.18 Vetinari" on Dell OS Windows 10 Pro/21H2/19044.2846 with Intel i7 processor Has anyone had the same problem and solved it? Thank you

dadin852

9 [BUG] There is offset error between real time and displayed time if I use slider to adjust time!

dadin852

9 [BUG] There is offset error between real time and displayed time if I use slider to adjust time!

dadin852

8 8 great

dadin852

8 8 great

dadin852

[BUG] There is offset error between real time and displayed time if I use slider to adjust time!

dadin852

[BUG] There is offset error between real time and displayed time if I use slider to adjust time!

pdpino

10 Great plugin!! Thanks for your work! Is there a public repository to send contributions (e.g. github)? I modified the code to allow setting a custom time-start-offset to skip unwanted intros. For example if start-offset = 15 seconds --> when the video is at 01:37, time elapsed shown is 01:22. If anyone is interested in this, I'd be happy to share it with the community

tothebin

9 Excellent plug-in, I use it daily. I do a lot of work with subtitles and find myself converting H:M:S.MS to Seconds. Is there a way to get the output directly in seconds.milliseconds? I've never programmed in Lua, but think I could manage an edit. Also it would be really helpful if the instal package had a Readme.txt that explained what the available tags are and what they do. I searched the forums and I think I figured them all out, but it sure would have been helpful to have the Readme.

mederi

Sure it is possible to edit the script. You could try my another extension Jump to time (Previous frame). It is already able to get and convert elapsed time ("Get time"

mederi

(ampersand breaks the comment here)... ...and "Time format" buttons). There is "Help" buttton in dialog box of Time v3.2 VLC Extension, where you can find description of the extension including explanation of all tags.

awillame

Hello. I wished this would be my new favorite app, as I need to know to the millisecond information on videos. Unfortuantely it seem this plugin is not accurate: when I compare the result obtained in a better software (e.g. VSDC), I get the actual info I need: a 30fps video have every frame lasting for 33.333ms, so ms count should be: 0 33 66 99 etc. Unfortuantely this plugin give me the following count which is wrong: 0 30 63 97 etc. It is just wrong. Too bad. Good effort tough.

rhf1959

Hello, great extension. I love it. However, I can't get the time to display when I use -LZ in the commandline of my VLC shortcut. The menu shows up under View and is activated. It works fine without the -LZ. Any ideas? Regards René

rhf1959

btw am on Windows 10 running VLC 3.0.17.4 Vetinari

mmatukaites1961

Many thanks for the extention! 1) i do understand it sounds silly but anyway: there is just one thing that drives me sort of mmm... mad? when digits сhange from say xx.12 to xx.11 the whole remainig (or elapsed) time moves a tiny bit horizontally across the screen (first to the right, then back to the left) thus stealing my atttention))) any way to fix this? 2) my pattern is [D] / [R] / [T] any way to force it further down the screen by 2 or 3 lines? [_] doesnt help thanks in advance and excuse my English, its not native to me ======= milliseconds disabled, time in "h:m" format

mederi

(1) Proportional font issue? ( https://azi.medium.com/proportional-vs-monospaced-numbers-when-to-use-which-one-in-order-to-avoid-wiggling-labels-e31b1c83e4d0 ). Try to use different font, a monospace font, for subtitles/osd in vlc preferences: tools > preferences > subtitles/osd: Font (2) VLC automatically removes redundant whitespaces from text, so there is not much you can do about it. Try this: .[_].[_][D] / [R] / [T] Perhaps it is possible to use marquee sub filter (x offset, y offset, position) instead of subtitles/osd layer.

mikebosso

10 Very good and useful plugin. I have a stream in VLC from my static security camera. And problem is that the stream stops from time to time and it is very difficult to recognize if stream is running or stopped. Because I still see view from camera but it is freezed. Thanks to this plugin I see timer [E] in corner of the screen and in case of stopped stream this timer will stops also.

jonpalawan

My version 12 was 32 bit, and 16 is 64 bit. So files had to be relocated.

jonpalawan

Somehow I still have 3.0.12 on my laptop, and the time displays fine. There were special instructions for updating to 16, did I mess it up?

jonpalawan

Stopped working with version 3.0.16. The two files are where they belong. There is no time option under view.

mederi

There is a solution for [E seconds] tag. I was thinking I could make it universal to recognize various operators ( -*/). Please check a discussion with torr3 currently on the 3-rd page of comments here.

eyesongame

Very good extension. Is it possible to add time to the function [E]? Something like this: [E] 2:10:10 ---> 10:00:00 2:10:10 ---> to obtain 12:10:10 on the screen

mederi

There is a solution for [E seconds] tag. I was thinking I could make it universal to recognize various operators ( -*/). Please check a discussion with torr3 currently on the 3-rd page of comments here.

eyesongame

Thank you... :)

lifson

Excellent extension, is possible to add this value to the snapshot

Pling
0 Affiliates
Details
license GPLv2 or later
version
updated
added
downloads 24h 37
mediaviews 24h 0
pageviews 24h 157

More VLC Extensions from mederi:

txt subtitles loader
mederi
last update date: 6 years ago

Score 5.7

Jump to time Previous frame v3
mederi
last update date: 7 years ago

Score 5.7

Subtitler lite mod v1.3
mederi
last update date: 7 years ago

Score 6.4

WIP collection
mederi
last update date: 7 years ago

Score 6.8

Sampler PG
mederi
last update date: 11 years ago

Score 7.6

Volume Reset to 100
mederi
last update date: 13 years ago

Score 6.5

Other VLC Extensions:

Multiple VLC enhancments
tubh
last update date: 12 years ago

Score 4.9

TUNE IN RADIO
willyboy63
last update date: 12 years ago

Score 5.0

Etevaldo Scopel
etevaldo
last update date: 12 years ago

Score 4.7

VLsub 0.9
nonkelleo
last update date: 12 years ago

Score 4.1

IP Webcam
manonlatramee62
last update date: 12 years ago

Score 5.1

TandN Co LLC
tandnone23
last update date: 10 years ago

Score 5.7



System Tags