Jump to time Previous frame v3 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

1
6.0
Description:

Jump to time (Previous frame) is VLC Extension that can:
- jump to a desired time in a played media;
- jump forward/backward by a desired time length;
- split-second jumps imitating previous/next frame;*
- show actual playback time with milliseconds;
- use time longer than 24 hours;
- repeat a desired scene again and again (A-loop);
- convert time.
It cannot make a cup of coffee for you :-)

Automatic DOWNLOAD & INSTALLATION of the extension is now (VLC-2.2) available through the Addons Manager in VLC menu (Tools > Plugins and extensions).

Manual DOWNLOAD & INSTALLATION:
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%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/
(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 by going to the "View" menu or "Vlc > Extensions" on Mac OS X.
Last changelog:

v3.0 (11.2.2018) 33721 1 year ago

- fixed time in microseconds for VLC 3;
- set 1/FPS as default value;

miguelele

2 months ago

Hi! Great extension to fill the precision gap in VLC, but I do not konw if it can be used with the http control with "seek".

Currently I am using this url schema: "http://:1234@127.0.0.1:8080/requests/status.json?command=seek&val=160".

The value (160 in my example) must be an integer so I can only go to exact seconds.

Regards.

Report

jdiazmeco

2 months ago

Hi! Love the work. Very useful. Could be possible to make that when "Get time" is clicked, it's also copied to the clipboard in osx? Thanks.

Report

C

mederi

2 months ago

I am Windows user, but it should be possible. Try following command line in your osx:
echo 00:00:00,000|pbcopy
If it works, then you can edit the lua script in a text editor and insert following line within function click_Get_time():
os.execute("echo "..Time2string(vlc.var.get(input,"time")).."|pbcopy")

Report

jdiazmeco

2 months ago

It works perfectly!!!! It also works in my windows machine just replacing "pbcopy" for "clip". THANK YOU SO MUCH.

Report

rhaven

3 months ago

Would it be possible to add automatic repeating to this extension? The user could either set an end time or a play duration, and the video once it reaches this point returns to the set start position and keeps playing in a loop. This would be very useful when wanting to play a small section of a longer video over and over. Also, thank you for this extension!

Report

C

mederi

2 months ago

Current implementation of extension scripts does not allow too much dynamics and so events could happen mostly only by clicking buttons within dialog box. Some more complicated solution, a workaround, is possible with the usage of interface script or an external helper besides the extension script.

Report

Sonario648

9 months ago

Just wondering, is it possible to change the backwards hotkey? I'd like to make it a single key, rather than having to press Alt and then press the key.

Report

C

mederi

9 months ago

Custom hotkeys are not available in addons in current VLC version. There are only dialog box button hotkeys (Alt+b) available within Qt GUI. You could try to use an external helper like AutoHotkey on Windows.

Report

Sonario648

9 months ago

I'd like to change the backwards hot key so it can be easy to jump backwards, like how when you press the E key, you go forward a frame in VLC. I was thinking, perhaps its possible to give this extension the same hotkey feature so we won't have to keep using the dialog box. I just downloaded vlc, and this extension so I'm still trying to figure out what does what.

Report

Achille

10 months ago

Dear Medari. I thank you so much for this add-on. I have successfully installed it via VLC/tools/extensions/search online... Now, I can replay a part whenever I need it.

But what I can't do is this: How can I indicate to the add-on an exact time to jump up to or to jump back to. Thanks in advance. Greetings from Cameroon.

Report

C

mederi

10 months ago

First of all, if you use the new VLC 3, then you have to download and install the updated script (v3) manually from here. Then the usage is simple. There is more help available in extension's submenu in VLC menu after activation of the extension (when the dialogbox appears go back in VLC menu View > Jump to time > Help).

Report

adamearle

10 months ago

8 +Maybe call it

1. Time Jumper
2. Time Jog
3. Time Shuffle

Loven this.

Report

C

mederi

10 months ago

Thanks.

Report

enfilade

1 year ago

I installed via the vlc addon manager in osx. The current time has a strange format that I can't understand. I've tried pressing the "time format" button, but nothing ever looks lik hh:mm:ss.ms. I will try downloading directly from here.

Report

enfilade

1 year ago

Ok great, that worked. Nevermind!

Report

abro656

1 year ago

I had to change click_use_jump() on OSX to set the input_jump text as 1000000/FPS instead of 1/FPS... I also configured it to default to `33333.3333` if there was no valid "Frame rate" reported from the input.



if k1=="Frame rate" then
if tonumber(v1) then
textinput_jump:set_text(1000000/v1)
else
textinput_jump:set_text(33333.33333333)
end
return
end
--if tonumber(v1) then textinput_jump:set_text(1/v1) return end

Report

C

mederi

1 year ago

Does the updated script v3 not work on OSX? You need to download it manually here. It is not available through the Addons Manager yet. Then there is a problem with "Frame rate" key, as it depends on VLC interface language. The key is translated in different languages. Therefore I take the first number value for "Frame rate". It works in most cases.

Report

abro656

1 year ago

Oh! I installed directly from the addons manager on OSX... I didn't catch that it might have grabbed the wrong version or something. But it is definitely available for download from the manager in VLC 3.0 for OSX.

Ah, i was wondering why you were getting the frame rate that way... I just made that change because it made more sense to me... the issue with needing to use a million instead of 1 was there.

So yea if you're a doofus like me and grab the wrong version you need to make that change... I'll test what happens installing manually on monday!

Report

RozRoyal

1 year ago

Hey Mederi I LOVE your script! I have a request though, could you make the (Alt + B) (Alt + F) work if the video is on full screen or just make your extension work in the background or add it in the toolbar?

Report

C

mederi

1 year ago

The button hotkeys work only in active/focused dialogbox window. It is not possible to improve the script the way you want it. The scripting VLC in Lua is very limited and require further improvements. You could try to use Autohotkey, the external helper for Windows, to send keystrokes to Jump to time window.

Report

tragicmagic

1 year ago

Thank you for this extension! I have it installed now on Windows 7 on VLC 2.2.6 and it's working perfectly. I read the lua script and found the shortcut/hotkey for alt+b for back and alt+f for forward, and I can now use hotkeys to navigate back and forward a frame in VLC! My only wish is that it would detect the framerate of the playing video and set it to frame format automatically (probably no small feat). But aside from that, it's great! This is a small dream come true. Thanks again!

Report

C

mederi

1 year ago

There is "1/VLCfps" in dropdown menu. Then use "1/x" on the returned value to see the fps. Does it return correct fps for your films? Do you want to have automatic update of the time value in the bottom input field?

Report

kinghat

1 year ago

that would be helpful. also, the ability to set the window as always on top?

Report

C

mederi

1 year ago

You can use some external helper/program like DeskPins.

Report

kinghat

1 year ago

just realized the always on top is not for extensions. sorry.

Report

v3.0 (11.2.2018) 33721 1 year ago

- fixed time in microseconds for VLC 3;
- set 1/FPS as default value;

6 years ago

v2.1 (28.9.2015) 24717
- compact size layout of the dialog box (a trick with right buttons over spanned text input fields) caused troubles on OS X => no spanning now
- removed ampersands from buttons on OS X as they do not work as hotkeys there
- added "Pause/Play" button

Jump to time 2.0 (11.5.2015) 22382
- reworked and renamed "Previous frame" extension
- libvlc hotkeys (unsupported callbacks since VLC-2.1) replaced with dialog box hotkeys at least

Previous frame 1.0 (10.1.2013)

12345678910
1
product-maker adamearle Jul 20 2018 8 great
+Maybe call it 1. Time Jumper 2. Time Jog 3. Time Shuffle Loven this.
product-maker Count:2 Rating: 5.00
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 Aug 28 2018
added Jan 10 2013
downloads today
18
page views today 149
System Tags addon gplv2-later