A value of 0 disables a previous setting e. Overrides the -monitorpixelaspect setting if enabled. Set the aspect of a single pixel of your monitor or TV screen default: 1. A value of 1 means square pixels correct for almost? Disables double buffering, mostly for debugging purposes. Double buffering fixes flicker by storing two frames in memory, and displaying one while decoding another. Do not grab the mouse pointer after a video mode change -vm.
Useful for multihead setups. Do not keep window aspect ratio when resizing windows. Only works with the x11, xv, xmga, xvidix, directx video output drivers. Furthermore under X11 your window manager has to honor window aspect hints. Makes the player window stay on top of other windows. Enables pan-and-scan functionality cropping the sides of e. The range controls how much of the image is cropped.
NOTE: Values between -1 and 0 are allowed as well, but highly experimental and may crash or worse. Use at your own risk! Change the range of the pan-and-scan functionality default: 1. Positive values mean multiples of the default range. This feature is experimental. When black borders are added to adjust for aspect, this determines where they are placed. Values outside the range 0. Rotate display by 90, or degrees. Rotates also the OSD, not just the video image itself.
Currently only supported by the gl video output driver. Set the monitor refreshrate in Hz. Currently only supported by -vo directx combined with the -vm option. Play movie in the root window desktop background.
Desktop background images may cover the movie window, though. Only works with the x11, xv, xmga, xvidix, quartz, corevideo and directx video output drivers. Adjust the saturation of the video signal default: 0.
You can get grayscale output with this option. Specify the screen height for video output drivers which do not know the screen resolution like fbdev, x11 and TV-out. Specify the screen width for video output drivers which do not know the screen resolution like fbdev, x11 and TV-out.
Turns off xscreensaver at startup and turns it on again on exit default: enabled. Set the window title using the media filename, when not set with -title. Supported by Xbased video output drivers. Try to change to a different video mode. Supported by the dga, x11, xv, sdl and directx video output drivers.
If used with the directx video output driver the -screenw, -screenh, -bpp and -refreshrate options can be used to set the new display mode. This tells MPlayer to attach to an existing window. Useful to embed MPlayer in a browser e. This option fills the given window completely, thus aspect scaling, panscan, etc are no longer handled by MPlayer but must be managed by the application that created the window.
In Xinerama configurations i. A value of -2 means fullscreen across the whole virtual display in this case Xinerama information is completely ignored , -1 means fullscreen on the display the window currently is on. The initial position set via the -geometry option is relative to the specified screen.
Will usually only work with "-fstype -fullscreen" or "-fstype none". This option is not suitable to only set the startup screen because it will always display on the given screen in fullscreen mode , -geometry is the best that is available for that purpose currently.
Display in black and white. Select a part of the input image to display, multiple occurrences of this option switch on cinerama mode. In cinerama mode the movie is distributed over more than one TV or beamer to create a larger image. Options appearing after the n-th -zrcrop apply to the n-th MJPEG card, each card should at least have a -zrdev in addition to the -zrcrop.
For examples, see the output of -zrhelp and the Zr section of the documentation. Specify the device special file that belongs to your MJPEG card, by default the zr video output driver takes the first v4l device it can find.
Force decimation: Decimation, as specified by -zrhdec and -zrvdec, only happens if the hardware scaler can stretch the image to its original size. Use this option to force decimation. A number from 1 best to 20 worst representing the JPEG encoding quality. If the movie is smaller than the TV screen, this option specifies the x offset from the upper-left corner of the TV screen default: centered. If the movie is smaller than the TV screen, this option specifies the y offset from the upper-left corner of the TV screen default: centered.
Video output drivers are interfaces to different video output facilities. The syntax is: -vo. NOTE: See -vo help for a list of compiled-in video output drivers. Available video output drivers are: xv X11 only. Uses the XVideo extension of XFree86 4. If you cannot use a hardware specific driver, this is probably the best option.
For information about what colorkey is used and how it is drawn run MPlayer with -v option and look out for the lines tagged with [xv common] at the beginning. Shared memory video output driver without hardware acceleration that works whenever X11 is present.
Adds X11 support to all overlay based video output drivers. Also supports displaying of software-decoded video. For positive values, apply a sharpening algorithm to the video, for negative values a blurring algorithm default: 0. Apply a noise reduction algorithm to the video default: 0, no noise reduction. Select the deinterlacer default: 0.
This is the default if "D" is used to enable deinterlacing. Makes temporal deinterlacers operate both on luma and chroma default. Use nochroma-deint to solely use luma and speed up advanced deinterlacing. Useful with slow video memory. Try to skip deinterlacing for progressive frames, useful for watching telecined content, needs fast video hardware for high resolutions. Only works with motion adaptive temporal deinterlacing. In general BT. Using incorrect color space results in slightly under or over saturated and shifted colors.
Guess the color space based on video resolution. Use noforce-mixer to allow displaying BGRA colorspace. Disables all above options and the hardware equalizer if image format BGRA is actually used. Disables image display. Necessary for proper benchmarking of drivers that change image buffers on monitor retrace only nVidia.
Default is not to disable image display nobenchmark. Very simple deinterlacer. Queue frames for display to allow more parallel work of the video hardware. Use sleep function while waiting for rendering to finish not recommended on Linux default: nosleep. Considered obsolete. Very fast video output driver on cards that support it.
Video output driver that uses the Direct3D interface useful for Vista. Turns off hardware acceleration. Try this option if you have display problems. Enable or disable workaround for T23 laptop default: disabled.
Try to enable this option if your video card supports upscaling only. Mac OS X Quartz video output driver. Under some circumstances, it might be more efficient to force a packed YUV output format, with e. Choose the display device to use for fullscreen or set it to -1 to always use the same screen the video window is on default: -1 - auto.
Write output to a shared memory buffer instead of displaying it and try to open an existing NSConnection for communication with a GUI. Explicitly choose the fbdev device name to use e. Specify video mode to use. The mode can be given in a x x format, e. Use only native drawing functions. This avoids direct rendering, OSD and hardware acceleration. Force frame switch on vertical retrace. Usable only with -double. It has the same effect as the -vsync option. OpenGL video output driver, simple version.
Video size must be smaller than the maximum texture size of your OpenGL implementation. Intended to work even with the most basic OpenGL implementations, but also makes use of newer extensions, which allow support for more colorspaces and direct rendering.
Use glxinfo or a similar tool to display the supported OpenGL extensions. This option fixes this, at the expense of using a bit more memory. Always uses PBOs to transfer textures even if this involves an extra copy.
May need -noslices and the ati-hack suboption to work correctly. Changes the way the OSD behaves when the size of the window changes default: disabled. When enabled behaves more like the other video output drivers, which is better for fixed-size fonts.
Disabled looks much better with FreeType fonts and uses the borders in fullscreen mode. Does not work correctly with ass subtitles see -ass , you can instead render them without OpenGL support via -vf ass. Color for OSD default: 0x00ffffff, corresponds to non-transparent white.
Select usage of rectangular textures which saves video RAM, but often is slower default: 0. In some cases only supported in software and thus very slow.
Minimum interval between two buffer swaps, counted in displayed frames default: 1. Values below 0 will leave it at the system default. Note that this will enable a few special settings to get into a special driver fast-path. The default is auto-detection deciding between values 0 and 2. Compatible with all OpenGL versions. Provides brightness, contrast and saturation control. At least three texture units are needed. Provides saturation and hue control.
This method is fast but inexact. Provides brightness, contrast, saturation, hue and gamma control. Gamma can also be set independently for red, green and blue.
Method 4 is usually faster. They exist as distinct values for legacy reasons, MPlayer now inserts the extra instructions for gamma control on-demand.
Extremely slow software emulation on some all? ATI cards since it uses a texture with border pixels. Speed depends more on GPU memory bandwidth than other methods. Select the scaling function to use for luminance scaling. Only valid for yuv modes 2, 3, 4 and 6. Use bicubic B-spline filtering better quality. Needs one additional texture unit. Older cards will not be able to handle this for chroma at least in fullscreen mode. Use cubic filtering in horizontal, linear filtering in vertical direction.
Works on a few more cards than method 1. Use experimental unsharp masking with 3x3 support and a default strength of 0. Use experimental unsharp masking with 5x5 support and a default strength of 0.
Select the scaling function to use for chrominance scaling. For details see lscale. Set how much noise to add.
Select a method for stereo display. You may have to use -aspect to fix the aspect value. Add 32 to swap left and right side. Experimental, do not expect too much from it. Lowest 16 bit give the 4x4 pattern to use default: 0x0f0f. Examples to try: 0x0f0f, 0xf0f0: horizontal lines; 0xaaaa, 0x vertical lines; 0xa5a5, 0x5a5a: checkerboard pattern. The following options are only useful if writing your own fragment programs.
Load a custom fragment program from. Load a custom "gamma ramp" texture from. Default is disabled. If enabled, mipmaps for the video are automatically generated. This should be useful together with the customprog and the TXB instruction to implement blur filters with a large radius. Normally there is no reason to use the following options, they mostly exist for testing purposes.
Call glFinish before swapping buffers. Slower but in some cases more correct output default: disabled. Number of lines copied to texture in one piece default: 0. If the decoder uses slice rendering see -noslices , this setting has no effect, the size of the slices as provided by the decoder is used. If the decoder does not use slice rendering, the default is This option is for testing; to disable the OSD use -osdlevel 0 instead.
Enable or disable aspect scaling and pan-and-scan support default: enabled. Disabling might increase speed. Variant of the OpenGL video output driver. Supports videos larger than the maximum texture size but lacks many of the advanced features and optimizations of the gl driver and is unlikely to be extended further. If set to anything except 0 OSD will be disabled and brightness, contrast and gamma setting is only available via the global X server settings.
Apart from this the values have the same meaning as for -vo gl. Number of text columns to display. Very low values Number of text rows to display. NOTE: The driver does not handle -aspect correctly.
HINT: You probably have to specify -monitorpixelaspect. Video playback using the Blinkenlights UDP protocol. This driver is highly hardware specific. Explicitly choose the Blinkenlights subdevice driver to use. You must specify a subdevice. Explicitly choose the GGI driver to use. Double and triple buffering give best results if you want to avoid tearing issues. Triple buffering is more efficient than double buffering as it does not block MPlayer while waiting for the vertical retrace.
Single buffering should be avoided default: single. Control the output order for interlaced frames default: disabled. This option does not have any effect on progressive film material like most MPEG movies are. You need to enable this option if you have tearing issues or unsmooth motions watching interlaced film material.
Enables CRTC2 second head , displaying video independently of the first head. Enable the use of the Matrox BES backend scaler default: disabled. Gives very good results concerning speed and output quality as interpolated picture processing is done in hardware. Works only on the primary head.
Make use of the Matrox sub picture layer to display the OSD default: enabled. Turn on TV-out on the second head default: enabled. Matrox specific video output driver that makes use of the YUV back end scaler on Gxxx cards through a kernel module. If you have a Matrox card, this is the fastest option. S3 Virge specific video output driver. Only 16 bpp are supported.
This driver employs the tdfxfb framebuffer driver to play movies with YUV acceleration on 3dfx cards. Also see the lavc video filter. Specifies the device number to use if you have more than one em card. Calculate MD5 sums of each frame and write them to a file. Useful for debugging. Transforms the video stream into a sequence of uncompressed YUV images and stores it in a file default:. The format is the same as the one employed by mjpegtools, so this is useful if you want to process the video with the mjpegtools suite.
It supports the YV12 format. You can combine it with the -fixed-vo option to concatenate files with the same dimensions and fps value. NOTE: If you do not specify any option the output is progressive i.
Output each frame into a single animated GIF file in the current directory. It supports only RGB format with 24 bpp and the output is converted to colors. NOTE: You must specify the framerate before the filename or the framerate will be part of the filename. Output each frame into a JPEG file in the current directory. Each file takes the frame number padded with leading zeros as name.
Create numbered subdirectories with the specified prefix to save the files in instead of the current directory. Maximum number of files to be saved per subdirectory. Must be equal to or larger than 1 default: Output each frame into a PNM file in the current directory. Also see pnm 5 , ppm 5 and pgm 5.
Output each frame into a PNG file in the current directory. Specifies the compression level. Specify the prefix to be used for the PNG filenames default: no prefix. Create PNG files with an alpha channel. Note that MPlayer in general does not support alpha, so this will only be useful in some rare cases. Output each frame into a Targa file in the current directory. The purpose of this video output driver is to have a simple lossless image writer to use without any external library.
It supports the BGR[A] color format, with 15, 24 and 32 bpp. You can force a particular format with the format video filter. Specify a priority list of audio codecs to be used, according to their codec name in codecs.
NOTE: See -ac help for a full list of available codecs. Warning: Some features in the audio filters may silently fail, and the sound quality may drop. Warning: It may be possible to crash MPlayer using this setting.
Specify a priority list of audio codec families to be used, according to their codec name in codecs. Falls back on the default codecs if none of the given codec families work. NOTE: See -afm help for a full list of available codec families. Override movie aspect ratio, in case aspect information is incorrect or missing in the file being played. Set first field for interlaced content.
Specify libavcodec decoding parameters. Separate multiple options with a colon. Only use bit-exact algorithms in all decoding steps for codec testing. Enable optimizations which do not comply to the specification and might potentially cause problems, like simpler dequantization, simpler motion compensation, assuming use of the default quantization matrix, assuming YUV and skipping a few checks to detect damaged bitstreams.
For best decoding quality use the same IDCT algorithm for decoding and encoding. This may come at a price in accuracy, though. Decode at lower resolutions. Low resolution decoding is not supported by all codecs, and it will often result in ugly artifacts. This is not a bug, but a side effect of not decoding at full resolution. If is specified lowres decoding will be used only if the width of the video is major than or equal to.
Note that some options may conflict with MEncoder options. Skips the loop filter AKA deblocking during H. Since the filtered frame is supposed to be used as reference for decoding dependent frames this has a worse effect on quality than not doing deblocking on e.
MPEG-2 video. But at least for high bitrate HDTV this provides a big speedup with no visible quality loss. Skips the IDCT step. This degrades quality a lot of in almost all cases see skiploopfilter for available skip values. Skips decoding of frames completely. Big speedup, but jerky motion and sometimes bad artifacts see skiploopfilter for available skip values. Maximum number of threads used for decoding. Not all decoders support threading and decoders with support might stay below the provided limit at their choice.
Wait for a keyframe before displaying anything. Avoids broken frames at startup or after seeking with some formats. May be faster or slower, depending on video card and available cache. It has effect only with libmpeg2 and libavcodec codecs. In many cases this will not work, use -vc null -vo null instead. Set the DLL postprocess level.
This option is no longer usable with -vf pp. Specify the software scaler algorithm to be used with the -zoom option. This affects video output drivers which lack hardware acceleration, e. NOTE: Some -sws options are tunable. The description of the scale video filter has further information. Specify advanced software scaler options provided by libswscale. Set to "help" to get a list of supported options. Specify a priority list of video codecs to be used, according to their codec name in codecs.
NOTE: See -vc help for a full list of available codecs. Specify a priority list of video codec families to be used, according to their names in codecs. NOTE: See -vfm help for a full list of available codec families. Try the libavcodec, then Directshow, then VfW codecs and fall back on others, if they do not work.
Disables aspect calculations. Specify additional parameters when decoding with Xvid. NOTE: Since libavcodec is faster than Xvid you might want to use the libavcodec postprocessing filter -vf pp and decoder -vfm ffmpeg instead. Adds artificial film grain to the video. May increase perceived quality, while lowering true quality. Allow software scaling, where available.
This will allow scaling with output drivers like x11, fbdev that do not support hardware scaling where MPlayer disables scaling by default for performance reasons. Audio filters allow you to modify the audio stream and its properties. The syntax is: -af. NOTE: To get a full list of available audio filters, see -af help. Audio filters are managed in lists. There are a few commands to manage the filter list. Deletes the filters at the given indexes.
Index numbers start at 0, negative numbers address the end of the list -1 is the last. Changes the sample rate of the audio stream. Can be used if you have a fixed frequency sound card or if you are stuck with an old sound card that is only capable of max This filter is automatically enabled if necessary. It only supports bit integer and float in native-endian format as input. The valid range for this parameter is to If the input and output sample frequency are the same or if this parameter is omitted the filter is automatically unloaded.
A high sample frequency normally improves the audio quality, especially when used in combination with other filters. Allow 1 or disallow 0 the output frequency to differ slightly from the frequency given by default: 1. Can be used if the startup of the playback is extremely slow.
Changes the sample rate of the audio stream to an integer in Hz. It only supports the bit native-endian format. Encode multi-channel audio to AC-3 at runtime using libavcodec. Supports bit native-endian input format, maximum 6 channels. The output sample rate of this filter is same with the input sample rate. When input sample rate is 48kHz, Otherwise a resampling filter is auto-inserted before this filter to make the input and output sample rate be 48kHz.
The bitrate to encode the AC-3 stream. Set it to either or to get kbits. Valid values: 32, 40, 48, 56, 64, 80, 96, , , , , , , , , , , , Default bitrate is based on the input channel number: 1ch: 96, 2ch: , 3ch: , 4ch: , 5ch: , 6ch: If the input channel number is less than , the filter will detach itself default: 5. Remove a sine at the specified frequency. It probably only works on mono input.
Controls the adaptivity a larger value will make the filter adapt to amplitude and phase changes quicker, a smaller value will make the adaptation slower default: 0. Reasonable values are around 0. Bauer stereophonic to binaural transformation using libbs2b.
Improves the headphone listening experience by making the sound similar to that from loudspeakers, allowing each ear to hear both channels and taking into account the distance difference and the head shadowing effect. It is applicable only to 2 channel audio. If fcut or feed options are specified together with a profile, they will be applied on top of the selected profile.
Head-related transfer function: Converts multichannel audio to 2 channel output for headphones, preserving the spatiality of the sound. Flag Meaning m matrix decoding of the rear channel s 2-channel matrix decoding 0 no matrix decoding default. This means that it works regardless of what type of audio is being played back.
The center frequencies for the 10 bands are: No. If the sample rate of the sound being played is lower than the center frequency for a frequency band, then that band will be disabled. A known bug with this filter is that the characteristics for the uppermost band are not completely symmetric if the sample rate is close to the center frequency of that band.
This problem can be worked around by upsampling the sound using the resample filter before it reaches this filter. Would amplify the sound in the upper and lower frequency region while canceling it almost completely around 1kHz.
Can be used for adding, removing, routing and copying audio channels. If only is given the default routing is used, it works as follows: If the number of output channels is bigger than the number of input channels empty channels are inserted except mixing from mono to stereo, then the mono channel is repeated in both of the output channels. If the number of output channels is smaller than the number of input channels the exceeding channels are truncated.
Pairs of numbers between 0 and 7 that define where to route each channel. Would change the number of channels to 4 and set up 4 routes that swap channel 0 and channel 1 and leave channel 2 and 3 intact. Observe that if media containing two channels was played back, channels 2 and 3 would contain silence but 0 and 1 would still be swapped.
Would change the number of channels to 6 and set up 4 routes that copy channel 0 to channels 0 to 3. Use SDL video with the aalib subdriver by default. Specify your monitor timings for the vesa and fbdev video output drivers. Be careful; if you specify settings. Change to a different videomode when going fullscreen. Enable software scaling powerful CPU needed for video output. Use this for a widescreen monitor, non-square pixels. Keep the player window on top of all other windows.
Specify default audio driver see -ao help for a list. Use SDL audio driver with the esd subdriver by default. Resample the sound to Hz with the lavcresample audio filter. Fixes playback when playlist and media file use the same URL. Fixes playback for apple. The syntax consist of a key name followed by a command. You can get a full list of supported key names by running mplayer -input keylist and a full list of available commands by running mplayer -input cmdlist.
Linux Infrared Remote Control - use an easy to build home-brewed IR-receiver, an almost arbitrary remote control and control your Linux box with it! More about it on the LIRC homepage. If you have the LIRC package installed, configure will autodetect it. If an error occurs it will tell you. If there is no message about LIRC there is no support compiled in. That's it
0コメント