TODO: completely outdated
This page is outdated and information might be incorrect. Create an account to start editing, and then click here to update this article. |
All standard operations of VLC should be available from the GUI. However, some complex operations can only be done from the command line and there are situations in which you don't need or want a GUI. Here is the complete description of VLC's command line and how to use it.
You need to be quite comfortable with command line usage to use this.
Install the mozilla-plugin-vlc package using your preferred package manager. For example, at the command line enter: # apt-get update # apt-get install mozilla-plugin-vlc Windows. Quit Firefox or Mozilla. Select the Mozilla Plugin option when installing VLC Media Player. The installer will then automatically detect your browser and install the. VideoLAN, VLC, VLC media player and x264 are trademarks internationally registered by the VideoLAN non-profit organization. VideoLAN software is licensed under various open-source licenses: use and distribution are defined by each software license. Design by Made By Argon. Some icons are licensed under the CC BY-SA 3.0+.
VLC uses a modular structure. The core mainly manages communication between modules. All the multimedia processing is done by modules. There are input modules, demultiplexers, decoders, video output modules, ...
This chapter will only describe the 'general' options, i.e. the core options. Each module adds new options. For example, the HTTP input module will add options for caching, proxy, authentication, ...
By using vlc --help, you will get the basic core options. vlc --longhelp will give all the basic options (core + modules). Adding --advanced will give the 'advanced options' (for advanced users). So vlc --longhelp --advanced will give you all options. You can also append --help-verbose if you want more detailed help.
Also, you might want to get debug information. To do this, use -v or -vv (this will show lower severity messages). If your console supports it, you can add --color to get messages in color.
The following commands start VLC and start reading the given element(s):
Start VLC with:
VLC should be able to recognize the file type. If it does not, you can force demultiplexer and decoder (see below).
A list of all video and audio codecs supported by VLC check the VLC features list.
Start VLC with:
For a DVD with menus:
In most cases, vlc dvd:// or vlc dvd://[device] will do. [device] is for example /dev/dvd on GNU/Linux or D: on Windows (complete path to your DVD drive).
or
(DVD without menus):
or
(VCD):
or
(Audio CD):
To receive an unicastRTP/UDP stream (sent by VLC's stream output), start VLC with:
If 5004 is the port to which packets are sent. 1234 is another commonly used port number. you use the default port (1234), vlc rtp:// will do. For more information, look at the Streaming Howto.
To receive an multicast UDP/RTP stream (sent by VLC's stream output), start VLC with:
To receive a SSM (source specific multicast) stream, you can use:
This only works on Operating systems that support SSM (Windows XP and Linux).
To receive a HTTP stream, start VLC with:
To receive a RTSP stream, start VLC with:</para>
VLC always tries to select the most appropriate interface, input and output modules, among the ones available on the system, according to the stream it is given to read. However, you may wish to force the use of a specific module with the following options.
You can get a listing of the available modules by using vlc -l
The Stream output system allows vlc to become a streaming server.
For more details on the stream output system, please have a look at the Streaming HowTo.
You can see the various options for 'grabbing the desktop' (VLC's built-in screen grabber capture device) by using the GUI. See https://forum.videolan.org/viewtopic.php?f=4&t=46971
You should probably not touch these options unless you know what you are doing.
There are many options that are related to items (like --novideo, --codec, --fullscreen).
For all of these, you have the possibility to make them item-specific, using ':' instead of '--' and putting the option just after the concerned item.
Examples:
will play file1.mpg in fullscreen mode and file2.mpg in the default mode (which is generally no fullscreen), whereas
will play both files in fullscreen mode
will play file1.mpg in windowed (no-fullscreen) mode with the subtitles file file1.srt and will play file2.mpg with video filter distort enabled in fullscreen mode (item-specific options override global options).
These are the old style VLC filters. They only apply to on screen display and thus cannot be streamed. However, on version 1.1.11 you are still able to apply these filters in transcode module using parameter vfilter. More information can be found on Documentation:Streaming HowTo/Advanced Streaming Using the Command Line#vfilter.
Module name: deinterlace
Module name: invert
Module name: adjust
Module name: wall This filter splits the output in several windows.
Module name: transform
Module name: distort
This filter clones the output window.
Module name: clone
Module name: croppadd
Module name: motionblur
Module name: blend
Module name: scale
These are the new VLC filters. They can be streamed.
Module name: marq
Module name: logo
<image>[,<delay in ms>[,<alpha>]][;<image>[,<delay>[,<alpha>]]][;...]
.--logo-file
option. default value: 1000This filter can be used both as an old style filter or a subpictures filter.
Note: You can move the logo by left-clicking on it.
VLC ships with a little HTTP server integrated. It is used both to stream using HTTP, and for the HTTP remote control interface.
To start VLC with the HTTP interface, use:
If you want to have both the 'normal' interface and the HTTP interface, use vlc --extraintf http.
The HTTP interface will start listening at host:port (<all interfaces>:8080 if omitted), and will reproduce the structure of /directory at http://host:port/
( vlc_source_path/share/http if omitted ).
Use a browser to go to http://your_host_machine:port
. You should be taken to the main page.
VLC is shipped with a set of files that should be enough for generic needs. It is also possible to customize pages. See Documentation:Play HowTo/Building Pages for the HTTP Interface.
Available pages for 1.0.3 :
VLC includes a number of so-called interfaces that are not really interfaces, but means of. Nevertheless, they are enabled by setting them as interface or extra interface, either in the Preferences, in General/Interface, or using -I or --extraintf on the command line.
This module allows you to control VLC and playback via hotkeys. It is always enabled by default. You can use hotkeys in the video output window, you can't in the audio dummy interface.
Hotkeys can be hacked by:
Code is composed by modifiers keys (Alt, Shift, Ctrl, Meta,Command) separated by a dash (-) and terminated by a key (a...z, +, =, -, ',', +, <, >, `, /, ;, ', , [, ], *, Left, Right, Up, Down, Space, Enter, F1...F12, Home, End, Menu, Esc, Page Up, Page Down, Tab, Backspace, Mouse Wheel Up and Mouse Wheel Down). Main controls are available from hotkeys, such as : fullscreen, play-pause, faster, slower, next, prev, stop, quit, vol-up, etc. (use the --longhelp option for full list of functions). For example, for binding fullscreen to Ctrl-f, run:
The list of the default hotkeys is available here.
These two interfaces allow you to control VLC from a command shell (possibly using a remote connexion or a Unix socket).
Start VLC with -I rc or --extraintf rc. When you get the Remote control interface initialized, `h' for help message, press h and Enter to get help about available commands.
To be able to remote connect to your VLC using a TCP socket (telnet-like connexion), use --rc-host your_host:port. Then, by connecting (using telnet or netcat) to the host on the given port, you will get the command shell.
To use a UNIX socket (local socket, this does not work for Windows), use --rc-unix /path/to/socket. Commands can then be passed using this UNIX socket.
The RTCI interface gives you more advanced options, such as marquee control for the marquee subpicture filter (See filter section).
This is a text interface, using ncurses library.
Start VLC with -I ncurses or --extraintf ncurses.
The ncurses interface
Press h to get the list of all available commands, with a short description.
There is also a filebrowser available for the ncurses interface in order to add playlist items. Press 'B' to use it.
The ncurses filebrowser
You can set the filebrowser starting point by launching vlc with the --browse-dir option:
Gestures provide a simple mouse gestures control. TODO
VLC can also be embedded in a web browser! The following browsers are supported: Firefox and Safari.
Install the mozilla-plugin-vlc package using your preferred package manager. For example, at the command line enter:
Quit Firefox or Mozilla.
Select the Mozilla Plugin option when installing VLC Media Player. The installer will then automatically detect your browser and install the plugin.
Restart Firefox or Mozilla.
In 'Mozilla Firefoxplugins'
Create the directory if it doesn't exist.
Folders to copy:
Files to copy:
The Mozilla/Safari plugin for macOS is only available from vlc version 0.8.5.1 and onwards.
Quit Safari browser.
Download the Mozilla/safari plugin package from macOS download page.
Run the installer from the dmg image.
Please look at the developers page for information on how to do this.
If in the browser you open a link to an audio or video URL handled by the VLC plugin, or if a web page has HTML code that embeds audio or video handled by the VLC plugin, then the plugin should start and play the audio/video.Note the plugin (as of version 1.1.9) does not present any user interface — it has no default control panel and no keyboard shortcuts.
To get the list of the media types handled by the VLC plugin, browse to about:plugins.Conflicts will arise if you have more than one plugin installed that supports the same media type.
See the Web plugin documentation to create HTML pages that use JavaScript to control the plugin.
Did you know you can use special codes to automatically generate filenames in the Snapshot Tool?
This section specifies how to enable the audiobargraph audio filter and video overlay, (mostly) via the GUI. This displays an audio meter overlaid on the video.
There are three parts - an audio filter, which sends it's output via TCP to the Remote Control (RC) Interface. This information is then picked up and displayed by the Audio Bar Graph video subpicture filter (OSD).
To enable this, VLC needs to be started with the --rc-host command-line switch - e.g.
In the GUI, set the following (this example from VLC v1.1.9 on Windows 7):
by Christine Smith • 2021-04-20 17:08:31 • Proven solutions
Windows and Mac computers use different types of disk image files. In the macOS environment, Apple uses DMG. On the other hand, Windows uses ISO, which is also compatible with the Linux environment. However, ISO is also functional in Mac. Such compatibility makes ISO files, especially for software installation, better than DMG. This means that DMG to ISO conversion is inevitable. The first step in converting DMG to ISO online or offline is understanding both file types. The second is knowing whether to convert DMG to ISO on Mac, Windows or online. All this information is well laid out below.
DMG is the short form for the term Disk Image file. It refers to a file format that creates a mountable disk image that is used in Mac computers. In simpler terms, it is the digital form of the physical disc. The DMG file stores compressed software installing tools for Mac. Therefore, when you download any Mac program online, the file downloaded is likely to be a DMG format. Basically, a program is usually downloaded from a software manufacturer’s site.
Upon mounting the file, the generation of a virtual disk takes place from where you can copy the program to applications or simply run the installation script; choosing between these two options depends on the installation type. A DMG file comprises of a raw block of data that is encrypted in various encryption methods and compressed through multiple compression algorithms as well. If you wish to protect a DMG file, you can always apply a password.
DMG files are usable only on Mac computers and hence not compatible with Windows operating systems. If you would like disk image files in your Windows computer, you must use ISO files, which use the International Organization for Standardization file format. ISO files are perfect at mounting disk image files in any Windows operating system, especially the most recent, Windows 8 and 10.
Some people use them to emulate DVDs, CD or other disk drives virtually. An ISO file also holds the disk images of operating systems such as Linux that you can copy in the USB drive or burn into a disk. It can further send Windows software installation files online. However, a binary package with the MSI installer is used to send the files.
Unlike DMG files, ISO files are compatible with Mac operating systems. On the other hand, the ISO format lacks features like compression algorithms and encryption methods. Since ISO files are compatible with Mac and Windows, it is advisable to turn DMG into ISO.
As soon as you understand What a DMG file is, how to convert it to ISO is a valuable process to learn, since you may want to mount DMG on your Windows computer. The popular DMG format converter, dmg2img, is the best tool to get the job done. The steps below will help you with how to convert DMG to ISO on Windows using this tool.
Step 1: Acquire dmg2img and begin DMG to ISO conversion.
The first step involves downloading the DMG to ISO converter, dmg2img, and installing it into your computer. Ensure that you click on the win32 binary link during the download process. After its acquisition, locate it in the Download folder and right-click on it. From the options presented in the pop-up, select Extract All.
Step 2: Choose the best location for the extracted binary file.
Here, you will be asked to select the most suitable location for the extracted binary file. The Download folder appears to be the best location.
Step 3: Enter command syntax.
To convert DMG to ISO Windows free, hold down the Shift key and then immediately right-click on Downloads library. A context menu will appear, where you should click on the Open command window here option.
Convert the DMG file by entering this command syntax: dmg2img <source file.dmg> <destination file.iso>
Hit on Enter after input of the syntax and your DMG will be converted to ISO.
Considering that Apple uses DMG as the native disk format, the convert DMG to ISO Mac process is quite simpler and free as well. There are two ways to handle the convert DMG file to ISO Mac procedure. The most common method involves using Disk Utility, while the other involves applying the command line.
If you prefer the Disk Utility method, here are the steps to follow:
Step 1: Mount DMG file.
Start by mounting the DMG file through double-clicking it.
Step 2: Open Disk Utility.
To open Disk Utility, first, go to Utilities and then select Disk Utility.
Step 3: Convert DMG to ISO.
To convert DMG to ISO using Disk Utility, right-click on the DMG Mount and proceed to choose the Convert function from the list presented.
Step 4: Confirm conversion.
A dialog will open, whereby you should click on Image Format, choose DVD/CD master and then select Save for DMG to ISO conversion confirmation.
If you must rely on the Command Line method, use the following procedure to turn DMG to ISO on Mac.
Step 1: Open Terminal.
To open Terminal, go to Utilities and click on Terminal.
Step 2: Enter respective file paths.
Input the following file paths and then press the Enter function to confirm the operation.
hdiutil convert /path/to/example.dmg -format UDTO -o /path/to/example.iso
In this example, /path/to/example.dmg and /path/to/example.iso represent paths of the files.
After completion, your ISO file will be recognizable due to the.CDR extension. Proceed to rename the file to.ISO.
The process of how to convert DMG file to ISO file is not restricted to the above methods. So, you can transform DMG to ISO online with Mac or Windows. Since several websites offer such conversion services, you must be selective in what you use. The best DMG to ISO online converter is YouConvertIt.com, a site that focuses on offering the best quality conversion methods. Other converter websites provide a simple process that unfortunately gives unsatisfactory results.
With YouConvertIt.com, you will have an opportunity to use a perfected conversion procedure that will give you the highest quality. It ensures that the converted file remains similar to the original. This DMG to ISO online tool supports multiple other formats including 3PG, JPG, BMP, ODP, AVI, DDS, DNG, and TIFF, among others. It makes how to convert DMG to such formats extremely easy, especially for new users.
Here is the procedure to use DMG to ISO converter free tool to turn DMG to ISO.
1. Upload the respective DMG file in the space provided by dragging it or clicking on Choose a file. This file should not exceed 100MB.
2. Go to the Convert to: function on the bottom left and choose the target format, ISO, and then click on Convert, which is on the bottom right.
3. As soon as DMG is converted to ISO, you will get a notification stating that the conversion process was successful. Below, click on Download to get the ISO file.
Conclusion
DMG and ISO file types are similar because they serve the same purpose. However, they are different because while DMG files only function in Mac, ISO works in Mac, Windows, and even Linux systems. So, ISO appears more usable and so you may need to convert DMG to ISO.