MacOS

From VideoLAN Wiki
Revision as of 07:25, 19 October 2014 by DoesItReallyMatter (talk | contribs) (grammar)
Jump to navigation Jump to search

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 VLC's 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 Command 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 Command and Shift keys and pressing the left/right arrow keys, jumps the video backward/forward about a minute.
  • When playing video, holding the Command 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 has been 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}

-I rc is so that it doesn't 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

Another Example

I had a heck of a time getting this to work the way I wanted it. I kept attempting a command-line execution of VLC to only get the following response (not what I wanted):

VLC media player 2.0.2 Twoflower (revision 2.0.2-9-gd1b4a63)
[0x100283cd0] [cli] lua interface: Listening on host "*console".
VLC media player 2.0.2 Twoflower
Command Line Interface initialized. Type `help' for help.

What I wasn't doing apparently was specifying the location of the source movie.

Eventually I ran this:

vlc /Users/username/Desktop/my_movie.mp4 --intf=rc --sout "#transcode{vcodec=VP80,vb=800,scale=1,acodec=vorbis,ab=128,channels=2}:std{access=file,mux="ffmpeg{mux=webm}",dst=my_first_transcoded_movie.webm}"

HINT This would be the same as if you didn't have an alias for vlc that pointed to the actual Applications executable:

/Applications/VLC.app/Contents/MacOS/VLC /Users/username/Desktop/mymovie.mp4 --intf=rc --sout "#transcode{vcodec=VP80,vb=800,scale=1,acodec=vorbis,ab=128,channels=2}:std{access=file,mux="ffmpeg{mux=webm}",dst=my_first_transcoded_movie.webm}"

Hopefully, I'll add to this post when the transcoding finishes and I see my results (I have no idea if I've got the correct options for vp8/vorbis webm-container transcoding).....

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?

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