mpv-player / mpv-player/mpv

"Can't apply vdpaupp filter multiple times." when trying to enable deinterlacing after specifying vdpaupp filter

Open
#5,663 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

filter:vdpau
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

mpv version and platform

0.27.2 from OpenSUSE Tumbleweed main repo.

Reproduction steps
  1. Run Mpv with a vdpaupp filter e.g. --vf=vdpaupp=deint-mode=temporal-spatial or --vf=vdpaupp=hqscaling=1
  2. Try to enable deinterlacing by pressing d.
Expected behavior

Deinterlacing is enabled, using the algorithm specified with --vf=vdpaupp=deint-mode= if that option was given.

Actual behavior

The text:

[vdpaupp] Can't apply vdpaupp filter multiple times.                                                                                                                                                                                               
[vdpaupp] Error filtering frame.

is spammed in the terminal, and nothing appears to happen to the video (other than Deinterlace: yes appearing in the corner).

Log file

https://0x0.st/sBHD.txt

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with --vf=vdpaupp=deint-mode=temporal-spatial or --vf=vdpaupp=hqscaling=1, then press d to follow the vdpaupp filtering and deinterlacing paths. Use the linked log to compare the failing sequence; done means deinterlacing enables without applying vdpaupp twice and retains the requested deinterlace mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.