libswresample.html 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
  4. <head>
  5. <meta charset="utf-8">
  6. <title>
  7. Libswresample Documentation
  8. </title>
  9. <meta name="viewport" content="width=device-width,initial-scale=1.0">
  10. <link rel="stylesheet" type="text/css" href="bootstrap.min.css">
  11. <link rel="stylesheet" type="text/css" href="style.min.css">
  12. </head>
  13. <body>
  14. <div class="container">
  15. <h1>
  16. Libswresample Documentation
  17. </h1>
  18. <div align="center">
  19. </div>
  20. <a name="SEC_Top"></a>
  21. <span id="SEC_Contents"></span>
  22. <h2 class="contents-heading">Table of Contents</h2>
  23. <div class="contents">
  24. <ul class="no-bullet">
  25. <li><a id="toc-Description" href="#Description">1 Description</a></li>
  26. <li><a id="toc-See-Also" href="#See-Also">2 See Also</a></li>
  27. <li><a id="toc-Authors" href="#Authors">3 Authors</a></li>
  28. </ul>
  29. </div>
  30. <a name="Description"></a>
  31. <h2 class="chapter">1 Description<span class="pull-right"><a class="anchor hidden-xs" href="#Description" aria-hidden="true">#</a> <a class="anchor hidden-xs"href="#toc-Description" aria-hidden="true">TOC</a></span></h2>
  32. <p>The libswresample library performs highly optimized audio resampling,
  33. rematrixing and sample format conversion operations.
  34. </p>
  35. <p>Specifically, this library performs the following conversions:
  36. </p>
  37. <ul>
  38. <li> <em>Resampling</em>: is the process of changing the audio rate, for
  39. example from a high sample rate of 44100Hz to 8000Hz. Audio
  40. conversion from high to low sample rate is a lossy process. Several
  41. resampling options and algorithms are available.
  42. </li><li> <em>Format conversion</em>: is the process of converting the type of
  43. samples, for example from 16-bit signed samples to unsigned 8-bit or
  44. float samples. It also handles packing conversion, when passing from
  45. packed layout (all samples belonging to distinct channels interleaved
  46. in the same buffer), to planar layout (all samples belonging to the
  47. same channel stored in a dedicated buffer or &quot;plane&quot;).
  48. </li><li> <em>Rematrixing</em>: is the process of changing the channel layout, for
  49. example from stereo to mono. When the input channels cannot be mapped
  50. to the output streams, the process is lossy, since it involves
  51. different gain factors and mixing.
  52. </li></ul>
  53. <p>Various other audio conversions (e.g. stretching and padding) are
  54. enabled through dedicated options.
  55. </p>
  56. <a name="See-Also"></a>
  57. <h2 class="chapter">2 See Also<span class="pull-right"><a class="anchor hidden-xs" href="#See-Also" aria-hidden="true">#</a> <a class="anchor hidden-xs"href="#toc-See-Also" aria-hidden="true">TOC</a></span></h2>
  58. <p><a href="ffmpeg.html">ffmpeg</a>, <a href="ffplay.html">ffplay</a>, <a href="ffprobe.html">ffprobe</a>,
  59. <a href="ffmpeg-resampler.html">ffmpeg-resampler</a>,
  60. <a href="libavutil.html">libavutil</a>
  61. </p>
  62. <a name="Authors"></a>
  63. <h2 class="chapter">3 Authors<span class="pull-right"><a class="anchor hidden-xs" href="#Authors" aria-hidden="true">#</a> <a class="anchor hidden-xs"href="#toc-Authors" aria-hidden="true">TOC</a></span></h2>
  64. <p>The FFmpeg developers.
  65. </p>
  66. <p>For details about the authorship, see the Git history of the project
  67. (git://source.ffmpeg.org/ffmpeg), e.g. by typing the command
  68. <code>git log</code> in the FFmpeg source directory, or browsing the
  69. online repository at <a href="http://source.ffmpeg.org">http://source.ffmpeg.org</a>.
  70. </p>
  71. <p>Maintainers for the specific components are listed in the file
  72. <samp>MAINTAINERS</samp> in the source code tree.
  73. </p>
  74. <p style="font-size: small;">
  75. This document was generated using <a href="http://www.gnu.org/software/texinfo/"><em>makeinfo</em></a>.
  76. </p>
  77. </div>
  78. </body>
  79. </html>