ffmpeg参数详细解释(源自ffmpeg.c)

来源:互联网 发布:辐射4男性捏脸数据 编辑:程序博客网 时间:2024/05/21 09:28

  main options Lshow licensehshow helpversionshow versionformatsshow available formats codecs protocols …fforce formatiinput file nameyoverwrite output filesmapset input stream mappingmap_meta_dataset meta data information of outfile from infiletrecord or transcode /"duration/seconds of audio/videofsset the limit file size in bytesssset the start time offsetitsoffsetset the input ts offsetitsscaleset the input ts scaletimestampset the timestamp ('now' to set the current time)metadataadd metadatadframesset the number of data frames to recordbenchmark dump hex reread input at native frame rateloop_inputloop (current only works with images)loop_outputnumber of times to loop output in formats that support looping (0 loops forever)vset ffmpeg verbosity levelloglevelset libav* logging leveltargetspecify target file type (/"vcd/ /"svcd/ /"dvd/ /"dv/ /"dv50/ /"pal-vcd/ /"ntsc-svcd/ ...)threadsthread countvsyncvideo sync methodasyncaudio sync methodadrift_thresholdaudio drift thresholdvglobalvideo global header storage typecopytscopy timestampsshortestfinish encoding within shortest inputdts_delta_thresholdtimestamp discontinuity delta thresholdprogramiddesired program numberxerrorexit on errorcopyinkfcopy initial non-keyframes  video options bset bitrate (in bits/s)vbset bitrate (in bits/s)vframesset the number of video frames to recordrset frame rate (Hz value fraction or abbreviation)sset frame size (WxH or abbreviation)aspectset aspect ratio (4:3 16:9 or 1.3333 1.7777)pix_fmtset pixel format 'list' as argument shows all the pixel formats supportedcroptopset top crop band size (in pixels)cropbottomset bottom crop band size (in pixels)cropleftset left crop band size (in pixels)croprightset right crop band size (in pixels)padtopset top pad band size (in pixels)padbottomset bottom pad band size (in pixels)padleftset left pad band size (in pixels)padrightset right pad band size (in pixels)padcolorset color of pad bands (Hex 000000 thru FFFFFF)intrause only intra frames"vndisable videovdtdiscard thresholdqscaleuse fixed video quantizer scale (VBR)rc_overriderate control override for specific intervalsvcodecforce video codec ('copy' to copy stream)me_thresholdmotion estimaton threshold sameq passselect the pass number (1 or 2)passlogfileselect two pass log file name prefixdeinterlace psnrcalculate PSNR of compressed framesvstatsdump video coding statistics to filevstats_filedump video coding statistics to fileintra_matrixspecify intra matrix coeffsinter_matrixspecify inter matrix coeffstoptop=1/bottom=0/auto=-1 field firstdcintra_dc_precisionvtagforce video tag/fourccnewvideoadd a new video stream to the current output streamqphist force_fpsforce the selected framerate disable the best supported framerate selection  audio options abset bitrate (in bits/s)aframesset the number of audio frames to recordaqset audio quality (codec-specific)arset audio sampling rate (in Hz)acset number of audio channelsandisable audioacodecforce audio codec ('copy' to copy stream)atagforce audio tag/fourccvolchange audio volume (256=normal)newaudioadd a new audio stream to the current output streamalangset the ISO 639 language code (3 letters) of the current audio streamsample_fmtset sample format 'list' as argument shows all the sample formats supported  subtitle options sndisable subtitlescodecforce subtitle codec ('copy' to copy stream)newsubtitleadd a new subtitle stream to the current output streamslangset the ISO 639 language code (3 letters) of the current subtitle streamstagforce subtitle tag/fourcc  grab options vcset video grab channel (DV1394 only)tvstdset television standard (NTSC PAL (SECAM))isyncsync read on input  muxer options muxdelayset the maximum demux-decode delaymuxpreloadset the initial demux-decode delayabsf vbsf sbsf apre set the audio options to the indicated presetvpreset the video options to the indicated presetspreset the subtitle options to the indicated presetdefaultgeneric catch all option

原创粉丝点击