-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans (2) .- Knowledge Base  . 

Time v2.1

  

VLC Extension

Score 53%
Time v2.1
zoom


Time v2.1
zoom


Forum:  Link
Downloads:  58177
Submitted:  Mar 19 2012
Updated:  Sep 5 2016

Description:

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

Time v2.1 (intf)
"time_ext.lua" > Put the VLC Extension Lua script file in \lua\extensions\ folder
"looper_intf.lua" > Put the VLC Interface Lua script file in \lua\intf\ folder
** The Interface script can be activated from the CLI (batch script or desktop shortcut icon):
vlc.exe --extraintf=luaintf --lua-intf=looper_intf
** Otherwise the Extension script (First run: "Time > SETTINGS" dialog box) will help you to set appropriate VLC preferences for automatic activation of the Interface script or you can do it manually in VLC Preferences:
Tools > Preferences > Show settings=All > Interface \
\ Main interfaces: Extra interface modules [luaintf]
\ Main interfaces \ Lua: Lua interface [looper_intf]
Then use the Extension ("Time" dialog box) to control the active Interface script.
The installed Extension is available in VLC menu "View" or "Vlc > Extensions" on Mac OS X.

Time v1.0
The extension works in VLC-2.0.x. VLC archive: http://download.videolan.org/vlc/
Time is VLC extension (extension script "time.lua") that displays running time on the screen in a playing video.
Lite version of this extension - Time (lite): http://addons.videolan.org/content/show.php?content=149619

DOWNLOAD:
- click the download button below
- save the .zip file
INSTALLATION:
- extract (unzip) the .lua file and put it in VLC subdir \lua\extensions\, by default:
* 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/
(create directories if they don't exist)
- Restart VLC or just reload extensions (Tools > Plugins and extensions > Active Extensions tab: Reload extensions button).
USAGE:
Then you simply start the extension in VLC menu "View" or "Vlc > Extensions" on Mac OS X.

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




Changelog:

v2.1 (intf) (5.9.2016) 58019
- fixed several bugs in Interface script

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 time;




LicenseGPL
(time.zip)
Send to a friend
Subscribe
Other  Content  from mederi
Report inappropriate content



goto page:  1  2  3  4 

-

 how to use?

 
 by polluted85 on: Jun 6 2012
 
Score 50%

hi i am having trouble using this after creating the extensions folder in my Mac OS folder as directed and moving the .lua file in there

i go to > extensions > time

then a window pops out
what do i select?

i have a list of videos in the playlist. i want to find out total playlist time, to see what i have ahead of me to watch.


Reply to this

-

 how to use?

 
 by polluted85 on: Jun 6 2012
 
Score 50%

hi i am having trouble using this after creating the extensions folder in my Mac OS folder as directed and moving the .lua file in there

i go to > extensions > time

then a window pops out
what do i select?

i have a list of videos in the playlist. i want to find out total playlist time, to see what i have ahead of me to watch.


Reply to this

-

 Update pending

 
 by mederi on: Jun 8 2012
 
Score 50%

[PLD] tag added by Ashada:
http://forum.videolan.org/viewtopic.php?f=29&t=97639&start=20#p341783
Playlist handling often cause crash of VLC for example if you add fresh files into playlist while the extension is active. Total playlist duration would also need total elapsed time.


Reply to this

-

 Needs fractional time display

 
 by AlexisBV on: Aug 13 2012
 
Score 50%

This currently does not seem to display more info than the stock VLC GUI already displays.. in order to be more useful, the user should be able to select fractional time display, or frames.

(for example 00:01.83, or 55 frames, and so on)


Reply to this

-
.

 Re: Needs fractional time display

 
 by mederi on: Aug 23 2012
 
Score 50%

Thank you for your ideas. I would like to publish your instructions how to alter the script to see elapsed time with miliseconds:
Quote:
- remove the math.floor() from the elapsedSecond definition (line 91)
- change the elapsed_time string format to "%02d:%02d:%06.3f" (line 115)


Reply to this

-

 Re: Re: Needs fractional time display

 
 by wthopman on: Aug 25 2012
 
Score 50%

For most jobs with video material, just the frame- number would be just as helpful.


Reply to this

-
.

 Re: Re: Re: Needs fractional time display

 
 by mederi on: Sep 3 2012
 
Score 50%

http://forum.videolan.org/viewtopic.php?f=29&t=103803
Meanwhile here is a patch for extended [E] tag for manual input of constant fps information to convert time to frames, e.g. [E23.976]. Tip: [E1] means time in seconds.
There is also a new tag [N] - new/next line.
- insert following line before line 115>local elapsed_time = string.format(... Quote:
local et = elapsed_time
- insert following lines right before line 125>return osd_output Quote:
local osd_output = string.gsub(osd_output, "%[N%]", "\n")
local fps=tonumber(string.match(osd_output,"%[E(.-)%]"))
if fps~=nil then osd_output = string.gsub(osd_output, "%[E.-%]", math.floor(et * fps)) end


Reply to this

-

 Re: Re: Needs fractional time display

 
 by Nietha on: Apr 3 2014
 
Score 50%

for people that are not programmers like me and need explicit instructions... change line 91 to

Quote:
local elapsedSecond = elapsed_time % 60


Reply to this

-

 Elapsed/Remaining/Total

 
 by jayaprakash on: Dec 29 2012
 
Score 50%

Good...
How can display the play time of video/music file on the screen in the format of Elapsed/Remaining/Total.
And have to adjust the display font and its size.
Is it possible?


Reply to this

-

 Re: Elapsed/Remaining/Total

 
 by mederi on: Dec 31 2012
 
Score 50%

Please, press HELP button and read red and yellow parts.
Then just write some new time pattern "[E]/[R]/[D]" or just edit the predefined one. You can also edit the extension script to add some new predefined pattern in the drop-down list and/or to set your favourite pattern as the default one.
To change the look of time, change subtitle settings in VLC preferences.
This extension shows time in a played video. Some future version of this extension can show time also for music files in the dialog box as a video is not available.


Reply to this

-

 Re: Re: Elapsed/Remaining/Total

 
 by jayaprakash on: Jan 1 2013
 
Score 50%

Thank you very much!
I tried as you guided.
It is working very well.


Reply to this

-

 SHOW THE TIME ONLY IN SECONDS

 
 by jayaprakash on: Jan 6 2013
 
Score 50%

May I know the setting to show the time only in seconds?
Because to create custom playlist it requires time only in seconds. If it could get the time in seconds, the process can be make little bit faster.


Reply to this

-

 Re: SHOW THE TIME ONLY IN SECONDS

 
 by mederi on: Jan 7 2013
 
Score 50%

Please read carefully my posts above here to add some extra lines of code in the script. Then [E1] tag will be elapsed time in seconds. To edit the script you can use simple text editor like Notepad in Windows, but I recommend you to use Notepad++ that you can find on Internet.


Reply to this

goto page:  1  2  3  4 

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team