📄 ffmpeg.1
字号:
.\" Automatically generated by Pod::Man v1.34, Pod::Parser v1.13.\".\" Standard preamble:.\" ========================================================================.de Sh \" Subsection heading.br.if t .Sp.ne 5.PP\fB\\$1\fR.PP...de Sp \" Vertical space (when we can't use .PP).if t .sp .5v.if n .sp...de Vb \" Begin verbatim text.ft CW.nf.ne \\$1...de Ve \" End verbatim text.ft R.fi...\" Set up some character translations and predefined strings. \*(-- will.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left.\" double quote, and \*(R" will give a right double quote. | will give a.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C'.\" expand to `' in nroff, nothing in troff, for use with C<>..tr \(*W-|\(bv\*(Tr.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'.ie n \{\. ds -- \(*W-. ds PI pi. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch. ds L" "". ds R" "". ds C` "". ds C' ""'br\}.el\{\. ds -- \|\(em\|. ds PI \(*p. ds L" ``. ds R" '''br\}.\".\" If the F register is turned on, we'll generate index entries on stderr for.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index.\" entries marked with X<> in POD. Of course, you'll have to process the.\" output yourself in some meaningful fashion..if \nF \{\. de IX. tm Index:\\$1\t\\n%\t"\\$2"... nr % 0. rr F.\}.\".\" For nroff, turn off justification. Always turn off hyphenation; it makes.\" way too many mistakes in technical documents..hy 0.if n .na.\".\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2)..\" Fear. Run. Save yourself. No user-serviceable parts.. \" fudge factors for nroff and troff.if n \{\. ds #H 0. ds #V .8m. ds #F .3m. ds #[ \f1. ds #] \fP.\}.if t \{\. ds #H ((1u-(\\\\n(.fu%2u))*.13m). ds #V .6m. ds #F 0. ds #[ \&. ds #] \&.\}. \" simple accents for nroff and troff.if n \{\. ds ' \&. ds ` \&. ds ^ \&. ds , \&. ds ~ ~. ds /.\}.if t \{\. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u". ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'.\}. \" troff and (daisy-wheel) nroff accents.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'.ds 8 \h'\*(#H'\(*b\h'-\*(#H'.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#].ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#].ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#].ds ae a\h'-(\w'a'u*4/10)'e.ds Ae A\h'-(\w'A'u*4/10)'E. \" corrections for vroff.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'. \" for low resolution devices (crt and lpr).if \n(.H>23 .if \n(.V>19 \\{\. ds : e. ds 8 ss. ds o a. ds d- d\h'-1'\(ga. ds D- D\h'-1'\(hy. ds th \o'bp'. ds Th \o'LP'. ds ae ae. ds Ae AE.\}.rm #[ #] #H #V #F C.\" ========================================================================.\".IX Title "FFMPEG 1".TH FFMPEG 1 "2004-04-16" " " " ".SH "NAME"ffmpeg \- FFmpeg video converter.SH "SYNOPSIS".IX Header "SYNOPSIS"ffmpeg [[options][\fB\-i\fR \fIinput_file\fR]]... {[options] \fIoutput_file\fR}....SH "DESCRIPTION".IX Header "DESCRIPTION"If no input file is given, audio/video grabbing is done..PPAs a general rule, options are applied to the next specifiedfile. For example, if you give the \fB\-b 64\fR option, it sets the videobitrate of the next file. Format option may be needed for raw inputfiles..PPBy default, ffmpeg tries to convert as losslessly as possible: ituses the same audio and video parameter for the outputs as the onespecified for the inputs..SH "OPTIONS".IX Header "OPTIONS".Sh "Main options".IX Subsection "Main options".IP "\fB\-L\fR" 4.IX Item "-L"show license.IP "\fB\-h\fR" 4.IX Item "-h"show help.IP "\fB\-formats\fR" 4.IX Item "-formats"show available formats, codecs, protocols, ....IP "\fB\-f fmt\fR" 4.IX Item "-f fmt"force format.IP "\fB\-i filename\fR" 4.IX Item "-i filename"input file name.IP "\fB\-y\fR" 4.IX Item "-y"overwrite output files.IP "\fB\-t duration\fR" 4.IX Item "-t duration"set the recording time in seconds. \f(CW\*(C`hh:mm:ss[.xxx]\*(C'\fR syntax is alsosupported..IP "\fB\-ss position\fR" 4.IX Item "-ss position"seek to given time position. \f(CW\*(C`hh:mm:ss[.xxx]\*(C'\fR syntax is alsosupported..IP "\fB\-title string\fR" 4.IX Item "-title string"set the title.IP "\fB\-author string\fR" 4.IX Item "-author string"set the author.IP "\fB\-copyright string\fR" 4.IX Item "-copyright string"set the copyright.IP "\fB\-comment string\fR" 4.IX Item "-comment string"set the comment.IP "\fB\-target type\fR" 4.IX Item "-target type"specify target file type (\*(L"vcd\*(R", \*(L"svcd\*(R" or \*(L"dvd\*(R"). All the formatoptions (bitrate, codecs, buffer sizes) are automatically set by thisoption. You can just type:.Sp.Vb 1\& ffmpeg -i myfile.avi -target vcd /tmp/vcd.mpg.Ve.IP "\fB\-hq\fR" 4.IX Item "-hq"activate high quality settings.Sh "Video Options".IX Subsection "Video Options".IP "\fB\-b bitrate\fR" 4.IX Item "-b bitrate"set the video bitrate in kbit/s (default = 200 kb/s).IP "\fB\-r fps\fR" 4.IX Item "-r fps"set frame rate (default = 25).IP "\fB\-s size\fR" 4.IX Item "-s size"set frame size. The format is \fBWxH\fR (default 160x128). Thefollowing abbreviations are recognized:.RS 4.IP "\fBsqcif\fR" 4.IX Item "sqcif"128x96.IP "\fBqcif\fR" 4.IX Item "qcif"176x144.IP "\fBcif\fR" 4.IX Item "cif"352x288.IP "\fB4cif\fR" 4.IX Item "4cif"704x576.RE.RS 4.RE.IP "\fB\-aspect aspect\fR" 4.IX Item "-aspect aspect"set aspect ratio (4:3, 16:9 or 1.3333, 1.7777).IP "\fB\-croptop size\fR" 4.IX Item "-croptop size"set top crop band size (in pixels).IP "\fB\-cropbottom size\fR" 4.IX Item "-cropbottom size"set bottom crop band size (in pixels).IP "\fB\-cropleft size\fR" 4.IX Item "-cropleft size"set left crop band size (in pixels).IP "\fB\-cropright size\fR" 4.IX Item "-cropright size"set right crop band size (in pixels).IP "\fB\-padtop size\fR" 4.IX Item "-padtop size"set top pad band size (in pixels).IP "\fB\-padbottom size\fR" 4.IX Item "-padbottom size"set bottom pad band size (in pixels).IP "\fB\-padleft size\fR" 4.IX Item "-padleft size"set left pad band size (in pixels).IP "\fB\-padright size\fR" 4.IX Item "-padright size"set right pad band size (in pixels).IP "\fB\-padcolor color\fR" 4.IX Item "-padcolor color"set right pad band size (hex). The value for pad color is expressed as a six digit hexidecimal number where the first two digits represent red, middle two digits green and last two digits blue. Defaults to 000000 (black).IP "\fB\-vn\fR" 4.IX Item "-vn"disable video recording.IP "\fB\-bt tolerance\fR" 4.IX Item "-bt tolerance"set video bitrate tolerance (in kbit/s).IP "\fB\-maxrate bitrate\fR" 4.IX Item "-maxrate bitrate"set max video bitrate tolerance (in kbit/s).IP "\fB\-minrate bitrate\fR" 4.IX Item "-minrate bitrate"set min video bitrate tolerance (in kbit/s).IP "\fB\-bufsize size\fR" 4.IX Item "-bufsize size"set ratecontrol buffere size (in kbit).IP "\fB\-vcodec codec\fR" 4.IX Item "-vcodec codec"force video codec to \fIcodec\fR. Use the \f(CW\*(C`copy\*(C'\fR special value totell that the raw codec data must be copied as is..IP "\fB\-sameq\fR" 4.IX Item "-sameq"use same video quality as source (implies \s-1VBR\s0).IP "\fB\-pass n\fR" 4.IX Item "-pass n"select the pass number (1 or 2). It is useful to do two passencoding. The statistics of the video are recorded in the first pass andthe video at the exact requested bit rate is generated in the secondpass..IP "\fB\-passlogfile file\fR" 4.IX Item "-passlogfile file"select two pass log file name to \fIfile\fR..Sh "Advanced Video Options".IX Subsection "Advanced Video Options".IP "\fB\-g gop_size\fR" 4.IX Item "-g gop_size"set the group of picture size.IP "\fB\-intra\fR" 4.IX Item "-intra"use only intra frames.IP "\fB\-qscale q\fR" 4.IX Item "-qscale q"use fixed video quantiser scale (\s-1VBR\s0).IP "\fB\-qmin q\fR" 4.IX Item "-qmin q"min video quantiser scale (\s-1VBR\s0).IP "\fB\-qmax q\fR" 4.IX Item "-qmax q"max video quantiser scale (\s-1VBR\s0).IP "\fB\-qdiff q\fR" 4.IX Item "-qdiff q"max difference between the quantiser scale (\s-1VBR\s0).IP "\fB\-qblur blur\fR" 4.IX Item "-qblur blur"video quantiser scale blur (\s-1VBR\s0).IP "\fB\-qcomp compression\fR" 4.IX Item "-qcomp compression"video quantiser scale compression (\s-1VBR\s0).IP "\fB\-rc_init_cplx complexity\fR" 4.IX Item "-rc_init_cplx complexity"initial complexity for 1\-pass encoding.IP "\fB\-b_qfactor factor\fR" 4.IX Item "-b_qfactor factor"qp factor between p and b frames.IP "\fB\-i_qfactor factor\fR" 4.IX Item "-i_qfactor factor"qp factor between p and i frames.IP "\fB\-b_qoffset offset\fR" 4.IX Item "-b_qoffset offset"qp offset between p and b frames.IP "\fB\-i_qoffset offset\fR" 4.IX Item "-i_qoffset offset"qp offset between p and i frames.IP "\fB\-rc_eq equation\fR" 4.IX Item "-rc_eq equation"set rate control equation. Default is \f(CW\*(C`tex^qComp\*(C'\fR..IP "\fB\-rc_override override\fR" 4.IX Item "-rc_override override"rate control override for specific intervals.IP "\fB\-me method\fR" 4.IX Item "-me method"set motion estimation method to \fImethod\fR. Available methods are(from lower to best quality):.RS 4.IP "\fBzero\fR" 4.IX Item "zero"Try just the (0, 0) vector..IP "\fBphods\fR" 4.IX Item "phods".PD 0.IP "\fBlog\fR" 4.IX Item "log".IP "\fBx1\fR" 4.IX Item "x1".IP "\fBepzs\fR" 4.IX Item "epzs".PD(default method).IP "\fBfull\fR" 4.IX Item "full"exhaustive search (slow and marginally better than epzs).RE.RS 4.RE.IP "\fB\-dct_algo algo\fR" 4.IX Item "-dct_algo algo"set dct algorithm to \fIalgo\fR. Available values are:.RS 4.IP "\fB0\fR" 4.IX Item "0"\&\s-1FF_DCT_AUTO\s0 (default).IP "\fB1\fR" 4.IX Item "1"\&\s-1FF_DCT_FASTINT\s0.IP "\fB2\fR" 4.IX Item "2"\&\s-1FF_DCT_INT\s0.IP "\fB3\fR" 4.IX Item "3"\&\s-1FF_DCT_MMX\s0.IP "\fB4\fR" 4.IX Item "4"\&\s-1FF_DCT_MLIB\s0.IP "\fB5\fR" 4.IX Item "5"\&\s-1FF_DCT_ALTIVEC\s0.RE.RS 4.RE.IP "\fB\-idct_algo algo\fR" 4.IX Item "-idct_algo algo"set idct algorithm to \fIalgo\fR. Available values are:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -