List of FFMPEG common parameters

Source: Internet
Author: User

Http://www.oschina.net/question/12_666

 

Basic options:
-Formats Output all available formats
-F FMT Specified format (audio or video format)
-I filename Specify the input file name. in Linux, you can also specify 0.0 (screen recording) or camera.
-Y Overwrite existing files
-T duration Record length: T
-Fs limit_size Sets the maximum file size.
-SS time_off [-] Hh: mm: ss [. xxx] format is also supported starting from the specified time (s)
-Itsoffset time_off Sets the Time offset (s). This option affects all subsequent input files. This offset is added to the timestamp of the input file. Defining a positive offset means that the corresponding stream is delayed by Offset seconds. [-] Hh: mm: ss [. xxx] format is also supported
-Title string Title
-Timestamp time Timestamp
-Author string Author
-Copyright string Copyright information
-Comment string Comment
-Album string Album name
-V verbose Log-related
-Target type Set the target file type ("VCD", "SVCD", "DVD", "DV", "dv50", "Pal-VCD ", "NTSC-SVCD ",...)
-Dframes number Set the number of frames to be recorded
Video options:
-B Specify the bit rate (bits/s). It seems that FFmpeg is an automatic VBR. If it is specified, it is probably the average bit rate.
-VB Specify the video bit rate (bits/s)
-Vframes number Sets the number of frames to be converted.
-R rate FPS)
-S size Resolution
-Aspect Set the video aspect ratio (, or 1.3333, 1.7777)
-Croptop size Set the size of the top part (in pixels)
-Cropbottom size Set the bottom removal size (in pixels)
-Cropleft size Set left cut size (in pixels)
-Cropright size Set right cut size (in pixels)
-Padtop size Set Top fill size (in pixels)
-Padbottom size In pixels)
-Padleft size Left complement (in pixels)
-Padright size Right complement (in pixels)
-Padcolor color Fill in the belt color (000000-ffffff)
-VN Cancel video
-Vcodec Codec Forced Use of codec encoding/decoding ('copy' to copy Stream)
-Sameq Use the same video quality as the source (VBR)
-Pass n Select the number of processing times (1 or 2 ). Two-time encoding is very useful. Statistical information is generated for the first time, and precise request bit rate is generated for the second time.
-Passlogfile File Select two record file names as file
-Newvideo Add a new video stream after the current video stream
 
Advanced Video options
-Pix_fmt format Set pixel format, 'LIST' as argument shows all the pixel formats supported
-Intra Only applicable to intra-frame encoding
-Qscale Q VBR Based on <value> quality. value range: 0.01-255. The smaller the quality, the better.
-Loop_input Set the number of cycles of the input stream (currently only valid for images)
-Loop_output Set the number of cycles of the output video. For example, if the value is set to 0 when the GIF is output, it indicates an infinite loop.
-G int Set image group size
-Cutoff int Set the cutoff frequency
-Qmin int Set minimum quality
-Qmax int Set maximum quality
-Qdiff int Maximum deviation between quantization scales (VBR)
-BF int Use frames B frame, supports mpeg1, MPEG2, MPEG4
Audio options:
-AB Set the bit rate (unit: bit/s, maybe the old version is kb/s)
-Aframes number Set the number of frames to be converted.
-AQ Quality Set audio quality (encoding)
-AR rate Set the audio sampling rate (unit: Hz)
-AC Channels Set the number of channels
- Cancel audio
-Acodec Codec Specify the Audio Encoding ('copy' to copy Stream)
-Vol volume Set the recording volume (256 by default)
-Newaudio Add a new audio stream after the current audio stream
Subtitle options:
-Sn Cancel subtitle
-Scodec Codec Set subtitle encoding ('copy' to copy Stream)
-Newsubtitle Added after the current subtitle
-Slang code Sets the ISO 639 encoding used for subtitles (3 letters)
Audio/Video capture options:
-VC channel Set the video capture channel (only for dv1394)
-Tvstd Standard Set TV standard NTSC pal (SECAM)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.