tramhao / termusic

Music Player TUI written in Rust
GNU General Public License v3.0
1.05k stars 44 forks source link

stuttering when playing flac files. #303

Closed HappyGoFishing closed 4 months ago

HappyGoFishing commented 5 months ago

Environment & Versions

Logs: No logs were created.

Description of the Problem

When playing flac files there is a regular stutter that occurs at least once a minute, this happens much less often with mp3 files.

tramhao commented 5 months ago

Could be bug in our code for rusty backend. Do you have same problem when using gstreamer or mpv backend? You can switch backend by:

termusic -b gstreamer
termusic -b mpv
tramhao commented 5 months ago

I checked the AUR package doesn't have all backends enabled. If you have time, you can clone this repo and make full to do the installation.

tramhao commented 5 months ago

You could also upload the file you met problem. I have only very short test file for flac. Thanks.

hasezoey commented 4 months ago

also something to consider, is your file on a ssd or spinning disk (or some other slow to react from idle disk)?

Emiliasky commented 3 months ago

I'm experiencing the same issue on arch, using the aur package. Tested with rusty, gstreamer and mpv. I am using an ssd.

HappyGoFishing commented 3 months ago

same

hasezoey commented 3 months ago

i do not have any flac-native files, so i can only test on files converted to flac (original mp3 / aac / vorbis), and with those converted files i cannot reproduce this problem on v0.9.0-367-gbdd32f20[g] (manjaro linux, pipewire 1.0.7, rusty backend), so more information would be great:

HappyGoFishing commented 3 months ago

When I am again using my linux system, I will do more testing and report back here.