libswresample.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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 7.1 -->
  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 class="top-level-extent" id="SEC_Top">
  19. <div class="element-contents" id="SEC_Contents">
  20. <h2 class="contents-heading">Table of Contents</h2>
  21. <div class="contents">
  22. <ul class="toc-numbered-mark">
  23. <li><a id="toc-Description" href="#Description">1 Description</a></li>
  24. <li><a id="toc-See-Also" href="#See-Also">2 See Also</a></li>
  25. <li><a id="toc-Authors" href="#Authors">3 Authors</a></li>
  26. </ul>
  27. </div>
  28. </div>
  29. <ul class="mini-toc">
  30. <li><a href="#Description" accesskey="1">Description</a></li>
  31. <li><a href="#See-Also" accesskey="2">See Also</a></li>
  32. <li><a href="#Authors" accesskey="3">Authors</a></li>
  33. </ul>
  34. <div class="chapter-level-extent" id="Description">
  35. <h2 class="chapter"><span>1 Description<a class="copiable-link" href="#Description"> &para;</a></span></h2>
  36. <p>The libswresample library performs highly optimized audio resampling,
  37. rematrixing and sample format conversion operations.
  38. </p>
  39. <p>Specifically, this library performs the following conversions:
  40. </p>
  41. <ul class="itemize mark-bullet">
  42. <li><em class="emph">Resampling</em>: is the process of changing the audio rate, for
  43. example from a high sample rate of 44100Hz to 8000Hz. Audio
  44. conversion from high to low sample rate is a lossy process. Several
  45. resampling options and algorithms are available.
  46. </li><li><em class="emph">Format conversion</em>: is the process of converting the type of
  47. samples, for example from 16-bit signed samples to unsigned 8-bit or
  48. float samples. It also handles packing conversion, when passing from
  49. packed layout (all samples belonging to distinct channels interleaved
  50. in the same buffer), to planar layout (all samples belonging to the
  51. same channel stored in a dedicated buffer or &quot;plane&quot;).
  52. </li><li><em class="emph">Rematrixing</em>: is the process of changing the channel layout, for
  53. example from stereo to mono. When the input channels cannot be mapped
  54. to the output streams, the process is lossy, since it involves
  55. different gain factors and mixing.
  56. </li></ul>
  57. <p>Various other audio conversions (e.g. stretching and padding) are
  58. enabled through dedicated options.
  59. </p>
  60. </div>
  61. <div class="chapter-level-extent" id="See-Also">
  62. <h2 class="chapter"><span>2 See Also<a class="copiable-link" href="#See-Also"> &para;</a></span></h2>
  63. <p><a class="url" href="ffmpeg.html">ffmpeg</a>, <a class="url" href="ffplay.html">ffplay</a>, <a class="url" href="ffprobe.html">ffprobe</a>,
  64. <a class="url" href="ffmpeg-resampler.html">ffmpeg-resampler</a>,
  65. <a class="url" href="libavutil.html">libavutil</a>
  66. </p>
  67. </div>
  68. <div class="chapter-level-extent" id="Authors">
  69. <h2 class="chapter"><span>3 Authors<a class="copiable-link" href="#Authors"> &para;</a></span></h2>
  70. <p>The FFmpeg developers.
  71. </p>
  72. <p>For details about the authorship, see the Git history of the project
  73. (https://git.ffmpeg.org/ffmpeg), e.g. by typing the command
  74. <code class="command">git log</code> in the FFmpeg source directory, or browsing the
  75. online repository at <a class="url" href="https://git.ffmpeg.org/ffmpeg">https://git.ffmpeg.org/ffmpeg</a>.
  76. </p>
  77. <p>Maintainers for the specific components are listed in the file
  78. <samp class="file">MAINTAINERS</samp> in the source code tree.
  79. </p>
  80. </div>
  81. </div>
  82. <p style="font-size: small;">
  83. This document was generated using <a class="uref" href="https://www.gnu.org/software/texinfo/"><em class="emph">makeinfo</em></a>.
  84. </p>
  85. </div>
  86. </body>
  87. </html>