diff --git a/ffmpeg/ffmpeg.go b/ffmpeg/ffmpeg.go index 2606ed4..8b040e0 100644 --- a/ffmpeg/ffmpeg.go +++ b/ffmpeg/ffmpeg.go @@ -71,7 +71,7 @@ RETRY: // FFmpeg requires a certain buffer size to start writing. This seems to be enough? // This will grow big enough to fit the whole song. - ff.Out = bytes.NewBuffer(make([]byte, 43920)) + ff.Out = bytes.NewBuffer(make([]byte, 128*1024)) ff.Cmd.Stdout = ff.Out exitctx, cancel := context.WithTimeout(context.Background(), 2*time.Second)