Time v3.2 Original

VLC Extensions

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

11
8 .3
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) 2 years ago

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

swishy27

3 months ago

Can anyone show me how to edit the script for version 3.2 to display the time in 12 hour format (AM/PM) instead of the current 24 hour format for "[T] actual time" and "[O] time when video will be over"?

Report

C

mederi

3 months ago

Answered on the forum.

Report

swishy27

3 months ago

Much appreciated mederi.

Report

10

giannife

4 months ago

10 10 the best

Report

10

giannife

4 months ago

any chance to add an improvement by saving the time to a log file? It would be intersting to have a shortcut key that saves the elapsed time, this could be helpful for note taking, or for creating cue files for splitting

Report

C

mederi

4 months ago

Hotkeys are not available in current VLC.

Report

C

mederi

4 months ago

in Lua scripts

Report

10

giannife

4 months ago

Even without a button, it should be very helpful to be able to log the time to a file, it was easy on the old extension (not sure about the new standard). After that I can work with something like autohotkey.

Report

C

mederi

4 months ago

You can have a button in a dialog box window to log the time in a file. I can provide that piece of code for another VLC Extension: Jump to time (Previous frame). Then you can try to use Autohotkey helper to press that button. I have already instructed a user in comments how to copy the time to clipboard and so it can go to a file, too. If you are interested then write a brief comment on Jump to time page.

Report

10

fengerzh

4 months ago

10 10 the best

Report

adambishop

6 months ago

I left a message on the forum...not sure if you saw it. Love this plugin. Can you change the Elapsed_Time [E] to reflect changes in the playback speed of videos? Or make another entry [E2] or something? I've been modifying the file for my purposes, but that would be a big help for future versions or even now when I need to download this plugin for another computer. Thanks again.

Report

C

mederi

5 months ago

O.K., answered on the forum.

Report

adrian2020

6 months ago

Hello. It doesn't work on Manjaro Gnome. I did everything right. What can i do ? In other distros works very well. Can you help me please ? Thanks

Report

C

mederi

6 months ago

Lua 5.1? Check the discussion with bpinto in comments here.

Report

adrian2020

6 months ago

Sorry, i don't understand exactly what i have read there. Can you please explain step by step, to a noob, what i have to edit and what i have to add to that file. Thanks

Report

C

mederi

5 months ago

If it is the Lua interpreter version problem, then you could try to fix the script ("load" instead of "loadstring") or better use Lua 5.1 library like in VLC for Windows (5.1.4). I am not Linux user, so do not ask me how to. Try to check the Lua version. Please try to find a solution and let me know it.

Report

adrian2020

5 months ago

I've installed vlc from snap and made a lua folder and copied extension in this folder and it works now. Previous i had the latest vlc from comunity store. So it was version problem maybe. I'm happy that it works now. I'm wondering if it is possible to change the size of the font, different than subtitle. Thank you!

Report

C

mederi

5 months ago

There is marquee filter workaround. Please check older comments.

Report

big-apple

6 months ago

Is it possible to format the colour, size, opacity and background of the output without affecting the subtitles?

Report

C

mederi

6 months ago

You could use marquee filter in VLC. Please find my reply to frob (on the next page of older comments here).

Report

big-apple

6 months ago

Regretfully I can not seem to load the older comments on Safari/Chrome or Firefox, if it is not to much effort could you please post it again?

Thanks in advance for your help.

Report

C

mederi

6 months ago

It seems there is currently an issue with comments on this portal. Try the direct link in address bar in your browser:
https://addons.videolan.org/p/1154032/show/page/2
or
https://www.pling.com/p/1154032/show/page/2

Report

kiranzykey

10 months ago

Is it possible to add the extension while using Version 3.0.8 Vetinari ?

Report

C

mederi

10 months ago

Yes, just follow the instructions 1-2-3.

Report

9

sldgehammer

10 months ago

9 9 excellent

Report

v3.2 (intf) (27.8.2018) 2 years ago

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

v3.1 (intf) (19.8.2018) 2 years ago

- fixed numeric locale issue on Mac
- VLC version detection so the script works also in older VLC versions
- auto-format time (s > m:s > h:m:s > D/h:m:s)
- percentage playback position tag [P]
- always show "Settings" dialog box for disabled interface script
- respect other enabled VLC interfaces when saving settings
- "Settings" button in "Control panel" dialog box
- ">STOPPED<" status in title bar
- "looper_intf.lua" script file renamed to "time_intf.lua"

v3.0 (intf) (11.2.2018) 66127 2 years ago

- fixed time in microseconds for VLC 3;

v2.1 (intf) (5.9.2016) 58019 3 years ago

- fixed several bugs in Interface script;

old (before changes on this portal in September 2016) 2 years ago

v2.0 (intf) (28.4.2016) 53798
- resurrection attempt;
- Interface script "looper_intf.lua" + Extension script "time_ext.lua";
- new tags [Efps]-elapsed frames (et*fps), [n]-name, [_]-new/next line;
- elapsed time with milliseconds;
- playback speed rate taken into account for duration time;

v1.0 (19.3.2012)
- works in VLC 2.0.x;
- supported tags: [E]-elapsed time, [D]-duration, [R]-remaining time, [T]-system time, [O]-over/ending time;

12345678910
132
product-maker giannife May 15 2020 10 the best
10 the best
product-maker fengerzh May 03 2020 10 the best
10 the best
product-maker sldgehammer Oct 25 2019 9 excellent
9 excellent
product-maker pascal Sep 28 2018 9 excellent
+
product-maker artistmatej Sep 12 2018 9 excellent
+Thank you very much! Now I can view FPS of my animation.
product-maker khant45 Sep 05 2018 9 excellent
Useful
product-maker GKidM-A-A-DCity Aug 27 2018 9 excellent
+
product-maker neokix Feb 18 2018 9 excellent
Love this script. I'm glad I can use it with VLC v3.0!!
product-maker NeM Feb 12 2018 9 excellent
Excellent extension
product-maker dimitrovden Jul 09 2017 9 excellent
product-maker Storm77 Apr 12 2017 9 excellent
product-maker ipers Feb 26 2017 9 excellent
product-maker CPaddict Dec 20 2016 9 excellent
product-maker Safranriz Oct 05 2016 9 excellent
product-maker 3demax Apr 08 2013 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
giannife
May 17 2020
fengerzh
May 03 2020
yaanu
Sep 28 2019
lukas089
Apr 24 2019
jaramazovic
Feb 14 2019
praneet
Dec 28 2018
engdarkrosealchemist
Nov 13 2018
gu5tavo
Nov 09 2018
artistmatej
Sep 12 2018
arnoldwaswaiga
May 19 2018
neokix
Feb 18 2018
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
GPLv2 or later
version
updated Sep 01 2018
added Mar 19 2012
downloads 24h
46
mediaviews 24h 0
pageviews 24h 305
System Tags addon gplv2-later