help.out 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. Hyper fast Audio and Video encoder
  2. usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
  3. Getting help:
  4. -h -- print basic options
  5. -h long -- print more options
  6. -h full -- print all options (including all format and codec specific options, very long)
  7. -h type=name -- print all options for the named decoder/encoder/demuxer/muxer/filter/bsf/protocol
  8. See man ffmpeg for detailed description of the options.
  9. Print help / information / capabilities:
  10. -L show license
  11. -h topic show help
  12. -? topic show help
  13. -help topic show help
  14. --help topic show help
  15. -version show version
  16. -buildconf show build configuration
  17. -formats show available formats
  18. -muxers show available muxers
  19. -demuxers show available demuxers
  20. -devices show available devices
  21. -codecs show available codecs
  22. -decoders show available decoders
  23. -encoders show available encoders
  24. -bsfs show available bit stream filters
  25. -protocols show available protocols
  26. -filters show available filters
  27. -pix_fmts show available pixel formats
  28. -layouts show standard channel layouts
  29. -sample_fmts show available audio sample formats
  30. -dispositions show available stream dispositions
  31. -colors show available color names
  32. -sources device list sources of the input device
  33. -sinks device list sinks of the output device
  34. -hwaccels show available HW acceleration methods
  35. Global options (affect whole program instead of just one file):
  36. -loglevel loglevel set logging level
  37. -v loglevel set logging level
  38. -report generate a report
  39. -max_alloc bytes set maximum size of a single allocated block
  40. -y overwrite output files
  41. -n never overwrite output files
  42. -ignore_unknown Ignore unknown stream types
  43. -filter_threads number of non-complex filter threads
  44. -filter_complex_threads number of threads for -filter_complex
  45. -stats print progress report during encoding
  46. -max_error_rate maximum error rate ratio of decoding errors (0.0: no errors, 1.0: 100% errors) above which ffmpeg returns an error instead of success.
  47. Per-file main options:
  48. -f fmt force format
  49. -c codec codec name
  50. -codec codec codec name
  51. -pre preset preset name
  52. -map_metadata outfile[,metadata]:infile[,metadata] set metadata information of outfile from infile
  53. -t duration record or transcode "duration" seconds of audio/video
  54. -to time_stop record or transcode stop time
  55. -fs limit_size set the limit file size in bytes
  56. -ss time_off set the start time offset
  57. -sseof time_off set the start time offset relative to EOF
  58. -seek_timestamp enable/disable seeking by timestamp with -ss
  59. -timestamp time set the recording timestamp ('now' to set the current time)
  60. -metadata string=string add metadata
  61. -program title=string:st=number... add program with specified streams
  62. -target type specify target file type ("vcd", "svcd", "dvd", "dv" or "dv50" with optional prefixes "pal-", "ntsc-" or "film-")
  63. -apad audio pad
  64. -frames number set the number of frames to output
  65. -filter filter_graph set stream filtergraph
  66. -filter_script filename read stream filtergraph description from a file
  67. -reinit_filter reinit filtergraph on input parameter changes
  68. -discard discard
  69. -disposition disposition
  70. Video options:
  71. -vframes number set the number of video frames to output
  72. -r rate set frame rate (Hz value, fraction or abbreviation)
  73. -fpsmax rate set max frame rate (Hz value, fraction or abbreviation)
  74. -s size set frame size (WxH or abbreviation)
  75. -aspect aspect set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)
  76. -display_rotation angle set pure counter-clockwise rotation in degrees for stream(s)
  77. -display_hflip set display horizontal flip for stream(s) (overrides any display rotation if it is not set)
  78. -display_vflip set display vertical flip for stream(s) (overrides any display rotation if it is not set)
  79. -vn disable video
  80. -vcodec codec force video codec ('copy' to copy stream)
  81. -timecode hh:mm:ss[:;.]ff set initial TimeCode value.
  82. -pass n select the pass number (1 to 3)
  83. -vf filter_graph set video filters
  84. -b bitrate video bitrate (please use -b:v)
  85. -dn disable data
  86. Audio options:
  87. -aframes number set the number of audio frames to output
  88. -aq quality set audio quality (codec-specific)
  89. -ar rate set audio sampling rate (in Hz)
  90. -ac channels set number of audio channels
  91. -an disable audio
  92. -acodec codec force audio codec ('copy' to copy stream)
  93. -ab bitrate audio bitrate (please use -b:a)
  94. -af filter_graph set audio filters
  95. Subtitle options:
  96. -s size set frame size (WxH or abbreviation)
  97. -sn disable subtitle
  98. -scodec codec force subtitle codec ('copy' to copy stream)
  99. -stag fourcc/tag force subtitle tag/fourcc
  100. -fix_sub_duration fix subtitles duration
  101. -canvas_size size set canvas size (WxH or abbreviation)
  102. -spre preset set the subtitle options to the indicated preset