Difference between revisions of "File"

From VideoLAN Wiki
Jump to navigation Jump to search
(New section →‎Module options)
m (Change template parameters (per revision 60997))
 
Line 1: Line 1:
{{protocol|id=file}}
+
{{protocol|file}}
 
The '''file''' protocol plays files on your PC through the normal file system. This includes your hard drive and any data [[CD]]s or data [[DVD]]s you have (in [[Linux]], these must be [[wikipedia:Mount (computing)|mounted]] before use).
 
The '''file''' protocol plays files on your PC through the normal file system. This includes your hard drive and any data [[CD]]s or data [[DVD]]s you have (in [[Linux]], these must be [[wikipedia:Mount (computing)|mounted]] before use).
  

Latest revision as of 04:36, 19 April 2019

file
VLC uses this protocol (or access module) to read data from a device or network.
This protocol is handled by the file module.

The file protocol plays files on your PC through the normal file system. This includes your hard drive and any data CDs or data DVDs you have (in Linux, these must be mounted before use).

For example:

% vlc "file://C:\My Music\Abracadabra.mp3"

If no other protocols are used, file:// is assumed:

% vlc "C:\My Music\Abracadabra.mp3"

Module options

See Documentation:Modules/file

Source code