ffmpeg-scaler.texi 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. \input texinfo @c -*- texinfo -*-
  2. @settitle FFmpeg Scaler Documentation
  3. @titlepage
  4. @center @titlefont{FFmpeg Scaler Documentation}
  5. @end titlepage
  6. @top
  7. @contents
  8. @chapter Description
  9. @c man begin DESCRIPTION
  10. The FFmpeg rescaler provides an high-level interface to the libswscale
  11. library image conversion utilities. In particular it allows to perform
  12. image rescaling and pixel format conversion.
  13. @c man end DESCRIPTION
  14. @chapter Scaler Options
  15. @c man begin SCALER OPTIONS
  16. The video scaler supports the following named options.
  17. Options may be set by specifying -@var{option} @var{value} in the
  18. FFmpeg tools. For programmatic use, they can be set explicitly in the
  19. @code{SwsContext} options or through the @file{libavutil/opt.h} API.
  20. @table @option
  21. @item sws_flags
  22. Set the scaler flags. This is also used to set the scaling
  23. algorithm. Only a single algorithm should be selected.
  24. It accepts the following values:
  25. @table @samp
  26. @item fast_bilinear
  27. Select fast bilinear scaling algorithm.
  28. @item bilinear
  29. Select bilinear scaling algorithm.
  30. @item bicubic
  31. Select bicubic scaling algorithm.
  32. @item experimental
  33. Select experimental scaling algorithm.
  34. @item neighbor
  35. Select nearest neighbor rescaling algorithm.
  36. @item area
  37. Select averaging area rescaling algorithm.
  38. @item bicubiclin
  39. Select bicubic scaling algorithm for the luma component, bilinear for
  40. chroma components.
  41. @item gauss
  42. Select Gaussian rescaling algorithm.
  43. @item sinc
  44. Select sinc rescaling algorithm.
  45. @item lanczos
  46. Select lanczos rescaling algorithm.
  47. @item spline
  48. Select natural bicubic spline rescaling algorithm.
  49. @item print_info
  50. Enable printing/debug logging.
  51. @item accurate_rnd
  52. Enable accurate rounding.
  53. @item full_chroma_int
  54. Enable full chroma interpolation.
  55. @item full_chroma_inp
  56. Select full chroma input.
  57. @item bitexact
  58. Enable bitexact output.
  59. @end table
  60. @item srcw
  61. Set source width.
  62. @item srch
  63. Set source height.
  64. @item dstw
  65. Set destination width.
  66. @item dsth
  67. Set destination height.
  68. @item src_format
  69. Set source pixel format (must be expressed as an integer).
  70. @item dst_format
  71. Set destination pixel format (must be expressed as an integer).
  72. @item src_range
  73. Select source range.
  74. @item dst_range
  75. Select destination range.
  76. @item param0, param1
  77. Set scaling algorithm parameters. The specified values are specific of
  78. some scaling algorithms and ignored by others. The specified values
  79. are floating point number values.
  80. @end table
  81. @c man end SCALER OPTIONS
  82. @chapter See Also
  83. @ifhtml
  84. @url{ffmpeg.html,ffmpeg}, @url{ffplay.html,ffplay}, @url{ffprobe.html,ffprobe}, @url{ffserver.html,ffserver},
  85. @url{libswscale.html,libswscale}
  86. @end ifhtml
  87. @ifnothtml
  88. ffmpeg(1), ffplay(1), ffprobe(1), ffserver(1), libswscale(3)
  89. @end ifnothtml
  90. @include authors.texi
  91. @ignore
  92. @setfilename ffmpeg-scaler
  93. @settitle FFmpeg video scaling and pixel format converter
  94. @end ignore
  95. @bye