CarterLi / iina

The modern video player for macOS with additional features and bug fixes.
https://iina.io
GNU General Public License v3.0
681 stars 29 forks source link

progress slider stutter #55

Open sclsj opened 2 years ago

sclsj commented 2 years ago

System and IINA version:

Expected behavior:

When dragging the progress slider, there is no delay and the animation is smooth.

Actual behavior:

When dragging the progress slider, there is a ~1 second delay. And the sliding action is not smooth. [seems to only occur on a specific album: sungazer's perihelion downloaded from Netease Music.]

Steps to reproduce:

Open an audio file from the album and drag the progress slider.

How often does this happen?

Always.

CarterLi commented 2 years ago

seems to only occur on a specific album: sungazer's perihelion downloaded from Netease Music

Often because it's not correctly encoded. You may convert the audio format to something else and try to reproduce

sclsj commented 2 years ago

Same thing also happens when I re-encode it to alac. Example: ffmpeg -i /Users/jin/Music/网易云音乐/Sungazer/Perihelion/Sungazer\ -\ Threshold.flac -c:v copy -c:a alac /Users/jin/Music/网易云音乐/Sungazer/Perihelion/Sungazer\ -\ Threshold2.m4a

sclsj commented 2 years ago

I removed the cover art with -vn and it fixed the stuttering.