Difference between revisions of "MacOS"

From VideoLAN Wiki
Jump to navigation Jump to search
(→‎Command line: more readable commandlines)
(added command examples)
Line 43: Line 43:
  
 
You can run VLC on Mac OS X using a terminal application (for example Terminal.app in /Applications/Utilities) with the following command:
 
You can run VLC on Mac OS X using a terminal application (for example Terminal.app in /Applications/Utilities) with the following command:
  ./VLC.app/Contents/MacOS/VLC [your options, "--intf=rc" for example]
+
  /Applications/VLC.app/Contents/MacOS/VLC [your options, "--intf=rc" for example]
 
On most Bourne-like shells, you can set an alias to just vlc with the following command:
 
On most Bourne-like shells, you can set an alias to just vlc with the following command:
 
  alias vlc='/Applications/VLC.app/Contents/MacOS/VLC'
 
  alias vlc='/Applications/VLC.app/Contents/MacOS/VLC'
Line 49: Line 49:
  
 
This option can also be activated from the "VLC" menu.
 
This option can also be activated from the "VLC" menu.
 +
 +
==== Command line examples ====
 +
Following command does this: Transform video-filter (flip vertically), transcode (save) to file.
 +
 +
/Applications/VLC.app/Contents/MacOS/VLC -I rc --vout-filter=transform --transform-type=vflip /Movie.mov --sout='#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:std{access=file,mux=ts,dst=/output.mp4}'</nowiki>
 +
 +
-I rc is so that it doesnt open the GUI, but stays on the command line version
 +
--vout-filter defines the filter to use
 +
--transform-type defines the attributes of the transform filter
 +
/Movie.mov is the file to convert
 +
--sout= is the stream output chain
 +
/output.mp4 is the output file name
  
 
=== No Dock ===
 
=== No Dock ===
Line 55: Line 67:
  
 
When [[transcoding]], clivlc should be used if running VLC from the command line crashes with a Bus error.
 
When [[transcoding]], clivlc should be used if running VLC from the command line crashes with a Bus error.
 +
 +
You can also specify the option -I rc on the "VLC" executable.
  
 
==Need Help?==
 
==Need Help?==

Revision as of 04:56, 5 February 2010

Installation

VLC

File

Edit

Playback

Audio

Video

Window

Help


Frequently Asked Questions

 view this alone

Graphical Interface

Many people who want to use VLC media player on Mac OS X will be intending to use the standard graphical interface that is provided by vlc. The standard interface consists of the eight menus in the menu bar and the 'VLC - Controller' window that opens up by default. This section outlines what vlc can do for you (at V0.8.6a current active is V3.0.12) and will be completed as I check the use of menu options.

The eight menu bar options are listed below along with the main interesting capabilities under each menu item:

  • VLC which allows you to check for an updated application, to access the preferences and to add an interface.
  • File which allows you to open a media file or an associated file such as subtitles. It also has a wizard to allow the streaming of video or the capturing of a streamed video to a file.
  • Edit which does nothing vlc specific.
  • Playback allows you do do all the things you might expect from a videoplayer, some of these features are duplicated graphically in the 'Controller' window.
  • Audio allows you to control the audio level as well as the output device and the audio track to use from the input.
  • Video allows you to control the video display on your screen as well as which device to display on and which video source to show in that display.
  • Window allows you to display seven helper windows that will display information about vlcs activity and control more detail of that activity.
  • Help gives access to the help that came with the installation, the help info on the VideoLAN site and access to interaction mechanisms with the vlc developers.

In general, for many users, they find that they can get what they want from vlc 'straight out of the box' and have very little need of the menu options until they have been using vlc for a while and now want to try something 'more fancy'.

Keyboard Shortcuts

You can find most of the keyboard shortcuts by taking a look at the menus. Additional hotkeys are defined in the section "Hotkeys" of your VLC preferences.

Some handy key combo's are:

  • You can use the spacebar to start/pause the video.
  • When playing video, holding down the Apple key and pressing the F key enters and exits fullscreen. When in fullscreen you can also use the escape key to exit the fullscreen state.
  • When playing video, holding the Apple and Shift keys and pressing the left/right arrow keys, jumps the video backward/forward about a minute.
  • When playing video, holding the Apple and Ctrl keys and pressing the left/right arrow keys, jumps the video backward/forward about ten seconds.
  • When you are watching a DVD and the video window is the front-most window you can use the arrow keys and the enter key to navigate the DVD menus.
  • F - Decrease Audio Delay in milliseconds
  • G - Increase Audio Delay in milliseconds
  • H - Decrease Subtitle Delay
  • J - Increase Subtitle Delay

Latest developments

Streaming Wizard

A streaming wizard is available since the VLC media player 0.8.4 release. This is available under the "File" menu.

Command line

You can run VLC on Mac OS X using a terminal application (for example Terminal.app in /Applications/Utilities) with the following command:

/Applications/VLC.app/Contents/MacOS/VLC [your options, "--intf=rc" for example]

On most Bourne-like shells, you can set an alias to just vlc with the following command:

alias vlc='/Applications/VLC.app/Contents/MacOS/VLC'

It can be helpful to add this command to your shell setup file.

This option can also be activated from the "VLC" menu.

Command line examples

Following command does this: Transform video-filter (flip vertically), transcode (save) to file.

/Applications/VLC.app/Contents/MacOS/VLC -I rc --vout-filter=transform --transform-type=vflip /Movie.mov --sout='#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:std{access=file,mux=ts,dst=/output.mp4}'</nowiki>

-I rc is so that it doesnt open the GUI, but stays on the command line version --vout-filter defines the filter to use --transform-type defines the attributes of the transform filter /Movie.mov is the file to convert --sout= is the stream output chain /output.mp4 is the output file name

No Dock

Note that you can replace the "VLC" at the end of the path with "clivlc" to suppress the launch of any Mac-like interface. VLC won't even appear in the Dock then.

When transcoding, clivlc should be used if running VLC from the command line crashes with a Bus error.

You can also specify the option -I rc on the "VLC" executable.

Need Help?

View the FAQ on MacOSX only issues or the Common Problems pages.