From 9b8b43adff2c19fbb62d231d5e501cbbc870505a Mon Sep 17 00:00:00 2001 From: "junjie.jiang" Date: Mon, 19 Sep 2022 16:55:47 +0800 Subject: [PATCH] update Signed-off-by: junjie.jiang --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1797522..944e139 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,11 @@ ```Python import towhee -towhee.glob('./music.mp3').audio_decode().flatten().show(limit=1) +towhee.glob('./music.mp3').audio_decode.ffmpeg().flatten().show(limit=1) + + +# batch decode +# towhee.glob('./music.mp3').audio_decode.ffmpeg(500).flatten().show(limit=1) ``` @@ -39,6 +43,10 @@ Create the operator via the following factory method: ***audio_decode.ffmpeg()*** +batch decode, batch_size = 100: + +***audio_decode.ffmpeg(100)*** +