ffmpeg 安装bzlib_FFMPEG视频转码服务软件安装(示例代码)

[[email protected] ~]# ffmpeg -h

ffmpeg version2.6.8 Copyright (c) 2000-2016the FFmpeg developers

built withgcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)

configuration:--prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags=‘-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic‘ --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libdc1394 --enable-libfaac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect

libavutil54. 20.100 / 54. 20.100libavcodec56. 26.100 / 56. 26.100libavformat56. 25.101 / 56. 25.101libavdevice56. 4.100 / 56. 4.100libavfilter5. 11.102 / 5. 11.102libavresample2. 1. 0 / 2. 1. 0libswscale3. 1.101 / 3. 1.101libswresample1. 1.100 / 1. 1.100libpostproc53. 3.100 / 53. 3.100Hyper fast Audio and Video encoder

usage: ffmpeg [options] [[infile options]-i infile]... {[outfile options] outfile}...

Getting help:-h --print basic options-h long -- print moreoptions-h full -- print all options (including all format and codec specific options, very long)

Seeman ffmpeg fordetailed description of the options.

Print help/ information /capabilities:-L show 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-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

Global options (affect whole program instead of just onefile:-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-stats print progress report during encoding-max_error_rate ratio of errors (0.0: no errors, 1.0: 100%error maximum error rate-bits_per_raw_sample number set the number of bits per raw sample-vol volume change audio volume (256=normal)

Per-filemain options:-f fmtforce 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 inbytes-ss time_off set the start timeoffset-timestamp time set the recording timestamp (‘now‘ to set the current time)-metadata string=stringadd metadata-target type specify target file type ("vcd", "svcd", "dvd", "dv", "dv50", "pal-vcd", "ntsc-svcd", ...)-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)-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)-timecode hh:mm:ss[:;.]ff set initial TimeCode value.-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 (inHz)-ac channels set number of audio channels-an disable audio-acodec codec force audio codec (‘copy‘to copy stream)-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)-stag fourcc/tag force subtitle tag/fourcc-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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值