Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

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