You are not logged in.

#1 2022-09-22 12:03:17

dotpencan
Member
Registered: 2021-01-24
Posts: 6

[SOLVED] Dropping frames after resuming video playback

If I pause a video in mpv or GNOME Videos for at least 10 seconds and resume playback, the video skips. It happens under Wayland and Xorg. Changing the cache settings for mpv didn't fix it. Installed driver is intel-media-driver 22.4.4-2. ffmpeg version is 5.1.1.

mpv settings:

hwdec = no or vaapi
vo = gpu
gpu-context = x11egl

Some output from mpv:

[ffmpeg] AVHWDeviceContext: Failed to query surface attributes: 20 (the requested function is not implemented).

[vo/gpu/vaapi-egl] failed to retrieve libavutil frame constraints

../mesa-22.1.7/src/intel/isl/isl.c:2216: FINISHME: ../mesa-22.1.7/src/intel/isl/isl.c:isl_surf_supports_ccs: CCS for 3D textures is disabled, but a workaround is available.

AV: 00:00:15 / 01:34:43 (0%) A-V:  0.000 Dropped: 26

Edit:

It's not as bad on Fedora 37 Beta. It only drops 1 or 2 frames. Installing mesa-git 22.3.0 didn't fix it on Arch.

Edit:

Installing wireplumber and pipewire-pulse reduces the frames dropped to 1. (Remove pulseaudio and pulseaudio-bluetooth.)

Edit:

I still get frame drops when seeking in 4K videos. It doesn't happen when ao=null in mpv, so I made a key binding to change the setting (c cycle-values ao null pulse).

Last edited by dotpencan (2022-09-30 11:32:07)

Offline

#2 2022-09-24 19:52:44

Stewart Little
Member
From: England, UK
Registered: 2017-01-18
Posts: 115

Re: [SOLVED] Dropping frames after resuming video playback


“Great minds discuss ideas; average minds discuss events; small minds discuss people.” -Eleanor Roosevelt
“It is our choices, that show what we truly are, far more than our abilities.” -J. K Rowling
-----
How to Ask Questions the Smart Way

Offline

#3 2022-09-24 23:34:02

dotpencan
Member
Registered: 2021-01-24
Posts: 6

Re: [SOLVED] Dropping frames after resuming video playback

It doesn't happen when ao is set to 'alsa'. Thank you.

Edit:

Now it skips when I advance by single frames, which it doesn't do when I use PulseAudio.

Edit:

Installing wireplumber and pipewire-pulse reduces the frames dropped to 1, which is fine. (ao=pulse)

Last edited by dotpencan (2022-09-25 02:36:00)

Offline

Board footer

Powered by FluxBB