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

8
Score 80.0%
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 luaextensions folder;
2) "time_intf.lua" > Copy the VLC Interface Lua script file into luaintf folder;
3) Start the Extension in VLC menu "View > Time v3.x (intf)" on Windows/Linux or "Vlc > Extensions > Time v3.x (intf)" on Mac and configure the Time interface to your liking.

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 [time_intf]

INSTALLATION location luaextensions for an Extension script (Create directory if it does not exist! Then Interface script in luaintf):
* Windows (all users): %ProgramFiles%VideoLANVLCluaextensions
* Windows (current user): %APPDATA%VLCluaextensions
* 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) 11 months ago

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

C

mederi

7 months ago

It is known that VLC is not frame accurate. The split-second jumps are better in some video formats and worse in others (like variable frame rate). The [Efps] tag just multiplies time value (returned by VLC) with the provided fps value and the result is rounded down: math.floor(et * fps). You can check/ask VLC, whether it gets better in VLC 4.

Report

bhwtuileusd

7 months ago

I cannot use it for any audio files...

Report

C

mederi

7 months ago

You can enable an audio visualization in VLC: Audio > Visualization >. You can set up visualizations in VLC preferences: Tools > Preferences > Show settings=All > Audio \ Visualizations

Report

smmaruf

8 months ago

This addon does not show in if you take a screen shot. any one plz help this

Report

C

mederi

8 months ago

You can use an external screenshot taker (like IrfanView - hotkey C on Windows).

Report

jonpalawan

9 months ago

Is there a way to alter the refresh rate? It seems to be about a quarter second.

Report

C

mederi

9 months ago

The refresh rate in the script is higher than VLC updates the time value. I think demuxers are responsible for this.

Report

jonpalawan

9 months ago

I assume the menu is "Media Playback Audio Video Subtitle Tools View Help"? I don't see anything about Time in View. I created the two folders
C:\Program Files (x86)\VideoLAN\VLC\plugins\lua\extensions
and
C:\Program Files (x86)\VideoLAN\VLC\plugins\lua\intf
and copied the files into the folders.

Report

jonpalawan

9 months ago

I put files in wrong places. Works now.

Report

gibatronic

10 months ago

How do I activate the plug-in in VLC v3?

Report

C

mederi

10 months ago

You should follow the instructions (Simple instructions 1, 2, 3) in the description here.

Report

gibatronic

10 months ago

Sorry, I should have been more specific: my problem is with step 3, there's nothing in the view menu.
But I found it now, on macOS with VLC 3 it's in a different place: VLC » Extensions » Time v3.x (intf)

Report

pascal

10 months ago

Great feature!
The text seems to be generated with the same part of vlc that renders subtitles but could it be possible to add opacity/size options ? Separate from the subtitles, so it can be more inconspicuous.

Report

C

mederi

2 months ago

Please find my recent reply to frob.

Report

pascal

2 months ago

Thank you very much for getting back to me after all these months, I'll check it out.
: )

Report

C

mederi

10 months ago

I think a marquee subfilter could be used to display an osd text from a Lua script.

Report

pascal

10 months ago

9 +

Report

artistmatej

11 months ago

9 +Thank you very much! Now I can view FPS of my animation.

Report

Belle333Black

11 months ago

I noticed it doesn't show up on screencaps which was the main reason why I needed this. Is there anyway to fix that?

Report

C

mederi

11 months ago

Screenshot (Video > Take Snapshot (Shift+s))?

Report

smmaruf

8 months ago

I want to have the time plugins in the screenshot.

Report

TWPotter007

11 months ago

is there any way to poll (call) this feature from another app while the video is running? This would allow me to see for a particular viewer where they are during playback?

Report

khant45

11 months ago

9 Useful

Report

C

mederi

11 months ago

Thanks

Report

GKidM-A-A-DCity

11 months ago

9 +

Report

v3.2 (intf) (27.8.2018) 11 months ago

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

v3.1 (intf) (19.8.2018) 11 months 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 1 year ago

- fixed time in microseconds for VLC 3;

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

- fixed several bugs in Interface script;

old (before changes on this portal in September 2016) 7 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
12
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 Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
GPLv2 or later
version
updated Sep 01 2018
added Mar 19 2012
downloads 24h
49
page views 24h 300
System Tags addon gplv2-later