retrocomputacion / retrobbs

A multimedia BBS software written in Python for Turbo56K enabled terminals running on Commodore 64 computers
GNU General Public License v3.0
37 stars 4 forks source link

Streaming Audio Maxes Out CPU on FFMPEG #25

Open chriskewl opened 1 year ago

chriskewl commented 1 year ago

Using a Raspberrry Pi 4 I see 100% usage on the Python code while streaming the song. The CPU is being hammered when streaming audio is playing but it's the Python doing it and not the ffmpeg.

Screenshot of htop

retrocomputacion commented 1 year ago

Should be fixed in fc2c1cb

chriskewl commented 1 year ago

Yes but moving the speed from 0.9 to 0.75 helped solve the skipping issue.

retrocomputacion commented 1 year ago

Did you also have to reduce the value to 0.75 on the latest version?