|
- >x264 --fullhelp里的filter解释;
- Filtering:
- Filter options may be specified in the name=value format
- --vf, --video-filter <filter0>/<filter1>/... Apply video filtering to the input file
- Available filters:
- crop:left,top,right,bottom
- removes pixels from the edges of the frame
- resize:[width,height][,sar][,fittobox][,csp][,method]
- resizes frames based on the given criteria:
- - resolution only: resizes and adapts sar to avoid stretching
- - sar only: sets the sar and resizes to avoid stretching
- - resolution and sar: resizes to given resolution and sets the sar
- - fittobox: resizes the video based on the desired contraints
- - width, height, both
- - fittobox and sar: same as above except with specified sar
- simultaneously converting to the given colorspace
- using resizer method ["bicubic"]
- - fastbilinear, bilinear, bicubic, experimental, point,
- - area, bicublin, gauss, sinc, lanczos, spline
- select_every:step,offset1[,...]
- apply a selection pattern to input frames
- step: the number of frames in the pattern
- offsets: the offset into the step to select a frame
- see: http://avisynth.org/mediawiki/Select#SelectEvery
复制代码 -vf 滤镜1:参数1,参数2[,参数3...][/滤镜2...]
滤镜名称和参数之间用冒号,不同参数之间用逗号分开,滤镜之间用斜杠隔开。
举个例子:- --vf crop:8,0,8,0/resize:640,480,,,,lanczos
复制代码 首先左右各切8,再用lanczos算法rezie到640x480 |
|