Documentation:Modules/screen

From VideoLAN Wiki
Jump to navigation Jump to search
Module: screen
Type Access
First VLC version -
Last VLC version -
Operating system(s) all
Description screen capture
Shortcut(s) -

Stream or save a video of your computer screen.

Options

  • screen-caching <integer> : Time in milliseconds
  • screen-fps <integer> : Capture frames per second default value: 0
  • screen-fragment-size <integer> : (Windows only) Optimize the capture by fragmenting the screen in chunks of predefined height (16 might be a good value, and 0 means disabled) default value: 0
  • screen-top <integer> : The top edge coordinate of the subscreen. (New in VLC 0.9.0 on x11, New in VLC 1.0.0 on Windows) default value: 0
  • screen-left <integer> : The left edge coordinate of the subscreen. (New in VLC 0.9.0 on x11, New in VLC 1.0.0 on Windows) default value: 0
  • screen-width <integer> : The width of the subscreen. (New in VLC 0.9.0 on x11, New in VLC 1.0.0 on Windows) default value: <full screen width>
  • screen-height <integer> : The height of the subscreen. (New in VLC 0.9.0 on x11, New in VLC 1.0.0 on Windows) default value: <full screen height>
  • screen-follow-mouse, no-screen-follow-mouse : Follow the mouse when capturing a subscreen. (New in VLC 0.9.0 on x11, New in VLC 1.0.0 on Windows) default value: no-screen-follow-mouse
  • screen-mouse-image <filename> : Mouse pointer image to use. If specified, the pointer will be overlayed on the captured video. (New in VLC 1.0.0, Windows and x11 only) default value: ""

Run...

% vlc -H

...for the definitive options for your version.

Example

Capture a screen:

% vlc screen:// --screen-fps=1 --screen-width=100 --screen-height=100

The screen thus captured is 100x100 pixels in from the top left corner of the active screen.

Questions

How to save?

Where is the file saved?

How to get audio to work?

On a dual head monitor, how to make sure the recording is happening on target monitor?

Commands I've used

vlc screen:// --dshow-fps=29.950001 --nooverlay --sout #transcode{vcodec=h264,vb=800, scale=0.5,acodec=mp3,ab=128,channels=2} :duplicate{dst=std{access=file, mux=mp4,dst=/home/user/Desktop/test.flv}}

Produced a black screen... on my Fedora 12 machine.

Help VideoLAN by adding to this page!
Create an account to start editing, and then click here to add to this article.
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.