pydub icon indicating copy to clipboard operation
pydub copied to clipboard

it is slow for pydub to boot up to play in my case

Open redstoneleo opened this issue 6 years ago • 2 comments

I specified pydub to a dir with ffmpeg , ffprobe and ffplay, I don't know which was used to play the .spx audio file, and I found it is slow for pydub to boot up to play, any way to speed up the boot up process ? While I found it is a bit quick to use mplayer to do the playback.

redstoneleo avatar Dec 22 '18 04:12 redstoneleo

I think this is because pydub loads the file in memory before you can do anything with it, so you have to wait for the file to decode.

JPery avatar Feb 06 '19 09:02 JPery

I just found that I could use an .ipynb to spend the long load time on the first cell then iterate with zero load time on segment playback!

bioshazard avatar Jun 04 '23 17:06 bioshazard