Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. =head1 NAME
  2.  
  3. ffmpeg-scaler - FFmpeg video scaling and pixel format converter
  4.  
  5. =head1 DESCRIPTION
  6.  
  7.  
  8. The FFmpeg rescaler provides a high-level interface to the libswscale
  9. library image conversion utilities. In particular it allows to perform
  10. image rescaling and pixel format conversion.
  11.  
  12.  
  13.  
  14.  
  15. =head1 SCALER OPTIONS
  16.  
  17.  
  18. The video scaler supports the following named options.
  19.  
  20. Options may be set by specifying -I<option> I<value> in the
  21. FFmpeg tools. For programmatic use, they can be set explicitly in the
  22. C<SwsContext> options or through the F<libavutil/opt.h> API.
  23.  
  24.  
  25. =over 4
  26.  
  27.  
  28.  
  29.  
  30. =item B<sws_flags>
  31.  
  32. Set the scaler flags. This is also used to set the scaling
  33. algorithm. Only a single algorithm should be selected.
  34.  
  35. It accepts the following values:
  36.  
  37. =over 4
  38.  
  39.  
  40. =item B<fast_bilinear>
  41.  
  42. Select fast bilinear scaling algorithm.
  43.  
  44.  
  45. =item B<bilinear>
  46.  
  47. Select bilinear scaling algorithm.
  48.  
  49.  
  50. =item B<bicubic>
  51.  
  52. Select bicubic scaling algorithm.
  53.  
  54.  
  55. =item B<experimental>
  56.  
  57. Select experimental scaling algorithm.
  58.  
  59.  
  60. =item B<neighbor>
  61.  
  62. Select nearest neighbor rescaling algorithm.
  63.  
  64.  
  65. =item B<area>
  66.  
  67. Select averaging area rescaling algorithm.
  68.  
  69.  
  70. =item B<bicubiclin>
  71.  
  72. Select bicubic scaling algorithm for the luma component, bilinear for
  73. chroma components.
  74.  
  75.  
  76. =item B<gauss>
  77.  
  78. Select Gaussian rescaling algorithm.
  79.  
  80.  
  81. =item B<sinc>
  82.  
  83. Select sinc rescaling algorithm.
  84.  
  85.  
  86. =item B<lanczos>
  87.  
  88. Select lanczos rescaling algorithm.
  89.  
  90.  
  91. =item B<spline>
  92.  
  93. Select natural bicubic spline rescaling algorithm.
  94.  
  95.  
  96. =item B<print_info>
  97.  
  98. Enable printing/debug logging.
  99.  
  100.  
  101. =item B<accurate_rnd>
  102.  
  103. Enable accurate rounding.
  104.  
  105.  
  106. =item B<full_chroma_int>
  107.  
  108. Enable full chroma interpolation.
  109.  
  110.  
  111. =item B<full_chroma_inp>
  112.  
  113. Select full chroma input.
  114.  
  115.  
  116. =item B<bitexact>
  117.  
  118. Enable bitexact output.
  119.  
  120. =back
  121.  
  122.  
  123.  
  124. =item B<srcw>
  125.  
  126. Set source width.
  127.  
  128.  
  129. =item B<srch>
  130.  
  131. Set source height.
  132.  
  133.  
  134. =item B<dstw>
  135.  
  136. Set destination width.
  137.  
  138.  
  139. =item B<dsth>
  140.  
  141. Set destination height.
  142.  
  143.  
  144. =item B<src_format>
  145.  
  146. Set source pixel format (must be expressed as an integer).
  147.  
  148.  
  149. =item B<dst_format>
  150.  
  151. Set destination pixel format (must be expressed as an integer).
  152.  
  153.  
  154. =item B<src_range>
  155.  
  156. Select source range.
  157.  
  158.  
  159. =item B<dst_range>
  160.  
  161. Select destination range.
  162.  
  163.  
  164. =item B<param0, param1>
  165.  
  166. Set scaling algorithm parameters. The specified values are specific of
  167. some scaling algorithms and ignored by others. The specified values
  168. are floating point number values.
  169.  
  170.  
  171. =item B<sws_dither>
  172.  
  173. Set the dithering algorithm. Accepts one of the following
  174. values. Default value is B<auto>.
  175.  
  176.  
  177. =over 4
  178.  
  179.  
  180. =item B<auto>
  181.  
  182. automatic choice
  183.  
  184.  
  185. =item B<none>
  186.  
  187. no dithering
  188.  
  189.  
  190. =item B<bayer>
  191.  
  192. bayer dither
  193.  
  194.  
  195. =item B<ed>
  196.  
  197. error diffusion dither
  198.  
  199. =back
  200.  
  201.  
  202.  
  203. =back
  204.  
  205.  
  206.  
  207.  
  208. =head1 SEE ALSO
  209.  
  210.  
  211.  
  212. ffmpeg(1), ffplay(1), ffprobe(1), ffserver(1), libswscale(3)
  213.  
  214.  
  215. =head1 AUTHORS
  216.  
  217.  
  218. The FFmpeg developers.
  219.  
  220. For details about the authorship, see the Git history of the project
  221. (git://source.ffmpeg.org/ffmpeg), e.g. by typing the command
  222. B<git log> in the FFmpeg source directory, or browsing the
  223. online repository at E<lt>B<http://source.ffmpeg.org>E<gt>.
  224.  
  225. Maintainers for the specific components are listed in the file
  226. F<MAINTAINERS> in the source code tree.
  227.  
  228.  
  229.  
  230.