|
@ -1,4 +1,4 @@ |
|
|
# Audio decode implementation with PyAV |
|
|
|
|
|
|
|
|
# Audio Decode Implementation With PyAV |
|
|
|
|
|
|
|
|
*author: Junjie Jiang* |
|
|
*author: Junjie Jiang* |
|
|
|
|
|
|
|
@ -17,7 +17,6 @@ Using the default audio_decode implementation and writing the pipeline in the si |
|
|
|
|
|
|
|
|
### Code Example |
|
|
### Code Example |
|
|
|
|
|
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
```Python |
|
|
```Python |
|
|
import towhee |
|
|
import towhee |
|
@ -31,7 +30,6 @@ towhee.glob('./music.mp3') |
|
|
|
|
|
|
|
|
### Factory Constructor |
|
|
### Factory Constructor |
|
|
|
|
|
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
Create the operator via the following factory method |
|
|
Create the operator via the following factory method |
|
|
|
|
|
|
|
@ -43,7 +41,6 @@ audio_decode.ffmpeg() |
|
|
|
|
|
|
|
|
### Interface |
|
|
### Interface |
|
|
|
|
|
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
An audio decode operator takes an audio file path as input. It decodes the audio back to audio frames. |
|
|
An audio decode operator takes an audio file path as input. It decodes the audio back to audio frames. |
|
|