Skip to content
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

gpu-next: background transparency seems unimplemented #10815

Closed
occivink opened this issue Oct 30, 2022 · 2 comments
Closed

gpu-next: background transparency seems unimplemented #10815

occivink opened this issue Oct 30, 2022 · 2 comments
Labels

Comments

@occivink
Copy link
Contributor

Important Information

mpv 0.34.0-555-gd3a28f12c9 Copyright © 2000-2022 mpv/MPlayer/mplayer2 projects
 built on Sun Oct 30 02:27:54 2022
FFmpeg library versions:
   libavutil       57.28.100
   libavcodec      59.37.100
   libavformat     59.27.100
   libswscale      6.7.100
   libavfilter     8.44.100
   libswresample   4.7.100
FFmpeg version: n5.1.2

Compiled from master on archlinux + wayland + intel GPU

Reproduction steps

Run the following command

mpv --no-config --pause --vo=gpu-next --background=0/0 --alpha=yes --geometry=1000x400 any_image.png

The input image must have a different aspect ratio than the specified geometry, such that the background (or "black bars" as referred to in the manual) is visible.
Note that other alpha values trigger the same bug.

Expected behavior

The black bars are entirely transparent, since a background alpha of 0 is specified.

Actual behavior

The black bars are visible and entirely opaque.

Log file

log.txt

@haasn
Copy link
Member

haasn commented Nov 1, 2022

Does it work with --gpu-api=vulkan?

@occivink
Copy link
Contributor Author

occivink commented Nov 1, 2022

With --vo=gpu-next it does not, but with --vo=gpu it does.

@haasn haasn closed this as completed in 6acb7db Nov 1, 2022
dyphire pushed a commit to dyphire/mpv that referenced this issue Feb 22, 2023
dyphire pushed a commit to dyphire/mpv that referenced this issue Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants