Open ShawnXiaoY opened 2 years ago
You could try --audio-stream-silence=yes
https://mpv.io/manual/master/#options-audio-stream-silence .
Also has this problem, not on all but some files. Problem was on pause and also during playback.
In the end what helped was turning hardware decoding on. The problem was completely fixed after that. Turning it off introduced the problem back. Also the system was not stressed or throttling during playback, so it isn't a resource issue.
System: Fedora 38 mpv 0.35.1 CPU: AMD Ryzen 7 5800H with Radeon Graphics (16) GPU: NVIDIA GeForce RTX 3060 Mobile
Any news? Ten years have passed, yet still this problem persists.
Duplicate of https://github.com/mpv-player/mpv/issues/2515.
Important Information
Provide following Information:
Reproduction steps
Pause a video/audio at a point that the audio's amplitude is large.
Expected behavior
Not to generate a cracking/popping sound
Actual behavior
Generating a cracking/popping sound
Sample files
There is no issue when playing the video/audio on Quicktime Player or on youtube.com, after investigating I found the reason: This is the wave form when you pause a video on mpv player or IINA(a macOS player based on mpv 0.32.0 currently):
This is the wave form when you pause a video on Quicktime Player:
These two are not the same piece of audio but it describes the issue, Quicktime Player seems to give a really quick fade out effect when you pause that users doesn't notice (because it's too short) so the wave won't suddenly stop which will make the speaker generate a pop sound, and when you drag the progress bar, I guess Quicktime will also give a fade out and fade in effect (I am too lazy to do the experiment :P).
p.s. the results are also noticeable when you look at the spectrum diagram: