Open Kennybust opened 6 days ago
[cplayer] Enter buffering (buffer went from 100% -> 12%) [0.128000s].
[cplayer] Still buffering (buffer went from 12% -> 0%) [0.000000s].
[cplayer] Still buffering (buffer went from 0% -> 12%) [0.128000s].
[cplayer] Still buffering (buffer went from 12% -> 0%) [0.000000s].
[cplayer] Still buffering (buffer went from 0% -> 9%) [0.096000s].
...
swresample is extremely slow here for some reason, but I can't reproduce this locally
Can i be of any help?
I noticed that "regular\default" dynaudnorm is causing these freezes in 4K HDR 24FPS only, in regular 4K content it's not freezing but if i give dynaudnorm parameters then it's starts to freeze there too "F2 af toggle "dynaudnorm=compress=27.0:gausssize=53""
Could it be my CPU? (AMD Athlon II X3 450) it's old, but it's only at 22% and GPU at 40% utilization when watching 4K HDR content with profile=high-quality and with or without dynaudnorm. It does show 2-3% CPU spike in task manager when these freezes are happening
Could it be my CPU? (AMD Athlon II X3 450) it's old, but it's only at 22% and GPU at 40% utilization when watching 4K HDR content with profile=high-quality and with or without dynaudnorm. It does show 2-3% CPU spike in task manager when these freezes are happening
It may be. It would require proper profiling to know for sure where is the bottleneck. Task manager monitoring is averaged over time, you won't see short bottlenecks just looking at the cpu usage %. WPR recording would show individual thread usage with more resolution.
Frankly I think your CPU is too slow indeed, it might mange if the audio filtering thread would be set to higher priority, but hard to tell if it is not just raw throughput issue.
You might try https://github.com/shinchiro/mpv-winbuild-cmake/releases mpv-x86_64-gcc-
vs mpv-x86_64-
build. Maybe gcc build would be faster for you, not sure how much of audio filtering is hand optimized in ffmpeg.
The extreme compression for dynaudnorm use much slower algorithm (at least 20x times slower when compared with no compression), I will try to address the while loop that is mayor source of slowdown, and if I find fix will push fix to librempeg.
mpv Information
Other Information
Reproduction Steps
toggle dynaudnorm and watch 4K or 4K HDR content
Expected Behavior
dynaudnorm should not be causing video to freeze for a second every 10-15 seconds
Actual Behavior
dynaudnorm causing video to freeze for a second every 10-15 seconds
Log File
log.txt
Sample Files
No response
I carefully read all instruction and confirm that I did the following:
--log-file=output.txt
.