neulab/tldr huggingface dataset:
EXAMPLE: mplayer dvd://1 -alang hu,en Chooses the Hungarian language track on a DVD and falls back on English if Hungarian is not available. mplayer -alang jpn example.mkv Plays a Matroska file in Japanese.
-audio-demuxer <[+]name> (-audiofile only) Force audio demuxer type for -audiofile.  Use a '+' before the name to force it, this will skip some checks!  Give the demuxer name as printed by -audio-demuxer help.  For backward compatibility it also accepts the demuxer ID as defined in libmpdemux/demuxer.h.  -audio-demuxer audio or -audio-demuxer 17 forces MP3.
-audiofile <filename> Play audio from an external file (WAV, MP3 or Ogg Vorbis) while viewing a movie.
-audiofile-cache <kBytes> Enables caching for the stream used by -audiofile, using the specified amount of memory.
-reuse-socket (udp:// only) Allows a socket to be reused by other processes as soon as it is closed.
-bandwidth <Bytes> (network only) Specify the maximum bandwidth for network streaming (for servers that are able to send content in different bitrates).  Useful if you want to watch live streamed media behind a slow connection. With Real RTSP streaming, it is also used to set the maximum delivery bandwidth allowing faster cache filling and stream dumping.
-bluray-angle <angle ID> (Blu-ray only) Some Blu-ray discs contain scenes that can be viewed from multiple angles.  Here you can tell MPlayer which angles to use (default: 1).
-bluray-device <path to disc> (Blu-ray only) Specify the Blu-ray disc location. Must be a directory with Blu-ray structure.
-cache <kBytes> This option specifies how much memory (in kBytes) to use when precaching a file or URL.  Especially useful on slow media.
-nocache Turns off caching.
-cache-min <percentage> Playback will start when the cache has been filled up to <percentage> of the total.
-cache-seek-min <percentage> If a seek is to be made to a position within <percentage> of the cache size from the current position, MPlayer will wait for the cache to be filled to this position rather than performing a stream seek (default: 50).
-capture (MPlayer only) Allows capturing the primary stream (not additional audio tracks or other kind of streams) into the file specified by -dumpfile or by default.  If this option is given, capturing can be started and stopped by pressing the key bound to this function (see section INTERACTIVE CONTROL).  Same as for -dumpstream, this will likely not produce usable results for anything else than MPEG streams. Note that, due to cache latencies, captured data may begin and end somewhat delayed compared to what you see displayed.
-cdda <option1:option2> (CDDA only) This option can be used to tune the CD Audio reading feature of MPlayer.
Available options are:
speed=<value> Set CD spin speed.
paranoia=<0-2> Set paranoia level.  Values other than 0 seem to break playback of anything but the first track. 0: disable checking (default) 1: overlap checking only 2: full data correction and verification
generic-dev=<value> Use specified generic SCSI device.
sector-size=<value> Set atomic read size.
overlap=<value> Force minimum overlap search during verification to <value> sectors.
toc-bias Assume that the beginning offset of track 1 as reported in the TOC will be addressed as LBA 0.  Some Toshiba drives need this for getting track boundaries correct.
toc-offset=<value> Add <value> sectors to the values reported when addressing tracks.  May be negative.
(no)skip (Never) accept imperfect data reconstruction.
-cdrom-device <path to device> Specify the CD-ROM device (default: /dev/cdrom).
-channels <number> (also see -af channels) Request the number of playback channels (default: 2).  MPlayer asks the decoder to decode the audio into as many channels as specified.  Then it is up to the decoder to fulfill the requirement.  This is usually only important when playing videos with AC-3 audio (like DVDs).  In that case liba52 does the decoding by default and correctly downmixes the audio into the requested number of channels.  To directly control the number of output channels independently of how many channels are decoded, use the channels filter. NOTE: This option is honored by codecs (AC-3 only), filters (surround) and audio output drivers (OSS at least).
2    stereo 4    surround 6    full 5.1 8    full 7.1
-chapter <chapter ID>[-<endchapter ID>] Specify which chapter to start playing at.  Optionally specify which chapter to end playing at (default: 1).
-cookies (network only) Send cookies when making HTTP requests.
-cookies-file <filename> (network only) Read HTTP cookies from <filename> (default: ~/.mozilla/ and ~/.netscape/) and skip reading from default locations.  The file is assumed to be in Netscape format.
-delay <sec> audio delay in seconds (positive or negative float value) Negative values delay the audio, and positive values delay the video.  Note that this is the exact opposite of the -audio-delay MEncoder option. NOTE: When used with MEncoder, this is not guaranteed to work correctly with -ovc copy; use -audio-delay instead.
-ignore-start Ignore the specified starting time for streams in AVI files.  In MPlayer, this nullifies stream delays in files encoded with the -audio-delay option.  During encoding, this option prevents MEncoder from transferring original stream start times to the new file; the -audio-delay option is not affected.  Note that MEncoder sometimes adjusts stream starting times automatically to compensate for anticipated decoding delays, so do not use this option for encoding without testing it first.
-demuxer <[+]name> Force demuxer type.  Use a '+' before the name to force it, this will skip some checks!  Give the demuxer name as printed by -demuxer help.  For backward compatibility it also accepts the demuxer ID as defined in libmpdemux/demuxer.h.
-dumpaudio (MPlayer only) Dumps raw compressed audio stream to ./stream.dump (useful with MPEG/AC-3, in most other cases the resulting file will not be playable).  If you give more than one of -dumpaudio, -dumpvideo, -dumpstream on the command line only the last one will work.
-dumpfile <filename> (MPlayer only) Specify which file MPlayer should dump to.  Should be used together with -dumpaudio / -dumpvideo / -dumpstream / -capture.
-dumpstream (MPlayer only) Dumps the raw stream to ./stream.dump.  Useful when ripping from DVD or network.  If you give more than one of -dumpaudio, -dumpvideo, -dumpstream on the command line only the last one will work.
-dumpvideo (MPlayer only) Dump raw compressed video stream to ./stream.dump (not very usable).  If you give more than one of -dumpaudio, -dumpvideo, -dumpstream on the command line only the last one will work.
-dvbin <options> (DVB only) Pass the following parameters to the DVB input module, in order to override the default ones:
card=<1-4> Specifies using card number 1-4 (default: 1). file=<filename> Instructs MPlayer to read the channels list from <filename>.  Default is ~/.mplayer/ channels.conf.{sat,ter,cbl,atsc} (based on your card type) or ~/.mplayer/channels.conf as a last resort. timeout=<1-240> Maximum number of seconds to wait when trying to tune a frequency before giving up (default: 30).
-dvd-device <path to device> (DVD only) Specify the DVD device or .iso filename (default: /dev/dvd).  You can also specify a directory that contains files previously copied directly from a DVD (with e.g. vobcopy).
-dvd-speed <factor or speed in KB/s> (DVD only) Try to limit DVD speed (default: 0, no change).  DVD base speed is about 1350KB/s, so a 8x drive can read at speeds up to 10800KB/s. Slower speeds make the drive more quiet, for watching DVDs 2700KB/s should be quiet and fast enough.  MPlayer resets the speed to the drive default value on close.  Values less than 100 mean multiples of 1350KB/s, i.e. -dvd-speed 8 selects 10800KB/s. NOTE: You need write access to the DVD device to change the speed.
-dvdangle <angle ID> (DVD only) Some DVD discs contain scenes that can be viewed from multiple angles.  Here you can tell MPlayer which angles to use (default: 1).
-edl <filename> Enables edit decision list (EDL) actions during playback.  Video will be skipped over and audio will be muted and unmuted according to the entries in the given file.  See http://www.mplayerhq.hu/ DOCS/HTML/en/edl.html for details on how to use this.
-endpos <[[hh:]mm:]ss[.ms]|size[b|kb|mb]> (also see -ss and -sb) Stop at given time or byte position. NOTE: Byte position may not be accurate, as it can only stop at a frame boundary.  When used in conjunction with -ss option, -endpos time will shift forward by seconds specified with -ss if not a byte position.  In addition it may not work well or not at all when used with any of the -dump options.
EXAMPLE: -endpos 56 Stop at 56 seconds. -endpos 01:10:00 Stop at 1 hour 10 minutes. -ss 10 -endpos 56 Stop at 1 minute 6 seconds. mplayer -endpos 100mb Stop playback after reading 100MB of the input file. mencoder -endpos 100mb Encode only 100 MB.
-forceidx Force index rebuilding.  Useful for files with broken index (A/V desync, etc).  This will enable seeking in files where seeking was not possible.  You can fix the index permanently with MEncoder (see the documentation). NOTE: This option only works if the underlying media supports seeking (i.e. not with stdin, pipe, etc).
-fps <float value> Override video framerate.  Useful if the original value is wrong or missing.
-frames <number> Play/convert only first <number> frames, then quit.
-hr-mp3-seek (MP3 only) Hi-res MP3 seeking.  Enabled when playing from an external MP3 file, as we need to seek to the very exact position to keep A/V sync.  Can be slow especially when seeking backwards since it has to rewind to the beginning to find an exact frame position.
-http-header-fields <field1,field2> Set custom HTTP fields when accessing HTTP stream.
EXAMPLE: mplayer -http-header-fields 'Field1: value1','Field2: value2' http://localhost:1234 Will generate HTTP request: GET / HTTP/1.0 Host: localhost:1234 User-Agent: MPlayer Icy-MetaData: 1 Field1: value1 Field2: value2 Connection: close
-idx (also see -forceidx) Rebuilds index of files if no index was found, allowing seeking. Useful with broken/incomplete downloads, or badly created files. NOTE: This option only works if the underlying media supports seeking (i.e. not with stdin, pipe, etc).
-noidx Skip rebuilding index file.  MEncoder skips writing the index with this option.
-ipv4-only-proxy (network only) Skip the proxy for IPv6 addresses.  It will still be used for IPv4 connections.
-lavfstreamopts <options> Specify extra options for libavformat based streams.
-loadidx <index file> The file from which to read the video index data saved by -saveidx.  This index will be used for seeking, overriding any index data contained in the AVI itself.  MPlayer will not prevent you from loading an index file generated from a different AVI, but this is sure to cause unfavorable results. NOTE: This option is obsolete now that MPlayer has OpenDML support.
-mc <seconds/frame> maximum A-V sync correction per frame (in seconds) -mc 0 should always be combined with -noskip for mencoder, otherwise it will almost certainly cause A-V desync.
-mf <option1:option2:...> Used when decoding from multiple PNG or JPEG files.
w=<value> input file width (default: autodetect) h=<value> input file height (default: autodetect) fps=<value> output fps (default: 25) type=<value> input file type (available: jpeg, png, tga, sgi)
-ni    Force treating files as non-interleaved.  In particular forces usage of non-interleaved AVI parser (fixes playback of some bad AVI files).  Can also help playing files that otherwise play audio and video alternating instead of at the same time.  This can significantly increase memory usage, thus it would be preferable to fix interleaving of affected files.
-nobps (AVI only) Do not use average byte/second value for A-V sync.  Helps with some AVI files with broken header.
-noextbased Disables extension-based demuxer selection.  By default, when the file type (demuxer) cannot be detected reliably (the file has no header or it is not reliable enough), the filename extension is used to select the demuxer.  Always falls back on content-based demuxer selection.
-passwd <password> (also see -user) (network only) Specify password for HTTP authentication.
-prefer-ipv4 (network only) Use IPv4 on network connections.  Falls back on IPv6 automatically.
-prefer-ipv6 (IPv6 network only) Use IPv6 on network connections.  Falls back on IPv4 automatically.
-psprobe <byte position> When playing an MPEG-PS or MPEG-PES streams, this option lets you specify how many bytes in the stream you want MPlayer to scan in order to identify the video codec used.  This option is needed to play EVO or VDR files containing H.264 streams.
-pvr <option1:option2:...> (PVR only) This option tunes various encoding properties of the PVR capture module.  It has to be used with any hardware MPEG encoder based card supported by the V4L2 driver.  The Hauppauge WinTV PVR-150/250/350/500 and all IVTV based cards are known as PVR capture cards.  Be aware that only Linux 2.6.18 kernel and above is able to handle MPEG stream through V4L2 layer.  For hardware capture of an MPEG stream and watching it with MPlayer/MEncoder, use 'pvr://' as a movie URL.
aspect=<0-3> Specify input aspect ratio: 0: 1:1 1: 4:3 (default) 2: 16:9 3: 2.21:1
arate=<32000-48000> Specify encoding audio rate (default: 48000 Hz, available: 32000, 44100 and 48000 Hz).
alayer=<1-5> Specify MPEG audio layer encoding (default: 2).
abitrate=<32-448> Specify audio encoding bitrate in kbps (default: 384).
amode=<value> Specify audio encoding mode.  Available preset values are 'stereo', 'joint_stereo', 'dual' and 'mono' (default: stereo).
vbitrate=<value> Specify average video bitrate encoding in Mbps (default: 6).
vmode=<value> Specify video encoding mode: vbr: Variable BitRate (default) cbr: Constant BitRate
vpeak=<value> Specify peak video bitrate encoding in Mbps (only useful for VBR encoding, default: 9.6).
fmt=<value> Choose an MPEG format for encoding: ps:    MPEG-2 Program Stream (default) ts:    MPEG-2 Transport Stream mpeg1: MPEG-1 System Stream vcd:   Video CD compatible stream svcd:  Super Video CD compatible stream dvd:   DVD compatible stream
-radio <option1:option2:...> (radio only) These options set various parameters of the radio capture module. For listening to radio with MPlayer use 'radio://<frequency>' (if channels option is not given) or 'radio://<channel_number>' (if channels option is given) as a movie URL.  You can see allowed frequency range by running MPlayer with '-v'.  To start the grabbing subsystem, use 'radio://<frequency or channel>/capture'. If the capture keyword is not given you can listen to radio using the line-in cable only.  Using capture to listen is not recommended due to synchronization problems, which makes this process uncomfortable.
device=<value> Radio device to use (default: /dev/radio0 for Linux and /dev/tuner0 for *BSD).
driver=<value> Radio driver to use (default: v4l2 if available, otherwise v4l).  Currently, v4l and v4l2 drivers are supported.
volume=<0..100> sound volume for radio device (default 100)
freq_min=<value> (*BSD BT848 only) minimum allowed frequency (default: 87.50)
freq_max=<value> (*BSD BT848 only) maximum allowed frequency (default: 108.00)
channels=<frequency>-<name>,<frequency>-<name>,... Set channel list.  Use _ for spaces in names (or play with quoting ;-).  The channel names will then be written using OSD and the slave commands radio_step_channel and radio_set_channel will be usable for a remote control (see LIRC).  If given, number in movie URL will be treated as channel position in channel list. EXAMPLE: radio://1, radio://104.4, radio_set_channel 1
adevice=<value> (radio capture only) Name of device to capture sound from.  Without such a name capture will be disabled, even if the capture keyword appears in the URL.  For ALSA devices use it in the form hw=<card>.<device>.  If the device name contains a '=', the module will use ALSA to capture, otherwise OSS.
arate=<value> (radio capture only) Rate in samples per second (default: 44100). NOTE: When using audio capture set also -rawaudio rate=<value> option with the same value as arate.  If you have problems with sound speed (runs too quickly), try to play with different rate values (e.g. 48000,44100,32000,...).
achannels=<value> (radio capture only) Number of audio channels to capture.
-rawaudio <option1:option2:...> This option lets you play raw audio files.  You have to use -demuxer rawaudio as well.  It may also be used to play audio CDs which are not 44kHz 16-bit stereo.  For playing raw AC-3 streams use -rawaudio format=0x2000 -demuxer rawaudio.
channels=<value> number of channels rate=<value> rate in samples per second samplesize=<value> sample size in bytes bitrate=<value> bitrate for rawaudio files format=<value> fourcc in hex
-rawvideo <option1:option2:...> This option lets you play raw video files.  You have to use -demuxer rawvideo as well.
fps=<value> rate in frames per second (default: 25.0) sqcif|qcif|cif|4cif|pal|ntsc set standard image size w=<value> image width in pixels h=<value> image height in pixels i420|yv12|yuy2|y8 set colorspace format=<value> colorspace (fourcc) in hex or string constant.  Use -rawvideo format=help for a list of possible strings. size=<value> frame size in Bytes
EXAMPLE: mplayer foreman.qcif -demuxer rawvideo -rawvideo qcif Play the famous "foreman" sample video. mplayer sample-720x576.yuv -demuxer rawvideo -rawvideo w=720:h=576 Play a raw YUV sample.
-referrer <string> (network only) Specify a referrer path or URL for HTTP requests.
-rtsp-port Used with 'rtsp://' URLs to force the client's port number.  This option may be useful if you are behind a router and want to forward the RTSP stream from the server to a specific client.
-rtsp-destination Used with 'rtsp://' URLs to force the destination IP address to be bound.  This option may be useful with some RTSP server which do not send RTP packets to the right interface.  If the connection to the RTSP server fails, use -v to see which IP address MPlayer tries to bind to and try to force it to one assigned to your computer instead.
-rtsp-stream-over-tcp (LIVE555 and NEMESI only) Used with 'rtsp://' URLs to specify that the resulting incoming RTP and RTCP packets be streamed over TCP (using the same TCP connection as RTSP).  This option may be useful if you have a broken internet connection that does not pass incoming UDP packets (see http://www.live555.com/mplayer/).
-rtsp-stream-over-http (LIVE555 only) Used with 'http://' URLs to specify that the resulting incoming RTP and RTCP packets be streamed over HTTP.
-saveidx <filename> Force index rebuilding and dump the index to <filename>. Currently this only works with AVI files. NOTE: This option is obsolete now that MPlayer has OpenDML support.
-sb <byte position> (also see -ss) Seek to byte position.  Useful for playback from CD-ROM images or VOB files with junk at the beginning.
-speed <0.01-100> Slow down or speed up playback by the factor given as parameter. Not guaranteed to work correctly with -oac copy.  Add -af scaletempo to get past the 4x limit on playback.
-srate <Hz> Select the output sample rate to be used (of course sound cards have limits on this).  If the sample frequency selected is different from that of the current media, the resample or lavcresample audio filter will be inserted into the audio filter layer to compensate for the difference.  The type of resampling can be controlled by the -af-adv option.  The default is fast resampling that may cause distortion.
-ss <time> (also see -sb) Seek to given time position.  Use -ss nopts to disable seeking, -ss 0 has different behaviour.
EXAMPLE: -ss 56 Seeks to 56 seconds. -ss 01:10:00 Seeks to 1 hour 10 min.
-tskeepbroken Tells MPlayer not to discard TS packets reported as broken in the stream.  Sometimes needed to play corrupted MPEG-TS files.
-tsprobe <byte position> When playing an MPEG-TS stream, this option lets you specify how many bytes in the stream you want MPlayer to search for the desired audio and video IDs.
-tsprog <1-65534> When playing an MPEG-TS stream, you can specify with this option which program (if present) you want to play.  Can be used with -vid and -aid.
-tv <option1:option2:...> (TV/PVR only) This option tunes various properties of the TV capture module. For watching TV with MPlayer, use 'tv://' or 'tv://<channel_number>' or even 'tv://<channel_name> (see option channels for channel_name below) as a movie URL.  You can also use 'tv:///<input_id>' to start watching a movie from a composite or S-Video input (see option input for details).
noaudio no sound
automute=<0-255> (v4l and v4l2 only) If signal strength reported by device is less than this value, audio and video will be muted.  In most cases automute=100 will be enough.  Default is 0 (automute disabled).
driver=<value> See -tv driver=help for a list of compiled-in TV input drivers.  available: dummy, v4l, v4l2, bsdbt848 (default: autodetect)
device=<value> Specify TV device (default: /dev/video0).  NOTE: For the bsdbt848 driver you can provide both bktr and tuner device names separating them with a comma, tuner after bktr (e.g. -tv device=/dev/bktr1,/dev/tuner1).
input=<value> Specify input (default: 0 (TV), see console output for available inputs).
freq=<value> Specify the frequency to set the tuner to (e.g. 511.250). Not compatible with the channels parameter.
outfmt=<value> Specify the output format of the tuner with a preset value supported by the V4L driver (yv12, rgb32, rgb24, rgb16, rgb15, uyvy, yuy2, i420) or an arbitrary format given as hex value.  Try outfmt=help for a list of all available formats.
width=<value> output window width
height=<value> output window height
fps=<value> framerate at which to capture video (frames per second)
buffersize=<value> maximum size of the capture buffer in megabytes (default: dynamical)
norm=<value> For bsdbt848 and v4l, PAL, SECAM, NTSC are available.  For v4l2, see the console output for a list of all available norms, also see the normid option below.
normid=<value> (v4l2 only) Sets the TV norm to the given numeric ID.  The TV norm depends on the capture card.  See the console output for a list of available TV norms.
channel=<value> Set tuner to <value> channel.
chanlist=<value> available: argentina, australia, china-bcast, europe-east, europe-west, france, ireland, italy, japan-bcast, japan- cable, newzealand, russia, southafrica, us-bcast, us- cable, us-cable-hrc
channels=<chan>-<name>[=<norm>],<chan>-<name>[=<norm>],... Set names for channels.  NOTE: If <chan> is an integer greater than 1000, it will be treated as frequency (in kHz) rather than channel name from frequency table. Use _ for spaces in names (or play with quoting ;-).  The channel names will then be written using OSD, and the slave commands tv_step_channel, tv_set_channel and tv_last_channel will be usable for a remote control (see LIRC).  Not compatible with the frequency parameter. NOTE: The channel number will then be the position in the 'channels' list, beginning with 1. EXAMPLE: tv://1, tv://TV1, tv_set_channel 1, tv_set_channel TV1
[brightness|contrast|hue|saturation]=<-100-100> Set the image equalizer on the card.
audiorate=<value> Set input audio sample rate.
forceaudio Capture audio even if there are no audio sources reported by v4l.
alsa Capture from ALSA.
amode=<0-3> Choose an audio mode: 0: mono 1: stereo 2: language 1 3: language 2
forcechan=<1-2> By default, the count of recorded audio channels is determined automatically by querying the audio mode from the TV card.  This option allows forcing stereo/mono recording regardless of the amode option and the values returned by v4l.  This can be used for troubleshooting when the TV card is unable to report the current audio mode.
adevice=<value> Set an audio device.  <value> should be /dev/xxx for OSS and a hardware ID for ALSA.  You must replace any ':' by a '.' in the hardware ID for ALSA.
audioid=<value> Choose an audio output of the capture card, if it has more than one.
[volume|bass|treble|balance]=<0-65535> (v4l1)
[volume|bass|treble|balance]=<0-100> (v4l2) These options set parameters of the mixer on the video capture card.  They will have no effect, if your card does not have one.  For v4l2 50 maps to the default value of the control, as reported by the driver.
gain=<0-100> (v4l2) Set gain control for video devices (usually webcams) to the desired value and switch off automatic control.  A value of 0 enables automatic control.  If this option is omitted, gain control will not be modified.
immediatemode=<bool> A value of 0 means capture and buffer audio and video together (default for MEncoder).  A value of 1 (default for MPlayer) means to do video capture only and let the audio go through a loopback cable from the TV card to the sound card.
mjpeg Use hardware MJPEG compression (if the card supports it). When using this option, you do not need to specify the width and height of the output window, because MPlayer will determine it automatically from the decimation value (see below).
decimation=<1|2|4> choose the size of the picture that will be compressed by hardware MJPEG compression: 1: full size 704x576    PAL 704x480    NTSC 2: medium size 352x288    PAL 352x240    NTSC 4: small size 176x144    PAL 176x120    NTSC
quality=<0-100> Choose the quality of the JPEG compression (< 60 recommended for full size).
tdevice=<value> Specify TV teletext device (example: /dev/vbi0) (default: none).
tformat=<format> Specify TV teletext display format (default: 0): 0: opaque 1: transparent 2: opaque with inverted colors 3: transparent with inverted colors
tpage=<100-899> Specify initial TV teletext page number (default: 100).
tlang=<-1-127> Specify default teletext language code (default: 0), which will be used as primary language until a type 28 packet is received.  Useful when the teletext system uses a non- latin character set, but language codes are not transmitted via teletext type 28 packets for some reason. To see a list of supported language codes set this option to -1.
hidden_video_renderer (dshow only) Terminate stream with video renderer instead of Null renderer (default: off).  Will help if video freezes but audio does not.  NOTE: May not work with -vo directx and -vf crop combination.
hidden_vp_renderer (dshow only) Terminate VideoPort pin stream with video renderer instead of removing it from the graph (default: off).  Useful if your card has a VideoPort pin and video is choppy.  NOTE: May not work with -vo directx and -vf crop combination.
system_clock (dshow only) Use the system clock as sync source instead of the default graph clock (usually the clock from one of the live sources in graph).
normalize_audio_chunks (dshow only) Create audio chunks with a time length equal to video frame time length (default: off).  Some audio cards create audio chunks about 0.5s in size, resulting in choppy video when using immediatemode=0.
-tvscan <option1:option2:...> (TV and MPlayer only) Tune the TV channel scanner.  MPlayer will also print value for "-tv channels=" option, including existing and just found channels.
Available suboptions are:
autostart Begin channel scanning immediately after startup (default: disabled).
period=<0.1-2.0> Specify delay in seconds before switching to next channel (default: 0.5).  Lower values will cause faster scanning, but can detect inactive TV channels as active.
threshold=<1-100> Threshold value for the signal strength (in percent), as reported by the device (default: 50).  A signal strength higher than this value will indicate that the currently scanning channel is active.
-user <username> (also see -passwd) (network only) Specify username for HTTP authentication.
-user-agent <string> Use <string> as user agent for HTTP streaming.
-vid <ID> Select video channel (MPG: 0-15, ASF: 0-255, MPEG-TS: 17-8190). When playing an MPEG-TS stream, MPlayer/MEncoder will use the first program (if present) with the chosen video stream.
-vivo <suboption> (DEBUG CODE) Force audio parameters for the VIVO demuxer (for debugging purposes).  FIXME: Document this.
OSD/SUBTITLE OPTIONS NOTE: Also see -vf expand.
-ass (FreeType only) Turn on SSA/ASS subtitle rendering.  With this option, libass will be used for SSA/ASS external subtitles and Matroska tracks.  You may also want to use -embeddedfonts. NOTE: Unlike normal OSD, libass uses fontconfig by default. To disable it, use -nofontconfig.
-ass-border-color <value> Sets the border (outline) color for text subtitles.  The color format is RRGGBBAA.
-ass-bottom-margin <value> Adds a black band at the bottom of the frame.  The SSA/ASS renderer can place subtitles there (with -ass-use-margins).
-ass-color <value> Sets the color for text subtitles.  The color format is RRGGBBAA.
-ass-font-scale <value> Set the scale coefficient to be used for fonts in the SSA/ASS renderer.
-ass-force-style <[Style.]Param=Value[,...]> Override some style or script info parameters.
EXAMPLE: -ass-force-style FontName=Arial,Default.Bold=1 -ass-force-style PlayResY=768
-ass-hinting <type> Set hinting type.  <type> can be: 0    no hinting 1    FreeType autohinter, light mode 2    FreeType autohinter, normal mode 3    font native hinter 0-3 + 4 The same, but hinting will only be performed if the OSD is rendered at screen resolution and will therefore not be scaled. The default value is 7 (use native hinter for unscaled OSD and no hinting otherwise).
-ass-line-spacing <value> Set line spacing value for SSA/ASS renderer.
-ass-styles <filename> Load all SSA/ASS styles found in the specified file and use them for rendering text subtitles.  The syntax of the file is exactly like the [V4 Styles] / [V4+ Styles] section of SSA/ASS.
-ass-top-margin <value> Adds a black band at the top of the frame.  The SSA/ASS renderer can place toptitles there (with -ass-use-margins).
-ass-use-margins Enables placing toptitles and subtitles in black borders when they are available.
-dumpjacosub (MPlayer only) Convert the given subtitle (specified with the -sub option) to the time-based JACOsub subtitle format.  Creates a dumpsub.js file in the current directory.
-dumpmicrodvdsub (MPlayer only) Convert the given subtitle (specified with the -sub option) to the MicroDVD subtitle format.  Creates a dumpsub.sub file in the current directory.
-dumpmpsub (MPlayer only) Convert the given subtitle (specified with the -sub option) to MPlayer's subtitle format, MPsub.  Creates a dump.mpsub file in the current directory.
-dumpsami (MPlayer only) Convert the given subtitle (specified with the -sub option) to the time-based SAMI subtitle format.  Creates a dumpsub.smi file in the current directory.
-dumpsrtsub (MPlayer only) Convert the given subtitle (specified with the -sub option) to the time-based SubViewer (SRT) subtitle format.  Creates a dumpsub.srt file in the current directory. NOTE: Some broken hardware players choke on SRT subtitle files with Unix line endings.  If you are unlucky enough to have such a box, pass your subtitle files through unix2dos or a similar program to replace Unix line endings with DOS/Windows line endings.
-dumpsub (MPlayer only) (BETA CODE) Dumps the subtitle substream from VOB streams.  Also see the -dump*sub and -vobsubout* options.
-embeddedfonts (FreeType only) Enables extraction of Matroska embedded fonts (default: disabled). These fonts can be used for SSA/ASS subtitle rendering (-ass option).  Font files are created in the ~/.mplayer/fonts directory. NOTE: With FontConfig 2.4.2 or newer, embedded fonts are opened directly from memory, and this option is enabled by default.
-ffactor <number> Resample the font alphamap.  Can be: 0    plain white fonts 0.75 very narrow black outline (default) 1    narrow black outline 10   bold black outline
-flip-hebrew (FriBiDi only) Turns on flipping subtitles using FriBiDi.
-noflip-hebrew-commas Change FriBiDi's assumptions about the placements of commas in subtitles.  Use this if commas in subtitles are shown at the start of a sentence instead of at the end.
-font <path to font.desc file, path to font (FreeType), font pattern (Fontconfig)> Search for the OSD/subtitle fonts in an alternative directory (default for normal fonts: ~/.mplayer/font/font.desc, default for FreeType fonts: ~/.mplayer/subfont.ttf, default for Fontconfig: "sans-serif"). NOTE: With FreeType, this option determines the path to the font file.  With Fontconfig, this option determines the Fontconfig font pattern.
EXAMPLE: -font ~/.mplayer/arial-14/font.desc -font ~/.mplayer/arialuni.ttf -font 'Bitstream Vera Sans' -font 'Bitstream Vera Sans:style=Bold'
-fontconfig (fontconfig only) Enables the usage of fontconfig managed fonts (default: autodetect). NOTE: By default fontconfig is used for libass-rendered subtitles and not used for OSD. With -fontconfig it is used for both libass and OSD, with -nofontconfig it is not used at all, i.e. only then -font and -subfont will work with a given path to font.
-forcedsubsonly Display only forced subtitles for the DVD subtitle stream selected by e.g. -slang.
-fribidi-charset <charset name> (FriBiDi only) Specifies the character set that will be passed to FriBiDi when decoding non-UTF-8 subtitles (default: ISO8859-8).
-ifo <VOBsub IFO file> Indicate the file that will be used to load palette and frame size for VOBsub subtitles.
-noautosub Turns off automatic subtitle file loading.  Note: VOBsub subtitles are not affected.
-osd-duration <time> Set the duration of the OSD messages in ms (default: 1000).
-osd-fractions <0-2> Set how fractions of seconds of the current timestamp are printed on the OSD: 0    Do not display fractions (default). 1    Show the first two decimals. 2    Show approximated frame count within current second.  This frame count is not accurate but only an approximation. For variable fps, the approximation is known to be far off the correct frame count.
-osdlevel <0-3> (MPlayer only) Specifies which mode the OSD should start in. 0    subtitles only 1    volume + seek (default) 2    volume + seek + timer + percentage 3    volume + seek + timer + percentage + total time
-overlapsub Allows the next subtitle to be displayed while the current one is still visible (default is to enable the support only for specific formats).
-progbar-align <0-100> Specify the vertical alignment of the progress bar (0: top, 100: bottom, default is 50, i.e. centered).
-sid <ID> (also see -slang, -vobsubid) Display the subtitle stream specified by <ID> (0-31).  MPlayer prints the available subtitle IDs when run in verbose (-v) mode. If you cannot select one of the subtitles on a DVD, also try -vobsubid.
-nosub Disables any otherwise auto-selected internal subtitles (as e.g. the Matroska/mkv demuxer supports).  Use -noautosub to disable the loading of external subtitle files.
-slang <language code[,language code,...]> (also see -sid) Specify a priority list of subtitle languages to use.  Different container formats employ different language codes.  DVDs use ISO 639-1 two letter language codes, Matroska uses ISO 639-2 three letter language codes while OGM uses a free-form identifier. MPlayer prints the available languages when run in verbose (-v) mode.
EXAMPLE: mplayer dvd://1 -slang hu,en Chooses the Hungarian subtitle track on a DVD and falls back on English if Hungarian is not available. mplayer -slang jpn example.mkv Plays a Matroska file with Japanese subtitles.
-spuaa <mode> Antialiasing/scaling mode for DVD/VOBsub.  A value of 16 may be added to <mode> in order to force scaling even when original and scaled frame size already match.  This can be employed to e.g. smooth subtitles with gaussian blur.  Available modes are: 0    none (fastest, very ugly) 1    approximate (broken?) 2    full (slow) 3    bilinear (default, fast and not too bad) 4    uses swscaler gaussian blur (looks very good)
-spualign <-1-2> Specify how SPU (DVD/VOBsub) subtitles should be aligned. -1   original position 0   Align at top (original behavior, default). 1   Align at center. 2   Align at bottom.
-spugauss <0.0-3.0> Variance parameter of gaussian used by -spuaa 4.  Higher means more blur (default: 1.0).
-sub <subtitlefile1,subtitlefile2,...> Use/display these subtitle files.  Only one file can be displayed at the same time.
-sub-bg-alpha <0-255> Specify the alpha channel value for subtitles and OSD backgrounds. Big values mean more transparency.  0 means completely transparent.
-sub-bg-color <0-255> Specify the color value for subtitles and OSD backgrounds. Currently subtitles are grayscale so this value is equivalent to the intensity of the color.  255 means white and 0 black.
-sub-demuxer <[+]name> (-subfile only) (BETA CODE) Force subtitle demuxer type for -subfile.  Use a '+' before the name to force it, this will skip some checks!  Give the demuxer name as printed by -sub-demuxer help.  For backward compatibility it also accepts the demuxer ID as defined in subreader.h.
-sub-fuzziness <mode> Adjust matching fuzziness when searching for subtitles (does not apply to VOBsub): 0    exact match (default) 1    Load all subs containing movie name. 2    Load all subs in the current and -sub-paths directories.
-sub-no-text-pp Disables any kind of text post processing done after loading the subtitles.  Used for debug purposes.
-subalign <0-2> Specify which edge of the subtitles should be aligned at the height given by -subpos. 0    Align subtitle top edge (original behavior). 1    Align subtitle center. 2    Align subtitle bottom edge (default).
-subcc <1-8> Display DVD Closed Caption (CC) subtitles from the specified channel.  Values 5 to 8 select a mode that can extract EIA-608 compatibility streams from EIA-708 data.  These are not the VOB subtitles, these are special ASCII subtitles for the hearing impaired encoded in the VOB userdata stream on most region 1 DVDs. CC subtitles have not been spotted on DVDs from other regions so far.
-subcp <codepage> (iconv only) If your system supports iconv(3), you can use this option to specify the subtitle codepage. It takes priority over both -utf8 and -unicode.
EXAMPLE: -subcp latin2 -subcp cp1250
-subcp enca:<language>:<fallback codepage> (ENCA only) You can specify your language using a two letter language code to make ENCA detect the codepage automatically.  If unsure, enter anything and watch mplayer -v output for available languages.  Use __ (two underscores) if your language is not supported.  Fallback codepage specifies the codepage to use, when autodetection fails.
EXAMPLE: -subcp enca:cs:latin2 Guess the encoding, assuming the subtitles are Czech, fall back on latin 2, if the detection fails. -subcp enca:pl:cp1250 Guess the encoding for Polish, fall back on cp1250. -subcp enca:__:latin1 Generic detection (mostly unicode) with latin1 fallback.
-sub-paths <path1,path2,...> Specify extra subtitle paths to track in the media directory.
EXAMPLE: Assuming that /path/to/movie/movie.avi is played and -sub-paths sub,subtitles,/tmp/subs is specified, MPlayer searches for subtitle files in these directories: /path/to/movie/ /path/to/movie/sub/ /path/to/movie/subtitles/ /tmp/subs/ ~/.mplayer/sub/
-subdelay <sec> Delays subtitles by <sec> seconds.  Can be negative.
-subfile <filename> (BETA CODE) Currently useless.  Same as -audiofile, but for subtitle streams (OggDS?).
-subfont <path to font (FreeType), font pattern (Fontconfig)> (FreeType only) Sets the subtitle font (see -font).  If no -subfont is given, -font is used.
-subfont-autoscale <0-3> (FreeType only) Sets the autoscale mode. NOTE: 0 means that text scale and OSD scale are font heights in points.
The mode can be:
0    no autoscale 1    proportional to movie height 2    proportional to movie width 3    proportional to movie diagonal (default)
-subfont-blur <0-8> (FreeType only) Sets the font blur radius (default: 2).
-subfont-encoding <value> Sets the font encoding.  When set to 'unicode', all the glyphs from the font file will be rendered and unicode will be used (default: unicode). (Without FreeType, setting any other value than 'unicode' will disable unicode glyphs rendering for font.desc files. With FreeType and for other values than 'unicode' your system has to support iconv(3) in order for this to work.)
-subfont-osd-scale <0-100> (FreeType only) Sets the autoscale coefficient of the OSD elements (default: 6).
-subfont-outline <0-8> (FreeType only) Sets the font outline thickness (default: 2).
-subfont-text-scale <0-100> (FreeType only) Sets the subtitle text autoscale coefficient as percentage of the screen size (default: 5).
-subfps <rate> Specify the framerate of the subtitle file (default: movie fps). NOTE: <rate> > movie fps speeds the subtitles up for frame-based subtitle files and slows them down for time-based ones.
-subpos <0-150> (useful with -vf expand) Specify the position of subtitles on the screen.  The value is the vertical position of the subtitle in % of the screen height. Values larger than 100 allow part of the subtitle to be cut off.
-subwidth <10-100> Specify the maximum width of subtitles on the screen.  Useful for TV-out.  The value is the width of the subtitle in % of the screen width.
-noterm-osd Disable the display of OSD messages on the console when no video output is available.
-term-osd-esc <escape sequence> Specify the escape sequence to use before writing an OSD message on the console.  The escape sequence should move the pointer to the beginning of the line used for the OSD and clear it (default: ^[[A\r^[[K).
-unicode Tells MPlayer to handle the subtitle file as unicode. (It will only take effect if neither -subcp nor -utf8 is given.)
-unrarexec <path to unrar executable> (not supported on MingW) Specify the path to the unrar executable so MPlayer can use it to access rar-compressed VOBsub files (default: not set, so the feature is off).  The path must include the executable's filename, i.e. /usr/local/bin/unrar.
-utf8 Tells MPlayer to handle the subtitle file as UTF-8. (It will only take effect if -subcp isn't given, and it takes priority over -unicode.)
-vobsub <VOBsub file without extension> Specify a VOBsub file to use for subtitles.  Has to be the full pathname without extension, i.e. without the '.idx', '.ifo' or '.sub'.
-vobsubid <0-31> Specify the VOBsub subtitle ID.
AUDIO OUTPUT OPTIONS (MPLAYER ONLY) -abs <value> (-ao oss only) (OBSOLETE) Override audio driver/card buffer size detection.
-format <format> (also see the format audio filter) Select the sample format used for output from the audio filter layer to the sound card.  The values that <format> can adopt are listed below in the description of the format audio filter.
-mixer <device> Use a mixer device different from the default /dev/mixer.  For ALSA this is the mixer name.
-mixer-channel <mixer line>[,mixer index] (-ao oss and -ao alsa only) This option will tell MPlayer to use a different channel for controlling volume than the default PCM.  Options for OSS include vol, pcm, line.  For a complete list of options look for SOUND_DEVICE_NAMES in /usr/include/linux/soundcard.h.  For ALSA you can use the names e.g. alsamixer displays, like Master, Line, PCM. NOTE: ALSA mixer channel names followed by a number must be specified in the <name,number> format, i.e. a channel labeled 'PCM 1' in alsamixer must be converted to PCM,1.
-softvol Force the use of the software mixer, instead of using the sound card mixer.
-softvol-max <10.0-10000.0> Set the maximum amplification level in percent (default: 110).  A value of 200 will allow you to adjust the volume up to a maximum of double the current level.  With values below 100 the initial volume (which is 100%) will be above the maximum, which e.g. the OSD cannot display correctly.
-volstep <0-100> Set the step size of mixer volume changes in percent of the whole range (default: 3).
-volume <-1-100> (also see -af volume) Set the startup volume in the mixer, either hardware or software (if used with -softvol).  A value of -1 (the default) will not change the volume.
AUDIO OUTPUT DRIVERS (MPLAYER ONLY) Audio output drivers are interfaces to different audio output facilities. The syntax is:
-ao <driver1[:suboption1[=value]:...],driver2,...[,]> Specify a priority list of audio output drivers to be used.
If the list has a trailing ',' MPlayer will fall back on drivers not contained in the list.  Suboptions are optional and can mostly be omitted. NOTE: See -ao help for a list of compiled-in audio output drivers.
EXAMPLE: -ao alsa,oss, Try the ALSA driver, then the OSS driver, then others. -ao alsa:noblock:device=hw=0.3 Sets noblock-mode and the device-name as first card, fourth device.
Available audio output drivers are:
alsa ALSA 0.9/1.x audio output driver noblock Sets noblock-mode. device=<device> Sets the device name.  Replace any ',' with '.' and any ':' with '=' in the ALSA device name.  For hwac3 output via S/PDIF, use an "iec958" or "spdif" device, unless you really know how to set it correctly.
oss OSS audio output driver <dsp-device> Sets the audio output device (default: /dev/dsp). <mixer-device> Sets the audio mixer device (default: /dev/mixer). <mixer-channel> Sets the audio mixer channel (default: pcm).
sdl (SDL only) highly platform independent SDL (Simple Directmedia Layer) library audio output driver <driver> Explicitly choose the SDL audio driver to use (default: let SDL choose).
arts audio output through the aRts daemon
esd audio output through the ESD daemon <server> Explicitly choose the ESD server to use (default: localhost).
jack audio output through JACK (Jack Audio Connection Kit) (no)connect Automatically create connections to output ports (default: enabled).  When enabled, the maximum number of output channels will be limited to the number of available output ports. port=<name> Connects to the ports with the given name (default: physical ports). name=<client Client name that is passed to JACK (default: MPlayer [<PID>]).  Useful if you want to have certain connections established automatically. (no)estimate Estimate the audio delay, supposed to make the video playback smoother (default: enabled). (no)autostart Automatically start jackd if necessary (default: disabled).  Note that this seems unreliable and will spam stdout with server messages.
nas audio output through NAS
coreaudio (Mac OS X only) native Mac OS X audio output driver device_id=<id> ID of output device to use (0 = default device) help List all available output devices with their IDs.
openal Experimental OpenAL audio output driver
pulse PulseAudio audio output driver [<host>[:<output sink>[:broken_pause]]] Specify the host and optionally output sink to use.  An empty <host> string uses a local connection, "localhost" uses network transfer (most likely not what you want). You can also explicitly force the workaround for broken pause functionality (default: autodetected).  To only enable that without specifying a host/sink the syntax is -ao pulse:::broken_pause
sgi (SGI only) native SGI audio output driver <output device name> Explicitly choose the output device/interface to use (default: system-wide default).  For example, 'Analog Out' or 'Digital Out'.
sun (Sun only) native Sun audio output driver <device> Explicitly choose the audio device to use (default: /dev/ audio).
win32 (Windows only) native Windows waveout audio output driver
dsound (Windows only) DirectX DirectSound audio output driver device=<devicenum> Sets the device number to use.  Playing a file with -v will show a list of available devices.
kai (OS/2 only) OS/2 KAI audio output driver uniaud Force UNIAUD mode. dart Force DART mode. (no)share Open audio in shareable or exclusive mode. bufsize=<size> Set buffer size to <size> in samples (default: 2048).
dart (OS/2 only) OS/2 DART audio output driver (no)share Open DART in shareable or exclusive mode. bufsize=<size> Set buffer size to <size> in samples (default: 2048).
dxr2 (also see -dxr2) (DXR2 only) Creative DXR2 specific output driver
v4l2 (requires Linux 2.6.22+ kernel) Audio output driver for V4L2 cards with hardware MPEG decoder.
mpegpes (DVB only) Audio output driver for DVB cards that writes the output to an MPEG-PES file if no DVB card is installed. card=<1-4> DVB card to use if more than one card is present.  If not specified MPlayer will search the first usable card. file=<filename> output filename
null Produces no audio output but maintains video playback speed.  Use -nosound for benchmarking.