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

AV1 gpu-next color plane rotated 180° in playback #833

Open
faustaahmad opened this issue Dec 21, 2023 · 8 comments
Open

AV1 gpu-next color plane rotated 180° in playback #833

faustaahmad opened this issue Dec 21, 2023 · 8 comments

Comments

@faustaahmad
Copy link

faustaahmad commented Dec 21, 2023

Important information

Android version: 11
mpv-android version: 2023-11-30-release / 8033 (latest november 2023 release)

Description

Just enable gpu-next then play AV1 video wih SW decoder
Video used E09 Yuru Yuri (Trix's release)

gpu-next (landscape only)
playback paused

Additional information

# mpv.conf
no-deband
cache=no
demuxer-readahead-secs=60
dither=no
vd-queue-enable=yes
vd-queue-max-bytes=1000MiB
vd-queue-max-samples=36000
vd-queue-max-secs=60

# Language & subtitles
sub-visibility=yes
alang=jp,jpn,ja,en,eng
slang=jp,jpn,ja,en,eng

# Subtitle
demuxer-mkv-subtitle-preroll=yes
sub-auto=fuzzy
audio-file-auto=fuzzy
sub-file-paths=ass:srt:sub:subs:subtitles
embeddedfonts=yes
sub-fix-timing=no
sub-ass-force-style=Kerning=yes

# Scaling
scaler-resizes-only=no
linear-downscaling=yes
correct-downscaling=yes
sigmoid-upscaling=yes

scale=bilinear
dscale=spline16
cscale=bilinear

# Antiring
scale-antiring=0
dscale-antiring=0
cscale-antiring=0
@sfan5
Copy link
Member

sfan5 commented Dec 21, 2023

Both your screenshots are from gpu-next. Are you sure it's not another option doing this?

Can't reproduce here either.

@faustaahmad
Copy link
Author

faustaahmad commented Dec 21, 2023

Potrait mode work fine though
Landscape mode caused the problem on my side
Video resolution is 720p, while my phone still using 720p display too

Tried:
Blank mpv.conf - same problem occur
Changing scaling filter in "Video" settings - same problem occur
Enable Low quality decoding - same problem occur
480p AV1 video (sw upscaled by mpv to 720p) - no problem in both potrait/landscape
1080p AV1 video (sw downscaled by mpv to 720p) - no problem in both potrait/landscape
720p AV1 video (same & different encoder, 2 video) - potrait fine, landscape has this issue

Idk how to grab logcat without computer or root

@sfan5
Copy link
Member

sfan5 commented Dec 23, 2023

Idk how to grab logcat without computer or root

Me neither but without the log there's no chance at investigating this.

@faustaahmad
Copy link
Author

faustaahmad commented Jan 3, 2024

cmd_LecpCAlsm9
Tried to grab the logcat (my device didnt hv root)
Enable USB debugging & connect to laptop
Then I used adb logcat -s 'mpv:*' '*:F' and it doesnt output anything other than "Beginning of crash or system or main"
Tried using different usb cable & still same

This bug seems to only happen on my device with gpu-next, AV1, and same resolution as my screen (720p)
Other than that, it's fine even with gpu (gpu-next disabled)

@sfan5
Copy link
Member

sfan5 commented Jan 3, 2024

If adb logcat also prints nothing then your device does not expose any debug info.

@faustaahmad
Copy link
Author

Tried with this app, but still doesnt output any log for mpv until I enabled some random debugging settings inside dev options (that idk what it'll change)
Also tried with my laptop too after those random dev options that I have enabled, but it still spit out nothing 🙃
So here we go my logcat.txt but I cant use the command, sorry if it's noisy
Hope this'll help

@abdallahmehiz
Copy link

This also happens to me.

Some Device Info:

Xiaomi Redmi Note 8 Pro, Android 14 AOSP.
mpv-android 2023-11-30-release

Configuration info

The only things i changed from installing mpv-android are
Enabled gpu-next
mpv.conf:

vf=format=yuv420p

Episode 3 of MTBB'S Release

Video of it happening

@sfan5
Copy link
Member

sfan5 commented Feb 7, 2024

As it turns out this seems to affect certain AV1 videos and not all.
I can also reproduce it myself now (w/ the FOSDEM recordings).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants