Documentation:Play HowTo/Basic Use

From VideoLAN Wiki
Jump to navigation Jump to search

Template:Documentation play howto toc 0.9

Note: this documentation is for versions 0.9 and newer and is under construction. For simple help with 0.9 see VLC for dummies: an introduction to VLC. For older versions please see and Basic Use.

About VLC media player

VLC media player is a highly portable multimedia player for various audio and video formats such as MPEG-1, MPEG-2, MPEG-4, DivX, mp3 and ogg. It also plays DVDs, VCDs, and various streaming networks. In addition to playing audio and video files, VLC media player provides additional formats which can be played and customized.

VLC media player was initially known as VideoLAN Client. However, in recent years, the software has also become an extremely powerful server to stream live and on-demand video in several formats to the intranet network and the Internet.

It started as a student project at the French École Centrale, Paris, but is now a worldwide project with developers from more than 20 countries.

VLC is built in a modular way. This means that you can choose from a range of different modules to decide how to control VLC and how to display the video output.

Note: The screenshots are taken from the MS Windows XP version. On other operating systems they might appear slightly different.

Understanding the VLC interface

VLC has several interfaces:

  • A cross-platform interface, for Windows and GNU/Linux, called wxWidgets,
  • A native Mac OS X interface, and
  • A skinnable interface for Windows and GNU/Linux.

Screenshots below are drawn from the various interfaces, but VLC's functions work essentially the same on all operating systems.

Windows and GNU/Linux (Qt)

The main interface of VLC media player looks as shown in the following figure. This is the default interface on Windows and GNU/Linux (the screenshot is done on Windows, but it would look quite the same on GNU/Linux).

VLC - small.png


Starting VLC Media Player

To start VLC Media Player

  1. Select Programs from the Start menu.
  2. Select VideoLAN and select the VLC media player.

When you start VLC media player, the application appears on the screen and a small icon VLC - icon.png appears in the taskbar. Click on the icon in the taskbar to show or hide the icon in the taskbar. Hiding the icon does not amount to quitting the application. It does run in the background even when you hide the interface.

Stopping VLC Media Player

To quit the application, right click on the VLC - icon.png icon in the tray and select Quit.
Or
Click the Close button in the main interface of the application.

Taskbar Icon

When VLC media player is running, its icon VLC - icon.png appears in the taskbar. Click on the icon in the taskbar to show or hide the icon in the taskbar. Hiding the icon does not amount to quitting the application. It does run in the background even when you hide the icon. Basic operations such as opening, playing or stopping a media file, or changing a track can be done from the menu obtained by right clicking the taskbar icon. The main interface contains a couple of sections:

Main Interface

Menu bar
The menu bar at the top contains all the options.
Track slider
The track slider is below the menu bar. It shows the progress of playing the media file. You can drag the track slider left to rewind or right to forward the track being played. When a video file is played, the video appears between the menu bar and track slider.
Note: When a media file is streamed, the track slider does not move because VLC cannot know the total duration.

Control Buttons
The buttons below the slider help in controlling the play.

Button Description
VLC - play button.png Toggles between play and pause
VLC - back button.png Moves to the previous track
VLC - stop.png Stops the play
VLC - forward button.png Moves to the next track
VLC - fullscreen.png Displays the application in a full-screen mode
VLC - playlist.png Displays the play list
VLC - options.png Displays a menu of options to have audio and video effects, and synchronising the audio and video media.
VLC - mute.png Toggles between mute and voice. Click on it to mute or un-mute.
VLC - volume.png Volume slider. Displays the volume level. You can adjust the volume by placing the cursor on this icon and moving it left or right. The number indicates the percentage of amplification. Maximum is 200%.

Additional Information

At the bottom of the interface we can find information regarding name of the media file being played, the relative speed at which it is being played, and the elapsed and total duration of the file are displayed. There is an option to increase or decrease the speed of the track.

Right click on the VLC - playspeed.png icon to change the playing speed of the track.

Menu Option Description
Media Open File Select this option to open a media file and play it.
  Advanced Open File Select this option to open files through a folder, disc, network or a capture device.
  Open Folder Select this option to open a folder with multiple media files and play them in order.
  Open Disc Select this option to open discs with different video format.
  Open Network Select this option to receive media files from Internet and play them.
  Open Capture Device Select this option to receive media files from capture devices such as camcorder, webcam and so on.
  Convert/Save Select this option to convert media files to different media file formats.
  Streaming Select this option to send media files through network and play them live.
  Quit Select this option to quit the application.
Audio Audio Track Select this option to disable or enable an audio track.
  Audio Device Select this option to convert the stereo audio files to mono and vice-versa.
  Audio Channel Select this option to select a audio channel.
  Visualization Select this option to display splashes of colour and geometric shapes while listening to an audio file.
Video Video Track Select this option to disable or enable a video track.
  Subtitles Select this option to load subtitle files for video files requiring subtitles.
  Full Screen Select this option to view the media file in the entire screen.
  Zoom Select this option to zoom in or zoom out a video track.
  Deinterlace Select this option to convert interlaced video signals into non-interlaced form.
  Aspect Ratio Select this option to adjust the width to height ratio of the video.
  Crop Select this option to crop the edges of a video track.
  Always on Top Select this option to display the application always on top when other applications or files are open.
  Direct X wall paper Select this option to make the video which is being displayed to become the wall paper.
  Snapshot Select this option to capture snapshots of video being displayed.
Playback Go to specific time Select this option to move the track slider to a specific frame of the video or audio file. The media file starts playing from that instance.
  Bookmarks Select this option to bookmark the media file.
  Title Select this option to randomly access a particular movie in a DVD.
  Chapter Select this option to randomly access a particular chapter in a movie.
  Program To be added
  Navigation Select this option to navigate to different titles and their corresponding chapters.
Playlist Additional Sources Select this option to access the additional sources such as podcasts, SAP announcements, radio and TV shoutcasts, French TV and Freebox TV.
  Show Playlist Select this option to view and play the media files listed in the playlist.
  Load Playlist File Select this option to load the playlist files.
  Save Playlist to File Select this option to save the current playing media in the preferred format.
  Save Playlist to File Select this option to save the current playing media in the preferred format.
Tools Playlist Select this option to view and play the media files listed in the playlist.
  Extended Settings Select this option to adjust the audio and video effects.
  Add Interface Select this option to view VLC media player using different interfaces.
  Minimal view Select this option to have a minimal view of the application.
  Fullscreen Interface Select this option to have a full screen view of the application.
  Advanced controls Select this option to access snapshot and loop controls.
  Messages To be added
  Media Information Select this option to view information regarding the media file being played.
  Codec Information Select this option to view codec information of the media file being played.
  Bookmarks Select this option to bookmark the media file.
  VLM Configuration To be added
  Preferences Select this option to give preferred settings to audio, video, subtitles, codecs and hotkeys.

Opening a File

The Media menu can be used to open a file. VLC offers a range of options to open media files. See the table below to see the available options. When you open a file, the file is played according to the default play options.

Option Shortcut Key Description
Open File Ctrl+O Use this option to play a single media file from a specified location on the hard disk.
Advanced Open File  

In addition to opening a file from a hard disk, you can open files from a disc, from any computer on the network or directly from a capturing device.

You can also open a subtitles file associated with the selected media file.

You can also set a few playing options. Refer to Advanced File Open.

Open Folder Ctrl+F

Use this option to play all the files in a certain folder.

Open Disc Ctrl+D

Use this option to play files from a disc. Based on the type of disc you select, you can have a few more playing options. Refer to Opening a file from a disc.

Open Network Ctrl+N

Use this option to open a file present on any system on the network to which you are currently connected.

You can also set a few playing options. Refer to Opening a file on the network

Open Capture Device Ctrl+C

Use this option to open a file directly from a capturing device which is currently connected to your system.

You can also set a few playing options. Refer to Opening a file from the capturing device.

Convert / Save Ctrl+R

Use this option to convert a media file from one format to another.

Refer to Converting a media file into another format.

Streaming Ctrl+S

Use this option to stream a recorded media file.

Refer to Streaming a media file.

VLC - media menu.png

You can open audio or video files. A file can be opened in two ways.

  1. From the Media menu select the Open File option or the Advanced Open File option.
  2. Select the File tab in the Open dialog box.
  3. Enter file name in the File names box or browse and select a file.
  4. Select a format from the Filter list. The supported formats are .a52, .aac, .ac3, .dts, .p3, .ogg, .oma, .spx, .wav, .wma and .wm.
  5. Check the Use a subtitle file option to select a subtitles file to be viewed with the media file.
    From the Alignment list, select an option to align selected subtitle. The available options are Left, Right and Center.
    From the Size list, select a font size for the selected subtitle. The available options are Small, Smaller, Normal, Large and Larger.
  6. Click Open. VLC starts playing the selected file with the default options.

Advanced File Open

To open a file

  1. Select the Advanced Open File option from the Media menu.
  2. The Open file dialog box is displayed. There are four tabs such as File, Disc, Network and Capture Device.

Refer to the following sections for more details:

Opening a media file with advanced options
Opening a folder
Opening a media disc
Opening a media network
Opening a capture device

Additional Playing Options

When you select the File tab after selecting the Advanced Open File menu, apart from selecting a file you have the following choices:

Caching: When you specify caching value for a media file, the stream is still rendered by VLC media player at the specified data rate, but the client system buffers a much larger portion of the content before rendering it. This allows the client to handle variable network conditions without a perceptible impact on the playback quality of either on-demand or broadcast content. Specify a caching value so that the file is played smoother. The default value is 300 milliseconds.

