⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mplayer.1

📁 uclinux下mplayer的源码
💻 1
📖 第 1 页 / 共 5 页
字号:
.B \-hr\-mp3\-seek (MP3 only)Hi-res MP3 seeking.Enabled when playing from an external MP3 file, as we need to seekto the very exact position to keep A/V sync.Can be slow especially when seeking backwards since it has to rewindto the beginning to find an exact frame position...TP.B \-idx (also see \-forceidx)Rebuilds index of files if no index was found, allowing seeking.Useful with broken/\:incomplete downloads, or badly created files..br.I NOTE:This option only works if the underlying media supports seeking(i.e.\& not with stdin, pipe, etc)...TP.B \-noidxSkip rebuilding index file.MEncoder skips writing the index with this option...TP.B \-ipv4\-only\-proxy (network only)Skip the proxy for IPv6 addresses.It will still be used for IPv4 connections...TP.B \-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 datacontained in the AVI itself.MPlayer will not prevent you from loading an index file generatedfrom a different AVI, but this is sure to cause unfavorable results..br.I NOTE:This option is obsolete now that MPlayer has OpenDML support...TP.B \-mc <seconds/frame>maximum A-V sync correction per frame (in seconds)..TP.B \-mf <option1:option2:...>Used when decoding from multiple PNG or JPEG files..sp 1Available options are:.sp 1.PD 0.RSs.IPs w=<value>input file width (default: autodetect).IPs h=<value>input file height (default: autodetect).IPs fps=<value>output fps (default: 25).IPs type=<value>input file type (available: jpeg, png, tga, sgi).RE.PD 1..TP.B \-ni (AVI only)Force usage of non-interleaved AVI parser (fixes playbackof some bad AVI files)...TP.B \-nobps (AVI only)Do not use average byte/\:second value for A-V sync.Helps with some AVI files with broken header...TP.B \-noextbasedDisables 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 filenameextension is used to select the demuxer.Always falls back on content-based demuxer selection...TP.B \-passwd <password> (also see \-user) (network only)Specify password for HTTP authentication...TP.B \-prefer\-ipv4 (network only)Use IPv4 on network connections.Falls back on IPv6 automatically...TP.B \-prefer\-ipv6 (IPv6 network only)Use IPv6 on network connections.Falls back on IPv4 automatically...TP.B \-psprobe <byte position>When playing an MPEG-PS stream, this option lets you specify how manybytes in the stream you want MPlayer to scan in order to identify thevideo codec used.This option is needed to play EVO files containing H.264 streams...TP.B \-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 theV4L2 driver.The Hauppauge WinTV PVR\-150/250/350/500 and all IVTV basedcards are known as PVR capture cards.Be aware that only Linux 2.6.18 kerneland above is able to handle MPEG stream through V4L2 layer.For hardware capture of an MPEG stream and watching it withMPlayer/MEncoder, use 'pvr://' as a movie URL..sp 1Available options are:.RSs.IPs aspect=<0\-3>Specify input aspect ratio:.RSss0: 1:1.br1: 4:3 (default).br2: 16:9.br3: 2.21:1.REss.IPs arate=<32000\-48000>Specify encoding audio rate (default: 48000 Hz, available: 32000, 44100and 48000 Hz)..IPs alayer=<1\-3>Specify MPEG audio layer encoding (default: 2)..IPs abitrate=<32\-448>Specify audio encoding bitrate in kbps (default: 384)..IPs amode=<value>Specify audio encoding mode.Available preset values are 'stereo', 'joint_stereo', 'dual' and 'mono' (default: stereo)..IPs vbitrate=<value>Specify average video bitrate encoding in Mbps (default: 6)..IPs vmode=<value>Specify video encoding mode:.RSssvbr: Variable BitRate (default).brcbr: Constant BitRate.REss.IPs vpeak=<value>Specify peak video bitrate encoding in Mbps(only useful for VBR encoding, default: 9.6)..IPs fmt=<value>Choose an MPEG format for encoding:.RSssps:    MPEG-2 Program Stream (default).brts:    MPEG-2 Transport Stream.brmpeg1: MPEG-1 System Stream.brvcd:   Video CD compatible stream.brsvcd:  Super Video CD compatible stream.brdvd:   DVD compatible stream.REss.RE.PD 1..TP.B \-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 radiousing the line-in cable only.Using capture to listen is not recommended due to synchronizationproblems, which makes this process uncomfortable..sp 1Available options are:.RSs.IPs device=<value>Radio device to use (default: /dev/radio0 for Linux and /dev/tuner0 for *BSD)..IPs driver=<value>Radio driver to use (default: v4l2 if available, otherwise v4l).Currently, v4l and v4l2 drivers are supported..IPs volume=<0..100>sound volume for radio device (default 100).IPs "freq_min=<value> (*BSD BT848 only)"minimum allowed frequency (default: 87.50).IPs "freq_max=<value> (*BSD BT848 only)"maximum allowed frequency (default: 108.00).IPs 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 commandsradio_step_channel and radio_set_channel will be usable fora remote control (see LIRC).If given, number in movie URL will be treated as channel position inchannel list..br.I EXAMPLE:radio://1, radio://104.4, radio_set_channel 1.IPs "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 useALSA to capture, otherwise OSS..IPs "arate=<value> (radio capture only)"Rate in samples per second (default: 44100)..br.I NOTE:When using audio capture set also \-rawaudio rate=<value> optionwith the same value as arate.If you have problems with sound speed (runs too quickly), try to playwith different rate values (e.g.\& 48000,44100,32000,...)..IPs "achannels=<value> (radio capture only)"Number of audio channels to capture..RE..TP.B \-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..sp 1Available options are:.sp 1.PD 0.RSs.IPs channels=<value>number of channels.IPs rate=<value>rate in samples per second.IPs samplesize=<value>sample size in bytes.IPs bitrate=<value>bitrate for rawaudio files.IPs format=<value>fourcc in hex.RE.PD 1..TP.B \-rawvideo <option1:option2:...>This option lets you play raw video files.You have to use \-demuxer rawvideo as well..sp 1Available options are:.sp 1.PD 0.RSs.IPs fps=<value>rate in frames per second (default: 25.0).IPs sqcif|qcif|cif|4cif|pal|ntscset standard image size.IPs w=<value>image width in pixels.IPs h=<value>image height in pixels.IPs i420|yv12|yuy2|y8set colorspace.IPs format=<value>colorspace (fourcc) in hex or string constant.Use \-rawvideo format=help for a list of possible strings..IPs size=<value>frame size in Bytes.REss.sp 1.RS.I EXAMPLE:.RE.PD 0.RSs.IPs "mplayer foreman.qcif -demuxer rawvideo -rawvideo qcif"Play the famous "foreman" sample video..IPs "mplayer sample-720x576.yuv -demuxer rawvideo -rawvideo w=720:h=576"Play a raw YUV sample..RE.PD 1..TP.B \-rtsp\-portUsed with 'rtsp://' URLs to force the client's port number.This option may be useful if you are behind a router and want to forwardthe RTSP stream from the server to a specific client...TP.B \-rtsp\-destinationUsed with 'rtsp://' URLs to force the destination IP address to be bound.This option may be useful with some RTSP server which do notsend RTP packets to the right interface.If the connection to the RTSP server fails, use \-v to seewhich IP address MPlayer tries to bind to and try to forceit to one assigned to your computer instead...TP.B \-rtsp\-stream\-over\-tcp (LIVE555 and NEMESI only)Used with 'rtsp://' URLs to specify that the resulting incoming RTP and RTCPpackets be streamed over TCP (using the same TCP connection as RTSP).This option may be useful if you have a broken internet connection that doesnot pass incoming UDP packets (see http://www.live555.com/\:mplayer/)...TP.B \-saveidx <filename>Force index rebuilding and dump the index to <filename>.Currently this only works with AVI files..br.I NOTE:This option is obsolete now that MPlayer has OpenDML support...TP.B \-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...TP.B \-speed <0.01\-100>Slow down or speed up playback by the factor given as parameter.Not guaranteed to work correctly with \-oac copy...TP.B \-srate <Hz>Selects the output sample rate to be used(of course sound cards have limits on this).If the sample frequency selected is different from thatof the current media, the resample or lavcresample audio filter will be insertedinto 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...TP.B \-ss <time> (also see \-sb)Seek to given time position..sp 1.I EXAMPLE:.PD 0.RSs.IPs "\-ss 56"Seeks to 56 seconds..IPs "\-ss 01:10:00"Seeks to 1 hour 10 min..RE.PD 1..TP.B \-tskeepbrokenTells MPlayer not to discard TS packets reported as broken in the stream.Sometimes needed to play corrupted MPEG-TS files...TP.B \-tsprobe <byte position>When playing an MPEG-TS stream, this option lets you specify how manybytes in the stream you want MPlayer to search for the desiredaudio and video IDs...TP.B \-tsprog <1\-65534>When playing an MPEG-TS stream, you can specify with this option whichprogram (if present) you want to play.Can be used with \-vid and \-aid...TP.B \-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 amovie from a composite or S-Video input (see option input for details)..sp 1Available options are:.RSs.IPs noaudiono sound.IPs "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)..IPs driver=<value>See \-tv driver=help for a list of compiled-in TV input drivers.available: dummy, v4l, v4l2, bsdbt848 (default: autodetect).IPs device=<value>Specify TV device (default: /dev/\:video0)..I NOTE:For the bsdbt848 driver you can provide both bktr and tuner devicenames separating them with a comma, tuner afterbktr (e.g.\& -tv device=/dev/bktr1,/dev/tuner1)..IPs input=<value>Specify input (default: 0 (TV), see console output for available inputs)..IPs freq=<value>Specify the frequency to set the tuner to (e.g.\& 511.250).Not compatible with the channels parameter..IPs outfmt=<value>Specify the output format of the tuner with a preset value supported by theV4L driver (yv12, rgb32, rgb24, rgb16, rgb15, uyvy, yuy2, i420) or anarbitrary format given as hex value.Try outfmt=help for a list of all available formats..IPs width=<value>output window width.IPs height=<value>output window height.IPs fps=<value>framerate at which to capture video (frames per second).IPs buffersize=<value>maximum size of the capture buffer in megabytes (default: dynamical).IPs 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..IPs "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..IPs channel=<value>Set tuner to <value> channel..IPs chanlist=<value>available: europe-east, europe-west, us-bcast, us-cable, etc.IPs channels=<channel>\-<name>,<channel>\-<name>,...Set names for channels..I NOTE:If <channel> is an integer greater than 1000, it will be treated as frequency (in kHz)rather than channel name from frequency table..brUse _ for spaces in names (or play with quoting ;-).The channel names will then be written using OSD, and the slave commandstv_step_channel, tv_set_channel and tv_last_channel will be usable fora remote control (see LIRC).Not compatible with the frequency parameter..br.I NOTE:The channel number will then be the position in the 'channels' list,beginning with 1..br.I EXAMPLE:tv://1, tv://TV1, tv_set_channel 1, tv_set_channel TV1.IPs [brightness|contrast|hue|saturation]=<\-100\-100>Set the image equalizer on the card..IPs audiorate=<value>Set audio capture bitrate..IPs forceaudioCapture audio even if there are no audio sources reported by v4l..IPs "alsa\ "Capture from ALSA..IPs amode=<0\-3>Choose an audio mode:.RSss0: mono.br1: stereo.br2: language 1.br3: language 2.REss.IPs forcechan=<1\-2>By default, the count of recorded audio channels is determined automaticallyby querying the audio mode from the TV card.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -