Difference between revisions of "File"

From VideoLAN Wiki
Jump to navigation Jump to search
 
Line 6: Line 6:
 
If no other protocols are used, file:// is assumed:
 
If no other protocols are used, file:// is assumed:
 
  % vlc "C:\My Music\Abracadabra.mp3"
 
  % vlc "C:\My Music\Abracadabra.mp3"
 +
 +
==Source code==
 +
{{file|modules/access/file.c|access module}}

Revision as of 20:42, 7 March 2007

??
VLC uses this protocol (or access module) to read data from a device or network.

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"

Source code