Documentation:Open Media

From VideoLAN Wiki
Revision as of 12:09, 23 December 2010 by Zirek (talk | contribs) (→‎Play a file)
Jump to navigation Jump to search
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

Play a file

To play a file, open the Media menu, and select the Open File menu item. An Open File dialog box will appear. Select the file you want to open and select Open. VLC with then start playing the designated file. An alternative is to simply drag 'n' drop your file into the VLC main interface or the playlist window from the file explorer (Finder on Mac OS X).

Open File.PNG Open Dialog Box.PNG

Play a CD/DVD/VCD

To play a CD, VCD or a DVD, open the Media menu and select Open Disc menu item. In the Open Disk dialog box, select the type of media (DVD, SVCD/VCD or Audio CD). There is also an option for No DVD menus, when reading a DVD.

You can either select the drive from which the media should be read from by selecting the drive letter from the Disc Device drop-down list or you can select the Browse button, from which you will be given a dialog box to browse to the media files.

If you want to start the DVD or VCD playback from a given title and chapter instead of from the beginning, you can set it using the Title and Chapter selectors. You can also set the Audio and Subtitles track using the selectors.

You can start playback by selecting the Ok button.

Open DVD.PNG

Play a network stream (WebRadio, WebTV, etc.)

To open a network stream, open the Media menu and select the Open Network Stream menu item. A dialog box will then open with three user input boxes.

The first one is for the user to select the Protocol of the stream which they wish to open (HTTP/HTTPS/MMS/FTP/RTSP/RTP/UDP/RDMP). The second box is for the user to input the Address of the stream and the third one is for the user to select the appropriate port.

You can then start playback by selecting the Ok button.

If you get some stuttering during playback, you can try to increase the size of the read buffer. This can be done in the Open Network Stream dialog box, by firstly checking the Show more options check box then adjusting the Caching selector, which allows you to choose the amount of time (in milliseconds) VLC should store data in its buffer before starting playback.

Open Network Strem.PNG

Play from an acquisition card

To play from an acquisition open the File menu, and select Open Capture Device. From here you can choose the Capture Mode and the Video/Audio Device Name. The user can also adjust the configuration for these devices by clicking Configure. The user is also able to set the size of the video that will be played by the Direct Show plugin and options such as 'Device Properties' and 'Tuner Properties' by clicking Advanced Options.

For Video4Linux devices, you can set the name of the video and audio devices using the "Video device name" and "Audio device name" text inputs. The "Advanced options..." button allows to select some further settings useful in some rare cases, such as the chroma of the input (the way colors are encoded) and the size of the input buffer.

To use a Hauppauge PVR card, select the PVR tab in the "Open" dialog box. Use the "Device" text input to set the device of the card you want to use. You can set the Norm of the tuner (PAL, SECAM or NTSC) by using the "Norm" Drop Down. The Frequency selector allows you to set the frequency of the tuner (in kHz), the bitrate selector to set the bitrate of the resulting encoded stream (in bit/s). The "Advanced Options button allows to set some more settings, such as the size of the encoded video (in pixels), its framerate (in frame per second), the interval between 2 key frames, etc.

After setting the appropriate action you can begin playback by clicking 'Play'

Open Acquisition Card.PNG