Image 01
profile-image

tragicmagic

Mike 
Jump to time Previous frame v3

VLC Extensions 47 comments

Rating: 6.0
Aug 28 2018
Aha! I figured out how to make it default to the 1/FPS time format, and set the 1-frame jump value based on the current video FPS. It just required changing the order of the jumps, and adding the click_use_jump() function to the activate() function:

jumps = { -- drop-down list
{"1/FPS", "vlcfps"},
{"2 sec", 2},
{"20 sec", 20},
-- {"30 sec", 30},
{"1 min", "1:00"},
{"5 min", "5:00"},
{"10 min", "10:00"},
{"1/2 sec", 0.5},
{"1/x", "reciprocal"},
{"1/23.976", 1/23.976},
{"1/24", 1/24},
{"1/25", 1/25},
{"1/29.97", 1/29.97},
{"1/30", 1/30},
{"1/60", 1/60},
}

AND

function activate()
Create_dialog()
click_Get_time()
click_Use_jump()
end - Nov 10 2017
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! - Nov 10 2017