Customizing: File names from different locations can be added directly into the Customize box without having to browse the folders.

Synchronous play: Play another file in synch with the selected file.

Start time: Not play the file from the beginning. If start time is specified as 120 seconds, the file is played after skipping the content of the first two minutes. (Specify time in seconds; not minutes)

Opening a Folder

You can select a folder to play all media files one after the other in that folder.

  1. Select the Open Folder option. The Browse for Folders dialog box is displayed.
  2. Browse and select the folder.
  3. Click on OK.

All the files present in the selected folder are played in the alphabetical order, one after another, without expecting any action from you.

Opening a Disc

You can open media files from a disc. In VLC, you can play Audio CDs, SVCD/VCDs, and DVDs. You can open a file from a disc in two ways.

  1. Select the Open Disc option from the Media menu.
    Or
    Select the Advanced Open File option from the Media menu.
  2. The Open dialog box is displayed.
  3. Select the Disc tab.
  4. Check the type of disc connected to the system. The options are Audio CD, DVD, and SVCD/VCD.
  5. In the Disc Device box, by default, the path for the disc is displayed. You may select a different path using the Browse button.
    Click on the Eject VLC - eject.png button. The disk drive opens automatically and you can check if the drive is empty or if the correct disc is in the drive.
  6. Based on the selected disc type, specify the following options:
    • DVD
      • Some original DVDs may have complex, proprietary menu options and VLC may not handle all the options well. If you check the No DVD menus option, VLC reads the raw video files directly into the film regardless of the options present while creating the original DVD. Check this option if you want to listen to or view the basic version without availing the menus present in the DVD.
      • When a DVD is played, the entire disc need not be played. To specify the part to be played, specify the Title and Chapter number in the Starting Position box.
      • Under the Audio and Subtitles group, select the Subtitles track and Audio track.
    • Audio CD
    • In the Track box of the Starting Position group, select the track number at which the play should start.
    • SVCD/VCD
    • In the Starting Position group, specify the Entry number at which the play should start. Under the Audio and Subtitles group, select the Subtitles track and Audio track.
  7. Check Show more options to see more play options. Refer to Additional playing options.

Playing more than one media file

VLC has an option to play two media files synchronously.

  1. From the Media menu, select the Advanced Open File option.
  2. The Open dialog box is displayed.
  3. Select a media file.
  4. Check the Show more options option. The screen expands to show more options.
  5. Check the Play another media synchronously option. The Extra media box and a Browse button are displayed.
  6. In the Extra media box, enter the name of another media file with complete path or use the Browse button to select the media file.
  7. You can change the Caching value for the media file being played.
  8. Select the time at which the media file should start from the Start Time list.
  9. You can see the selection you made in the Customize box.
  10. Click on the Play button.

You can use the Show more options to watch a video while listening to an audio file or listen to two audio files played synchronously (one audio track can have the instrumental part and the other can have the corresponding voice).

Opening a Network

