ffmpeg
copied
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Readme
Files and versions
Updated 3 years ago
audio-decode
Audio Decode Implementation With PyAV
author: Junjie Jiang
Description
Audio Decode converts the encoded audio back to uncompressed audio frames. In most cases, audio decoding is the first step of an audio processing pipeline.
Code Example
import towhee
towhee.glob('./music.mp3').audio_decode().flatten().show(limit=1)
Factory Constructor
Create the operator via the following factory method:
audio_decode.ffmpeg()
Interface
An audio decode operator takes an audio file path as input. It decodes the audio back to audio frames.
Args:
audio (str):
Audio file path.
Return (generator):
An generator over audio frames with type towhee.types.AudioFrame
.
audio-decode
aba68c1147
| 16 Commits | ||
---|---|---|---|
.gitattributes |
1.1 KiB
|
3 years ago | |
README.md |
803 B
|
3 years ago | |
__init__.py |
101 B
|
3 years ago | |
audio_decoder_ffmpeg.py |
766 B
|
3 years ago | |
img.png |
8.4 KiB
|
3 years ago | |
requirements.txt |
3 B
|
3 years ago |