Can VLC remember movie position?

35

6

Sometimes you kill a movie player before the movie ends, and when you reopen the movie on a later stage, instead of starting from the beginning, you want things to continue from where you left. Can VLC do the same?

tshepang

Posted 2010-12-28T07:53:01.117

Reputation: 3 001

http://www.videolan.org/press/vlc-2.2.0.html "Resume playback where you left off. Supported on all the mobile versions of VLC for quite some time, it is now available on the desktop." – Colonel Panic – 2015-03-01T23:38:46.633

Sadly the feature is unreliable in my experience. Sometimes it remembers position, sometimes it doesn't. Sometimes it remembers position from the time-before-last I watched the video, but not where I got to since. – Colonel Panic – 2016-01-08T07:25:39.793

I know this isn't an answer, but I think the most valuable plugin for VLC would be one where you can enable a hot key to log a specific moment in a video/audio file so you could time stamp things for annotation or later editing. It would be a godsend for a lot of us who use VLC religiously and want to remember specific points in videos later. – tomcat23 – 2011-02-02T22:48:59.383

@tomcat23 This should be a bug report. You wanna take some time and go check their bug tracker? Who knows, maybe this specific bug has already been reported. – tshepang – 2011-02-02T22:48:59.507

No, VLC can't do that sadly. Have you tried to check the preferences? – Aznbinladen – 2010-12-28T08:01:20.093

I made a quick check, and there's way too many to look through each one. – tshepang – 2010-12-28T13:27:41.853

Answers

18

No, it cannot.

This is currently tracked as an enhancement here: http://trac.videolan.org/vlc/ticket/5315

[edit] As of April 2015, this has been implemented and released in v2.2, but may still be buggy and/or not available in all OSes. See https://superuser.com/a/884693/109137

Jason Hanley

Posted 2010-12-28T07:53:01.117

Reputation: 288

1

FYI This has been implemented and could/should be in v2.2.0 -- https://trac.videolan.org/vlc/ticket/5315#comment:18

– Jason Hanley – 2014-09-29T16:16:16.157

@G-Man - This is an invalid edit. Reg Edit is attempting to reply to previous comments. A new answer was already submitted with the new information. – Ramhound – 2015-04-06T11:18:40.417

3+1 for the enhancement ticket, which led me to a workaround (the vlc-srpos-plugin). -1 for the answer that was true last year but is (happily) partially incorrect now. – matt wilkie – 2013-01-22T21:14:10.867

11

There are two methods I've discovered for remembering play position in VLC (works for any media, not just movies):

(A) The vlc-srpos-plugin (was hosted on Google Code, now in Sourceforge, but doesn't seem to be using any of the SF features(code, issues, forum, etc.)).

Windows installing consists of putting files libsrpos*_plugin.dll into {VLC installation folder}\plugins.

For Linux install libvlc-dev and then build plugin module ./configure && make && make install. (Use configure options to specify VLC include/library/output paths, e.g. --with-vlc-*-path.

Enable the plugin with:

  • Start VLC player; Open preferences window (menu Tools->Preferences);
  • Select 'All' in 'Show settings';
  • Open Control interfaces panel (Interface->Control interfaces);
  • Check 'Save/restore position of the last played files' checkbox;
  • Click 'Save' button;
  • Restart VLC player.

Position markers are saved in %APPDATA%\vlc\srpos.ini (on Windows, adjust accordingly for 'nix) and consist of seconds url_path:

35.648476 file:///P:/Music/Incoming/Various%20African/Ngangiboshiwe.mp3
10.370394 file:///P:/Music/Incoming/Taiko-Drumming.mp3

(B) If you don't like installing binaries blindly, there is also a lua extension called Remember position. Unlike the plugin which automatically remembers the stopping point in whatever you play, this functions more like a bookmark, in that you manually set the resume point for each file.

Installation:

Save the script as mempos.lua and:

For a single Windows user or without admin privileges: place in %APPDATA%\vlc\lua\extensions (might have to create the lua and extensions folder).

For all Windows users, place in %ProgramFiles(x86)%\VideoLAN\VLC\lua\extensions (might have to create extensions folder).

For Ubuntu put in: ~/.local/share/vlc/lua/extensions

Usage:

Mark your place in the media file with View >> Remember position menu item, then exit VLC.

To resume: open the same media file, hit Remember position, and playback will jump to the marker. (Or activate the menu toggle when first opening vlc, and then when opening the file playback will resume immediately; see here.)

Position markers are saved in %APPDATA%\vlc\pos.txt and consist of filename.ext = seconds:

filelist={
  ["IMG_0104.mp4"] = 27.6482130,
  ["1-Feb 21 2013 Right View.mp3"] = 1057.5074390,
}

matt wilkie

Posted 2010-12-28T07:53:01.117

Reputation: 4 147

Just wrote a german blog about this: http://www.kwoxer.de/2016/03/23/vlc-video-player-an-position-von-videos-erinnern-lassen/ (many pictures for a step by step tutorial)

– kwoxer – 2016-03-23T20:33:29.117

1

@kwoxer that's a very nice companion piece for people using VLC less than v2.2 , I can follow it easily even though I don't read german. Note that as of v2.2 continue playback is a core feature (ref), though reportedly it may not be reliable yet.

– matt wilkie – 2016-03-24T15:33:17.803

Well it's so easy to disable by just deleting all the files. But thanks for your hint. :) – kwoxer – 2016-03-29T06:49:27.260

10

As of VLC version 2.2.0, released Feb 27, 2015, resume functionality is built in. Proof:

VLC automatic resume

I had to prod VLC a bunch before I started getting the resume prompt reliably. What seemed to get it showing was opening VLC by double clicking a media file, quitting, and repeating. YMMV.

For VLC prior to 2.2.0, the Resume Media extension reportedly offered this feature.

Credit to Colonel Panic and Jason Hanley for giving this answer in comments already.

duozmo

Posted 2010-12-28T07:53:01.117

Reputation: 314

It works on Mac OS but not on Linux (yet) – Filippo Vitale – 2015-03-29T01:12:45.337

1

2019 Response - For VLC 2.3+, you can do this with recent versions of VLC - preferences -> show all settings -> Interface -> Main interfaces -> QT -> Continue playback -> drop down settings. I use the always setting and it works great. You'll also need to check the "continue playback?" box in the simple settings interface tab near the bottom. Note that implementation on Windows is slightly different than on mac/linux - this response applies to Windows machines.

Zediiiii

Posted 2010-12-28T07:53:01.117

Reputation: 234

0

You can add bookmarks , but I believe they are also lost once you have closed the application . Currently there is no way of doing what you are trying to do .

Update

There is a solution for this issue now , you need to download the addon Remember position When enabled, this extensions remembers the last position for all video files played, automatically resuming playback where you finished last time.

Shekhar

Posted 2010-12-28T07:53:01.117

Reputation: 4 815

-4

Nope you can't I've checked everything and everywhere.

Petruza

Posted 2010-12-28T07:53:01.117

Reputation: 3 043