You can open a network and stream media from the selected network to the specified hosts. When you open a network you specify the network to be used for streaming media content.

  1. From the Media menu select Open Network or Advanced Open File option and then select the Network tab.
  2. The Open dialog box is displayed.
  3. Select a protocol from the Protocol list.
  4. The supported protocols are HTTP, HTTPS, FTP, MMS, RTSP, RTP, UDP and RTMP. MMS, RTP, RTMP, RTSP and UDP protocols are suitable for streaming media. The RTP, RTMP and RTSP protocols are for real transmission.
  5. Select a protocol suitable to your content.
  6. In the Address box, enter the address of the system from which the media is going to be streamed.
  7. In the Port box, enter the port number from which streaming is done.
  8. The default number is 1234.
  9. When UDP is selected, the Allow Timeshifting option is enabled.
  10. Timeshifting refers to the recording of programmes in a storage medium which is to be viewed or listened to at a time more convenient. Typically, this refers to TV programming but can also refer to radio shows through podcasts. When the network stream is played, the stream can be paused even if it is a live stream
  11. Enter a URL in the Address box.
  12. Note: The Port list is enabled only when RTP or UDP is selected.
  13. Click on the Submenu.JPG before the Play button and select Stream from the popup menu.
  14. In the Stream Output dialog box, specify the media file to be streamed and the address to which the streaming should be done.
    In the Stream Output dialog, you can specify further options. Refer to Specifying the Streaming Options.
  15. Click on the Stream button.
  16. Note: When the streaming is being done, the slider moves to show the progress.

    Specifying Streaming Options

    VLC provides several options for streaming media files. You can stream media files in two ways.

    1. Select Streaming from the Media menu.

    2. Or
      Select Advanced Open File from the Media menu. The Open dialog box is displayed.
    3. Click on the Submenu.JPG icon next to the Play button and select Stream from the popup menu.
    4. The Stream Output dialog box is displayed.

    Specify Outputs

    1. Check the Play locally option to play the file while it is being streamed.
    2. Check the File option to specify a path to save the converted file or click on the Browse button. The Save File dialog box is displayed. Select a container format from the Save As Type list.
    3. A container is a file that can contain audio and video. You can also browse a folder to save the converted file. The audio and video is encoded using codecs and then stored in a container. A file’s extension can be used to identify the container format. VLC provides the following container formats:
      Format Description
      .ps Refers to MPEG program stream. Stores M-PEG 2 video muxed with other streams.
      .ts Refers to MPEG transport stream. Used for streaming video through a network or by a satellite.
      .mpg Refers to a family of standards used for coding audio and visual information.
      .ogg Refers to professional grade media product. Ogg Vorbis encodes audio and Ogg Theora encodes video.
      .asf Stores Windows Media Audio and Windows Media Video. ASF is designed to be used over audio and video information and is specially designed to run over networks.
      .mp4 M-PEG 4 audio and video. Provides compression for web, voice and broadcast television applications.
      .mov Refers to the QuickTime media format. Used to store audio and video.
    4. Select a file or enter the file name in the File name box.
    5. Click on Save to save the media file in the selected container format.
    6. Check the Dump Raw Output box to save the input stream as it is read by VLC, without any processing. If this option is selected, all other options are disabled.
    7. Select HTTP to stream media files using the HTTP streaming method. Specify the Address and Port.
    8. Select the MMSH access method to stream media files to the Microsoft Windows Media Player. The Address and Port options are enabled. Specify the Address and Port.
      MMS is a proprietary digital media streaming protocol developed by Microsoft. MMSH is MMS over HTTP.
    9. Select RTP to stream the media using the RTP method. The Prefer UDP over RTP, Address, Port, Audio Port and Video Port options are enabled.
      RTP refers to the Real-Time Transfer Protocol. Like UDP, RTP can use both unicast and multicast addresses. RTP or UDP is extensively used for streaming live audio and video.
    10. Specify the Address, Port, Audio Port and Video Port.
    11. Select the Prefer UDP over RTP option.
    12. VLC automatically tries to stream the media using the UDP protocol. If the streaming fails, VLC uses the IP address specified for the RTP protocol. This option can be used when no intervention is required from the consumer. The Audio Port and Video Port options get disabled if the Prefer UDP over RTP option is selected.
    13. Select IceCast to distribute live audio and video over the Internet in real time.
      • Enter the Address and Port details.
      • Enter the login name and password in the Login:pass: box.
      • Enter the name of the Mount Point where the current listener should be redirected to.
      An IceCast mount point refers to a connector between an IceCast source stream and IceCast listeners.
    14. Select a profile from the Profile list. The available profiles are Custom, Ogg/Vorbis, MPEG-2, MP3, MPEG-4 audio AAC, MPEG-4/DivX, H264, IPod (MP4, aac), Xbox, Windows (wmv/asf), and PSP.
    15. Choose the encoder format from the Profiles or customise it.
    16. Customise the other options by selecting the Encapsulation, Video codec, Audio codec and Subtitles tabs.
    17. Note: The options under Encapsulation, Video codec, Audio codec and Subtitles tabs are enabled only if you select the Custom option. Encapsulation Refers to the format in which a stream is encapsulated. The available formats are MPEG-TS, MPEG-PS, MPEG 1, Ogg/Ogm, ASF/WMV, MP4, MOV, WAV, RAW, FLV and MKV. From the Encapsulation tab, select an encapsulation method that fits the codecs and access method of your stream. Video Codec The Video option is selected by default. The options related to codec, and bitrate are enabled only if the Video option is checked.
      • Select the required codec from the Codec list. The available video codecs are MPEG-1, MPEG-2, MPEG-4, DIVX 1, DIVX 2, DIVX 3, H-263, H-264, WMV1, WMV2, MPEG, and Theora.
      • Specify an average bitrate in the Bitrate (kb/s) box.
      • Select a scale from the Scale list. The values are 1, 0.25, 0.5, 0.75, 1.25, 1.5, 1.75, and 2.

      Audio Codec

      The Audio option is selected by default. The options related to codec, bitrate and channels are enabled only if the Audio option is checked.

      • Select an audio codec from the Codec list. The available audio codecs are Vorbis, MPEG Audio, MP3, MPEG4 Audio (AAC), A52/AC-3, Flac, Speex, WAV and WMA.
      • Specify an average bit rate in the Bitrate (kb/s) box.
      • Select a channel from the Channels list. In audio, a channel refers to a stream of audio that is to be played by one speaker. For example, stereo audio, consists of two channels.

      Subtitles

      Specify subtitles to be streamed along with your media file. To specify subtitles

      • Check the Subtitles checkbox and select a subtitle from the Subtitle list.
      • This is the subtitle format that is to be included with the media that is streamed.
      • Check the Overlay subtitles on the video option to render subtitles directly on the video, while transcoding it.

      Miscellaneous

      Time-To-Live (TTL)- This sets the numbers of routers your stream can go through, for UDP unicast and unicast access methods. With UDP multicast, the default TTL is set to 1, meaning that your stream won't get across any router. You may want to increase it if you want to route your multicast stream.

      SAP Announce - SAP is a way to publicly announce streams that are being sent using multicast UDP or RTP. Enter the name of the stream in the text box. This is available only for the RTP streaming method.

      Group Name – This allows you to specify a group for the session, which will be announced. Enter a name. This option is enabled only if the SAP Announce box is checked.

      Stream all elementary streams – Select this option to you to stream all soundtracks and subtitles. This option separates the different elementary streams from a stream, and saves each of them in a different file or sends it to a separate destination.

      Keep stream output open - Select this option to save incoming streams. This option is also used to make VLC act as a streaming server.

      The options selected are displayed as a concatenated string in the Generated Stream Output String box.

    18. Click on the Stream button. The selected file is streamed to the selected locations.
    19. Note: The Streaming option present under the Media menu is the same as the Stream option in the Submenu.JPG list.

      Common Options

      VLC provides some common options which are easily accessible. Select Advanced Open File from the Media menu.

      The Open file dialog box is displayed. There are four tabs such as File, Disc, Network and Capture Device. The options mentioned in the table are part of a dropdown list which is displayed when the Submenu.JPG button is clicked.

      Option Shortcut Key Description
      Enqueue Alt + E Adds media files to the playlist but doesn't play it until you click Play.
      Play Alt + P Adds media files to the playlist and plays the media.
      Stream Alt + S Adds media files to the playlist and streams it on the network.
      Convert Alt + C Adds media files to the playlist.

      Converts a media file into the selected format.

      Note: Leave Play locally unchecked because it decreases the conversion time. If you simultaneously play a file and convert it, it takes much more time.

      Opening a Capture Device

      A capture device captures an image from a video file or sound from an audio file. Capture devices include webcams, external DVD players, TV cards and acquisition cards. VLC supports capture devices if the devices have the DirectShow compatible drivers.

      To capture media

      1. Select Open Capture Device from the Media menu. The Open dialog box is displayed with the Capture Device tab selected.
      2. VLC media player supports three modes of capture DirectShow, DVB DirectShow and Desktop. DirectShow: DirectShow, a Windows media streaming architecture, supports capture from digital and analog devices. DirectShow automatically detects and uses video and audio acceleration hardware when available, but also supports systems without acceleration hardware. To capture content using the DirectShow plug-in, select DirectShow from the Capture Mode list. The options in the rest of the dialog box change based on the option selected in the Capture Mode list. If you want to capture video, select a device from the list next to the Configure button under the Card Selection group. VLC provides default values. To adjust more options, select the required options from the device settings.
        1. Click on the Configure button for Video. The Properties dialog box is displayed with two tabs, Device Settings and Advanced.
        2. If the device name does not appear in the list, click on the Refresh button. The device name appears in a list next to the Configure button.
        3. Device Settings
          Device settings.JPG If the Auto box is checked for any parameter, the software automatically fixes the value for the parameter based on the video file. By default, the Auto option is enabled only for the White Balance parameter.
          • Brightness: Move the slider till you get the desired brightness for the video capture. The default value is 5000.
          • Contrast: Refers to the difference in visual properties that makes an object distinguishable from other objects and the background. Move the slider till you get the desired contrast. The default value is 5000.
          • Saturation: Refers to the difference of a color against its own brightness. Move the slider to get the desired effect. The default value is 5000.
          • Sharpness: Refers to the clarity of a video. Move the slider till you get the desired sharpness for the video capture. The default value is 6000.
          • White Balance: Refers to colour balance. This option helps to make white actually white and makes skin tones look more natural. Uncheck the Auto option and Move the slider to get the desired effect.
          • Backlight Comp: Refers to the ability of a camera to compensate in cases where a subject with a large amount of background light would otherwise be obscured by excessive light. The default value is 0. Move the slider to get the desired effect.

          Advanced Settings

          Advanced settings.JPG

          Automatic Gain Control – Is a circuit found on some electronic devices that automatically controls the gain of a signal. In AGC, weaker signals receive more gain and stronger signals receive less gain or none at all.

          • Exposure - Refers to the amount of light allowed to fall on a selected media file while capturing images. There are occasions when you may have to manually adjust the exposure on your camera. Exposure is measured in seconds.
            For example, you have to take a shot of a person from a certain angle, and there is bright light behind the person. In such case, aim your camera on the person and adjust the exposure value by moving the slider. The specified value remains unchanged even after closing the VLC application.
          • Gain - This option allows increasing or decreasing the brightness of the video being captured.
            When Automatic Gain Control is selected, the values you specified are taken as the default values for Exposure and Gain.
            Uncheck Automatic Gain Control to change the values of Exposure and Gain by moving the sliders.

          Image Mirror

          • Mirror Horizontal – If you select this option, the video clip is flipped horizontally. You can see a mirror view of the captured picture.
          • Mirror Vertical - If you select this option, the video clip is flipped upside down.

          Anti-Flicker – Refers to a process of filtering digital images to reduce image flicker. The available options are Off, 50 Hz (European) and 60 Hz (North America).

          Image Enhancement – You can enhance the video being captured in terms of light and color using the following options:

          • Low Light Boost – If you check this option, the exposure time of the camera increases in poor light conditions.
          • Color Boost – If you check this option, the colors of the video being captured are boosted.

          If you want to capture audio, select a device from the list next to the Configure button under the Card Selection group.

          Click on the Configure button for Audio. The Properties dialog box is displayed. Specify the AudioInputMixer properties.

          Audioinputprop.JPG

          In the Master Input Mix group, check the Enable box. Control the tone of the audio using the Treble and Bass sliders.

          • Loudness – Refers to volume of the audio. Adjust the volume by moving the slider.
          • Mono – Refers to an amplifier connection. Adjust the volume by moving the slider.

          In the Pin Line Input Mix group, check the Enable box. Select a line from the Pin Line list. The values in the Pin Line list are populated based on the selected audio input device.

        4. Click on the Advanced options button to specify the following properties:
          • Caching value in ms – Refers to the caching value for DirectShow streams. Enter or select a value.
          • Video device name – Refers to the name of the video device that is used by DirectShow plugin. If you do not specify a device, the default device is used.
          • Audio device name – Refers to the name of the audio device that is used by DirectShow plugin. If you do not specify a device, the default device is used.
          • Video size – Refers to the size of the video that is displayed by the DirectShow plugin. The size of video is measured in pixels. If you do not specify the size, the default size is used.
          • Video input chroma format - Chroma refers to the way colors are encoded. Enter a specific chroma format. The default value is 1420.
          • Video input frame rate – Enter a specific frame rate. The default value is 0.
          • Device properties – Check this option to view the properties dialog of the selected device before starting the stream.
          • Tuner properties – Using this option you can set channels. A tuner converts signals into picture and sounds. Select this option to view the tuner properties (channel selection) dialog box.
            • Tuner TV channel – Refers to a tuner for setting TV channels. The default is 0. The default channel is used to capture the media.
            • Tuner country code – This option helps to establish the current channel-to-frequency mapping. The default is 0.
            • Tuner input type – Select the tuner input type. Available values are cable and antenna.
            • Video input pin – Select a video input source. Available values are Composite, S-video, and Tuner. These settings are hardware-specific. -1 means that settings will not be changed.
            • Audio input pin – This option is used to capture audio using a specific audio input pin. These settings are hardware-specific. Select a number from the Audio input pin list.
            • AM Tuner mode – This option is used to select a AM (amplitude modulation). The following are the tuner modes:
            • Value Mode
              0 Default
              1 TV
              2 AM Radio
              3 FM Radio
              4 DSS

              Select a number from the AM Tuner mode list.

            • Number of audio channels – Select an audio input format with the given number of audio channels. If the channels are unavailable, select 0.
            • Audio sample rate – This option is used to set the sample rate. If the rates are unavailable, select 0.
            • Audio bits per sample – Select audio input format with the given bits or sample. If the audio bits are unavailable, select 0.
        5. Select the Convert option to select the encoding formats and click on the Save button. Refer to Converting and Saving a media file format.
        6. Click on the Play button. The capturing of the media starts.

        DVB DirectShow - Refers to a suite of internationally accepted open standards for digital television. VLC media player supports three types of DVBs and they are:

        • DVB-S - Is an abbreviation for Digital Video Broadcasting - Satellite. It is the Digital Video Broadcasting forward error coding and modulation standard for satellite television. This is used via satellites.
        • DVB-C – Is an abbreviation for Digital Video Broadcasting – Cable. It is the DVB European consortium standard for the broadcast transmission of digital television over cable. This system transmits MPEG-2 or MPEG-4 audio and video streams using a QAM modulation.
        • DVB-T - Is an abbreviation for Digital Video Broadcasting – Terrestrial. It is the DVB European-based consortium standard for the broadcast transmission of digital terrestrial television. This system transmits compressed audio, video and other data in the MPEG format using the COFDM modulation.

        Note: Ensure that you have the DVB card installed on your PC.

        DVB-S – You can stream a live TV from a PC using the DVB-S option. To stream

        1. Select Open Capture Device from the Media menu. The Open dialog box is displayed.
        2. Select the Open Capture Device tab.
        3. Select DVB DirectShow from the Capture Mode list.
        4. Select DVB-S from DVB Type under the Card Selection group. In the Options group, specify the following
        5. Select Transponder/multiplex frequency to set the transponder frequency. A transponder is a device that receives, amplifies and retransmits a signal on a different frequency.
        6. Select Transponder symbol rate to set the transponder symbol rate.
        7. Click on the Advanced options button to specify the following parameters:
          • Caching value in ms – Refers to caching value for the DirectShow stream. Enter a value in milliseconds.
          • Transponder / multiplex frequency - A transponder is a device that receives, amplifies and retransmits a signal on a different frequency. Select a frequency.
          • Inversion Mode - Description to be added
          • Satellite polarization – Polarization is a method of giving transmission signals a specific direction. The signals transmitted by a satellite can be polarized in four ways and they are: Horizontal, Vertical, Circular Left and Circular Right. Select an option.
          • Network identifier – Refers to a unique ID used to identify a network. Select a number from the Network identifier list.
          • Satellite Azhimuth – Azhimuth is an angular measurement made in the horizontal plane. Enter a value.
          • Satellite Elevation– This option defines the angle between the Earth and the position of a satellite. Enter a value.
          • Satellite Longitude – Refers to the satellite longitude in 10ths of degree. Enter a value.
          • Antenna lnb_lof1 – Refers to low band local Osc Freq in kHz. Enter a value in kHz.
          • Antenna lnb_lof2 - Refers to high band local Osc Freq in kHz. Enter a value in kHz.
          • Antenna lnb_slof – Refers to low noise block switch freq in kHz. Enter a value in kHz.
          • Transponder FEC – Refers to the forward error correction mode. Enter a value in kHz.
          • Transponder symbol rate in kHz Description to be added
          • Modulation Type – Refers to the QAM constellation points. The available values are 16, 32, 64, 126, and 256.
          • Terrestrial high priority stream code rate (FEC) – Refers to the high priority FEC Rate. The available values are Undefined, 1/2, 2/3, 3/4, 5/6 and 7/8.
          • Terrestrial low priority stream code rate (FEC) – Refers to the low priority FEC Rate. The available values are Undefined, 1/2, 2/3, 3/4, 5/6, and 7/8.
          • Terrestrial bandwidth - Description to be added
          • Terrestrial guard interval – Refers to a parameter that is used in encoding and modulation. Select an interval from the list.
          • Terrestrial transmission mode - Description to be added
          • Terrestrial hierarchy mode - Description to be added

        DVB-C - You can stream digital TV using digital signal cables. The following is a procedure to stream content using the DVB-C standard.

        1. Select Open Capture Device from the Media menu. The Open dialog box is displayed.
        2. Select the Open Capture Device tab.
        3. Select DVB DirectShow from the Capture Mode list.
        4. Select DVB-C from DVB Type under the Card Selection group.
        5. Select Transponder/multiplex frequency to set the transponder frequency.
        6. Select Transponder symbol rate to set the transponder symbol rate.
        7. Select an extra media if you want some background music using Show more options. Refer to [[#Playing_more_than_one_media_filePlaying more than one media file.
        8. Select Convert to select the encoding formats and click on the Save button. Refer to Converting and Saving a Media File Format.
        9. Click on the Play button to play the media.
        10. Click on the Cancel button to exit the screen.

        DVB-T - Follow the procedure below to stream DVB-T channels:

        1. Select Open Capture Device from the Media menu. The Open dialog box is displayed.
        2. Select the Open Capture Device tab.
        3. Select DVB DirectShow from the Capture Mode list.
        4. Select DVB-T from DVB Type under the Card Selection group.
        5. Select Transponder/Multiplex frequency to set the transponder frequency.
        6. Select Bandwidth to set the terrestrial bandwidth.
        7. Select an extra media if you want some background music using Show more options. Refer to Playing more than one media file.
        8. Click on the Play button to play the media.
        9. Click on the Cancel button to exit the screen.

        Note: The Advanced Options for the DVB-C and DVB-T are the same as the Advanced Options for the DVB-S.

        Desktop - You can capture all your mouse movements and application actions and save the video in the selected format. This option is used to record the on-screen activity on your Windows desktop. For example, you can create videos to demonstrate the features or usage of a software.

        1. To capture the desktop, select Open Capture Device from the Media menu. The Open dialog box is displayed.
        2. Select the Open Capture Device tab.
        3. Select Desktop from the Capture Mode list.
        4. Enter a frame rate in the Desired frame rate for the capture box.
        5. Select Convert to select the encoding formats and click on the Save button. Refer to Converting and Saving a media file format.
        6. Select an extra media if you want some background music using Show more options. Refer to Playing more than one media file.
        7. Click on the Play button to play the media.
        8. Click on the Cancel button to exit the screen.

        Streaming Media Files

        Streaming is a method of delivering audio or video content across the network without downloading a file before it is played. You can view or listen to the content as it arrives. The advantage is that you need not download large files to watch a movie or listen to music. VideoLAN is designed to stream MPEG videos on high bandwidth networks.

        VLC can be used as a server to stream MPEG-1, MPEG-2 and MPEG-4 files, DVDs and live videos on the network in unicast or multicast.

        Unicast refers to a process where media files are sent to a single system through the network. Multicast refers to a process where media files are sent to multiple systems through the network.

        VLC is also used as a client to receive, decode and display MPEG streams. MPEG-1, MPEG-2 and MPEG-4 streams received from the network or video from a camcorder can be sent to one machine or a group of machines.

        Streamingdiag.JPG

        To stream a file

        1. Select Streaming from the Media menu. The Open dialog box is displayed. The Open File tab is selected by default.
        2. Select the media file from the options available such as a file, a network, a disc or a capture device.
        3. Click on Stream. The Stream Output dialog box is displayed. Refer to Specifying Streaming Options.
        4. Click on Stream in the Stream Output dialog box.

        Note: When the streaming is being done, the slider moves to show the progress.

        Converting and Saving a Media File Format

        VLC media player is the best option for multimedia conversion. It can convert different media formats to the format of your preference. To convert a media file

        1. Select Open File from the Media menu. The Open dialog box is displayed.
        2. Select a media file and click on the Open button. The media file is played.
        3. Select Convert/Save from the Media menu. The Open dialog box is displayed.
        4. Select the media file and click on Convert. The Stream Output dialog box is displayed. Refer to Specifying Streaming Options

        Audio

        See Documentation:Play HowTo/Basic Use 0.9/Audio

        Video

        See Documentation:Play HowTo/Basic Use 0.9/Video

        Playback

        See Documentation:Play HowTo/Basic Use 0.9/Playback

        Playlist

        See Documentation:Play HowTo/Basic Use 0.9/Playlist

        Subtitles

        See Documentation:Play HowTo/Basic Use 0.9/Subtitles

        Video and audio filters

        See Documentation:Play HowTo/Basic Use 0.9/Video and Audio Filters

        Snapshots (aka, screenshots)

        See Documentation:Play HowTo/Basic Use 0.9/Snapshots

        Hotkeys

        See also: QtHotkeys, HotKeys, How to set global hotkeys.

        Most of VLC functions are accessible using hotkeys.

        The list of the available hotkeys and their functions can be retrieved and altered in the preferences panel of the player. In the wxWidgets interface, preferences are available in the "Settings" menu, "Preferences" menu item. In the MacOS X interface, open the "VLC" menu, and select "Preferences". Select the "Hot keys" panel in the dialog.

        As of version 0.9, a list of hotkeys is presented in a drop-down window. To change one, double-click its name to select it. Then, press the new key that will trigger the specified action. Modifier keys (such as Control/Command and Alt) may also be used.

        In earlier versions, several boxes give the list of modifiers for the hotkey. To trigger an action using a hotkey, you need to press simultaneously the keys corresponding to the different selected modifiers as well as the key set in the dropdown.

        To change the binding of a hotkey, select or deselect boxes corresponding to the different modifiers, and change the key by using the drop-down menu. Select the Save button to apply the changes.

        intf-wx-hotkeys.jpg The Hotkeys Panel - wxWidgets interface- needs verifying for 0.9

        intf-osx-hotkeys.jpg The Hotkeys Panel - MacOS X interface- needs verifying for 0.9

        Basic troubleshooting

        File does not play, only sound or only video

        Maybe the file you are trying to read is not fully supported. VLC does not use the codec packs (the software that decodes video signals) you might have installed. It comes with its own codecs. If there is no open-source decoder for the format you are trying to read, it won't be supported. (There is an exception, under Windows, for codecs that use the DirectShow framework.)

        To find out, open the Messages Window (View menu) and restart your stream. Look for error messages (red messages)

        intf-wx-messages.jpg The wxWidgets messages window- needs verifying for 0.9

        In this example, the file contains a IV41 video stream, a codec that is not supported by VLC.

        You may of course have other messages. If you post to a VideoLAN mailing list or in the forum, please include such a log. It is very valuable in troubleshooting.

        Weird VLC behavior and crashes

        A very common thing is a corrupted VLC preferences file. Don't hesitate to delete it if problems appear suddenly. You will find in the FAQ details on how to delete your preferences file.

        Computer crashes / Video is corrupted

        Another common problem is buggy video drivers. Try upgrading them from the website of your video card's manufacturer.

        Also, you can try disabling Overlay (Preferences/General/Video, untick "Overlay video output")

        The settings got messed up and now I have a problem

        See How to delete preferences and cache

        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.