Difference between revisions of "Documentation:Snapshots"

From VideoLAN Wiki
Jump to navigation Jump to search
(→‎Snapshot location, format and name: formatting; added clarification)
(formatting)
Line 19: Line 19:
 
*Linux / Unix: $(HOME)/.vlc/
 
*Linux / Unix: $(HOME)/.vlc/
 
*Mac OS X: Desktop/
 
*Mac OS X: Desktop/
 +
 +
===Configuring snapshot options under Windows:===
 +
The location, format and name of snapshots may be changed in the ''Preferences'' menu item in the ''Tools'' tab, subsection ''Video''.
 +
 +
[[File:Basic_snapshots_config.png]]
  
 
The default format for snapshots is PNG, but this may be changed to JPEG.  Also, the default name for snapshots is ''vlcsnap-'' followed by a timestamp that is ''not'' the time of the frame in the video you're viewing, but rather the current date and time--as in 2014-01-16-14h57m19s163.
 
The default format for snapshots is PNG, but this may be changed to JPEG.  Also, the default name for snapshots is ''vlcsnap-'' followed by a timestamp that is ''not'' the time of the frame in the video you're viewing, but rather the current date and time--as in 2014-01-16-14h57m19s163.
  
The location, format and name of snapshots may be changed in the ''Preferences'' menu item in the ''Tools'' tab.  Also, you may substitute other text for ''vlcsnap-'' in the ''Video snapshot file prefix'' and you may choose to have snapshots numbered sequentially (i.e., 000001, 000002, 000003, and so on) instead of with a timestamp.
+
Also, you may substitute other text for ''vlcsnap-'' in the ''Video snapshot file prefix'' and you may choose to have snapshots numbered sequentially (i.e., 000001, 000002, 000003, and so on) instead of with a timestamp.
 
 
[[File:Basic_snapshots_config.png]]
 
  
As of version 0.9.0, you may even use [[Documentation:Play HowTo/Format String|variables]] in the text used for the filename.  For example, ''$T'' (must be upper case) will insert the video's time code into the file name.  If you were to change the prefix to ''Friends-$T-'' while watching a DVD of ''Friends'', then the snapshot filenames would look something like this: Friends-00_05_21-2014-01-16-14h57m19s163.png.  This indicates a snapshot taken at 5 minutes and 21 seconds into the video; and it was taken on this day at this time: 2014-01-16-14h57m19s163.  
+
As of version 0.9.0, you may even use [[Documentation:Play HowTo/Format String|variables]] in the text used for the filename.  For example, ''$T'' (must be upper case) will insert the video's time code into the file name.  If you were to change the prefix to ''Friends-$T-'' while watching a DVD of ''Friends'', then the snapshot filenames would look something like this: ''Friends-00_05_21-2014-01-16-14h57m19s163.png''.  This indicates a snapshot taken at 5 minutes and 21 seconds into the video; and it was taken on this day at this time: ''2014-01-16-14h57m19s163''.  
  
For a shorter file name, check the "Sequential numbering" option in the configuration box (below). Instead of numbers like 2014-01-16-14h57m19s163, VLC will simply insert the count of snapshots for that session--for example, 00004.
+
For a shorter file name, check the "Sequential numbering" option in the configuration box (below). Instead of numbers like ''2014-01-16-14h57m19s163'', VLC will simply insert the count of snapshots for that session--for example, ''00004''. Thus, in the example above, a snapshot with sequential numbering would look like this: ''Friends-00_05_21-000001.png''
  
 
For a full list of variables, please see [[Documentation:Play HowTo/Format String]].
 
For a full list of variables, please see [[Documentation:Play HowTo/Format String]].
 
Configuring snapshot options under Windows
 
  
 
{{Documentation}}
 
{{Documentation}}

Revision as of 16:06, 16 January 2014

VLC User Guide

Quick Start Guide
Installing VLC
History
Usage
Interface
Open Media
Audio
Video
Playback
Playlist
Subtitles
Video and Audio Filters
Snapshots
Hotkeys
Uninstalling VLC
Troubleshooting
Advanced usage
Using VLC inside a webpage
Command line
Alternative Interfaces
Misc

Appendix
Building Pages for the HTTP Interface
Format String
Building Lua Playlist Scripts
View this alone

There are two ways to take snapshots (i.e., screenshots or frame grabs) with VLC:

  1. Open the Video menu, and select the Snapshot menu item.
  2. Press the snapshot hotkey
    • Linux / Unix: Ctrl-Alt-s
    • Windows (Qt interface): Shift-s
    • Mac OS X: Command-Alt-s

When a snapshot is taken, it will briefly preview as a thumbnail with its filename and then fade away.

To change the hotkey, go to Tools -> Preferences. If "Show settings" is set to Simple, click Hotkeys; if "Show settings" is set All, navigate to Interface -> Hotkeys settings. Set the hotkey for Take video snapshot.

Snapshot location, format and name

The snapshot location depends upon your operating system:

  • Windows XP: My Documents\My Pictures\
  • Windows Vista, 7, and 8: C:\Users\Username\Pictures\
  • Linux / Unix: $(HOME)/.vlc/
  • Mac OS X: Desktop/

Configuring snapshot options under Windows:

The location, format and name of snapshots may be changed in the Preferences menu item in the Tools tab, subsection Video.

Basic snapshots config.png

The default format for snapshots is PNG, but this may be changed to JPEG. Also, the default name for snapshots is vlcsnap- followed by a timestamp that is not the time of the frame in the video you're viewing, but rather the current date and time--as in 2014-01-16-14h57m19s163.

Also, you may substitute other text for vlcsnap- in the Video snapshot file prefix and you may choose to have snapshots numbered sequentially (i.e., 000001, 000002, 000003, and so on) instead of with a timestamp.

As of version 0.9.0, you may even use variables in the text used for the filename. For example, $T (must be upper case) will insert the video's time code into the file name. If you were to change the prefix to Friends-$T- while watching a DVD of Friends, then the snapshot filenames would look something like this: Friends-00_05_21-2014-01-16-14h57m19s163.png. This indicates a snapshot taken at 5 minutes and 21 seconds into the video; and it was taken on this day at this time: 2014-01-16-14h57m19s163.

For a shorter file name, check the "Sequential numbering" option in the configuration box (below). Instead of numbers like 2014-01-16-14h57m19s163, VLC will simply insert the count of snapshots for that session--for example, 00004. Thus, in the example above, a snapshot with sequential numbering would look like this: Friends-00_05_21-000001.png

For a full list of variables, please see Documentation:Play HowTo/Format String.

This page is part of official VLC media player Documentation (User GuideStreaming HowToHacker GuideModules)
Please read the Documentation Editing Guidelines before you edit the documentation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.