Skip to content

Commit

Permalink
Merge pull request #11 from letuananh/dev
Browse files Browse the repository at this point in the history
Add cross-ref between tut_media and api_media
  • Loading branch information
letuananh committed Apr 30, 2021
2 parents 74d9d4e + 402debf commit b34849d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/api_media.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ Media module

This is a module for media processing.

For common media code samples, please refer to :ref:`tut_media`.

.. automodule:: speach.media
:members:
9 changes: 8 additions & 1 deletion docs/media.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.. _tut_media:

Media processing tutorial
==========================

Media module can be used to process audio and video files (converting, merging, cutting, et cetera).
:mod:`Media module <speach.media>` can be used to process audio and video files (converting, merging, cutting, et cetera).
``speach.media`` use ffmpeg underneath.

Installing ffmpeg
Expand All @@ -19,3 +21,8 @@ Sample code
print(media.version())
print(media.locate_ffmpeg())
media.convert("infile.mp3", "outfile.wav")
Others
------

For in-depth information and a complete API reference, please refer to :mod:`speach.media` API page.

0 comments on commit b34849d

Please sign in to comment.