摘要:-Lshowlicense显示许可htopicshowhelp显示帮助-?
-L show license显示license
-h topic show help显示帮助
-? topic show help显示帮助
-help topic show help显示帮助
--help topic show help显示帮助
-version show version显示版本号
-buildconf show build configuration显示构建的配置信息
-formats show available formats显示可用的格式
-muxers show available muxers显示可用的封装器
-demuxers show available demuxers显示可用的解封装器
-devices show available devices显示可用的设备
-codecs show available codecs显示可用的编解码器
-decoders show available decoders显示可用的解码器
-encoders show available encoders显示可用的编码器
-bsfs show available bit stream filters显示可用的比特流过滤器
-protocols show available protocols显示可用协议
-filters show available filters显示可用的过滤器
-pix_fmts show available pixel formats显示可用的像素格式
-layouts show standard channel layouts显示标准的通道布局
-sample_fmts show available audio sample formats显示可用的音频采样格式
-colors show available color names显示可用的颜色名称
-sources device list sources of the input device列出输入设备
-sinks device list sinks of the output device列出输出设备
-hwaccels show available HW acceleration methods显示可用的硬件加速方法
Global options (affect whole program instead of just one file:全局设置
-loglevel loglevel set logging level设置日志级别
-v loglevel set logging level设置日志级别
-report generate a report生成报告
-max_alloc bytes set maximum size of a single allocated block每一个块的最大值
-y overwrite output files覆盖输出
-n never overwrite output files不覆盖输出
-ignore_unknown Ignore unknown stream types忽略未知的流类型
-filter_threads number of non-complex filter threads简单滤镜的线程的数量(滤镜分为non-complex和complex两种)
-filter_complex_threads number of threads for -filter_complex复合滤镜线程的数量
-stats print progress report during encoding打印编码过程的进度报告
-max_error_rate ratio of errors (0.0: no errors, 1.0: 100% error maximum error rate最大的错误率比例,0.0表示没有错误,1.0表示错误率100%
-bits_per_raw_sample number set the number of bits per raw sample设置每个原生采样的比特数
-vol volume change audio volume (256=normal)设置音频音量,正常情况一般为256
Per-file main options:每一个文件的主要选项
-f fmt force format设置格式
-c codec codec name设置编解码器
-codec codec codec name设置编解码器
-pre preset preset name设置预处理集
-map_metadata outfile[,metadata]:infile[,metadata] set metadata information of outfile from infile设置输出文件的元数据信息
-t duration record or transcode "duration" seconds of audio/video设置录制或转码的时间(多久),单位秒(时间段)
-to time_stop record or transcode stop time设置录制或转码的停止时间点(时间点)
-fs limit_size set the limit file size in bytes设置文件最大值,单位字节
-ss time_off set the start time offset设置开始时间偏移量,也就是开始点后多久才正常工作
-sseof time_off set the start time offset relative to EOF也是设置偏移量,不过参考点是结束时间点,不是开始时间点
-seek_timestamp enable/disable seeking by timestamp with -ss启用或禁止使用-ss参数去根据时间戳拖动
-timestamp time set the recording timestamp ('now' to set the current time)设置录制的时间戳(now表示现在、当前时间)
-metadata string=string add metadata添加元数据
-program title=string:st=number... add program with specified streams给指定的流添加节目
-target type specify target file type ("vcd", "svcd", "dvd", "dv" or "dv50" with optional prefixes "pal-", "ntsc-" or "film-")指定目标文件的类型
-apad audio pad音频补齐
-frames number set the number of frames to output设置输出多少帧
-filter filter_graph set stream filtergraph设置流的滤镜图
-filter_script filename read stream filtergraph description from a file从一个文件读取流的滤镜图的描述(就是以文件的形式添加滤镜图了)
-reinit_filter reinit filtergraph on input parameter changes当输入参数变化时重新初始化滤镜图
-discard discard丢弃
-disposition disposition配置
Video options:视频选项
-vframes number set the number of video frames to output设置输出多少视频帧
-r rate set frame rate (Hz value, fraction or abbreviation)设置帧率,单位Hz
-s size set frame size (WxH or abbreviation)设置帧的大小
-aspect aspect set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)设置视频画面的宽高比
-bits_per_raw_sample number set the number of bits per raw sample设置每个原生样本的比特数
-vn disable video禁止视频,即视频不可用了
-vcodec codec force video codec ('copy' to copy stream)设置视频编解码器,copy表示使用输入源的
-timecode hh:mm:ss[:;.]ff set initial TimeCode value.设置初始TimeCode
-pass n select the pass number (1 to 3)选择通道
-vf filter_graph set video filters设置视频滤镜
-ab bitrate audio bitrate (please use -b:a)设置音频比特率
-b bitrate video bitrate (please use -b:v)设置视频比特率
-dn disable data禁止数据缓存
Audio options:音频选项
-aframes number set the number of audio frames to output设置输出多少帧音频
-aq quality set audio quality (codec-specific)设置音频质量
-ar rate set audio sampling rate (in Hz)设置音频采样率
-ac channels set number of audio channels设置音频通道
-an disable audio禁止音频
-acodec codec force audio codec ('copy' to copy stream)设置音频编解码器,copy表示使用输入源的
-vol volume change audio volume (256=normal)改变音量
-af filter_graph set audio filters设置音频滤镜
Subtitle options:字幕选项
-s size set frame size (WxH or abbreviation)设置帧的大小
-sn disable subtitle禁止字幕
-scodec codec force subtitle codec ('copy' to copy stream)设置字幕的编解码器,copy表示使用输入源的
-stag fourcc/tag force subtitle tag/fourcc设置字幕tag
-fix_sub_duration fix subtitles duration修改、纠正字幕的时间
-canvas_size size set canvas size (WxH or abbreviation)设置画布大小
-spre preset set the subtitle options to the indicated preset设置字幕选项的预设(预处理集)