-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MPV video stutters when certain audio filter enabled #9591
Comments
I can reproduce that switching audio channels makes the video playback lag temporarily in a really odd way, in version |
Same issue: mpv 0.32.0 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects Linux Distribution and Version: Source of the mpv binary Window Manager and version: GPU driver and version: |
Can be reproduced on Windows(10/11). |
Thanks @dyphire, though I placed it into the mpv config dir into the scripts subdir and it "worked" by turning off my audio filter "af=lavfi=[loudnorm=I=-16:TP=-3:LRA=4]" which obviously defeats the purpose. |
@f35f22fan Yes, that's how this script works. This is only a temporary solution. We can only wait for this issue to be fixed. |
ad-lavc-downmix=yes |
Can anyone still reproduce this? I tried that filter on a video with multiple audio channels with a high playback speed (like >2) and it was fine when switching. Nothing like OP's example video. |
The issue seems to be gone for me (Ubuntu 22.10, plasma 5). Didn't notice when it happened. Well.. the video still stutters for a second or less when I switch audio tracks which in theory shouldn't cause video stutters, but this issue is peanuts because the video used to stutter forever which made movies unwatchable. So it seems to me the issue is solved. |
Great. |
Important Information
Provide following Information:
mpv version:
mpv 0.33.1 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
built on UNKNOWN
FFmpeg library versions:
libavutil 56.70.100
libavcodec 58.134.100
libavformat 58.76.100
libswscale 5.9.100
libavfilter 7.110.100
libswresample 3.9.100
FFmpeg version: 4.4-6ubuntu5
Linux Distribution and Version:
Ubuntu 21.10 amd64
Source of the mpv binary
From standard repo (sudo apt-get install mpv)
If known which version of mpv introduced the problem:
I don't know
Window Manager and version:
KDE Plasma 5.23.4 (KDE Frameworks 5.88.0)
GPU driver and version:
Radeon RX 570, Mesa 21.3.1 - kisak-mesa PPA (Ubuntu's mesa has the same issue)
Possible screenshot or video of visual glitches
https://www.youtube.com/watch?v=e2rap2x8K20
Reproduction steps
Add this to mpv.conf "af=lavfi=[loudnorm=I=-16:TP=-3:LRA=4]" and play a video file at speed > 1
Expected behavior
Video shouldn't stutter
Actual behavior
Video stutters, switching audio (language) channels takes quite some time.
Log file
https://0x0.st/-FWy.txt
Sample files
Not needed, works with random video files.
The text was updated successfully, but these errors were encountered: