aniyomi-mpv-beta icon indicating copy to clipboard operation
aniyomi-mpv-beta copied to clipboard

Video display color broken

Open MF-Debug opened this issue 2 years ago • 19 comments

Latest update has broken video display color while playing any videos. It is shown with a green tint applied over the video. I've only tried it with KickassAnime source extension v13.11.

Screenshot_20221220-010718_Aniyomi

App version: 0.14.2.0-5854 (standard, 23bbfec2c, 93, 2022-12-19T02:30Z) Android version: 11 (SDK 30) Android build ID: lineage_hlte-userdebug 11 RQ3A.211001.001 2a6e556b0e Device brand: samsung Device manufacturer: samsung Device name: hlte Device model: SM-N9005 Device product name: hlte

MF-Debug avatar Dec 19 '22 19:12 MF-Debug

Does it happen to any other videos, maybe to all of them? If it only happens sometimes, what sources and what exact episodes? Are you using SW or HW decoding?

jmir1 avatar Dec 19 '22 20:12 jmir1

It was happening with every eposides of any animes I tried to watch. Thanks to your comment I figured out the issue. My decoding was switched to HW+ after the update automatically. I've switched it back to SW & it's all good now!

MF-Debug avatar Dec 19 '22 20:12 MF-Debug

Still, it's not good that HW decoding is doing this :/

jmir1 avatar Dec 19 '22 20:12 jmir1

Maybe KAA's files are just incorrectly encoded... https://github.com/mpv-player/mpv/issues/4340

jmir1 avatar Dec 19 '22 20:12 jmir1

Hmm that might a possibility. Also now the setting doesn't stick for the decoder. It automatically reverts back to HW+ for me whenever I exit the player. One other thing is previous version didn't have any such issue but it was showing me HW as decoder option, not HW+.

Screenshot_20221220-021910_Aniyomi

MF-Debug avatar Dec 19 '22 20:12 MF-Debug

image can you send me a screenshot with the stats open? (click the three dots in the top right corner, scroll down and click "toggle stats")

jmir1 avatar Dec 19 '22 20:12 jmir1

Here you go, this one is using HW+ - Screenshot_20221220-024148_Aniyomi

This one is SW - Screenshot_20221220-024356_Aniyomi

Another thing I noticed is now 1080p playback lags for me using SW but not for HW+. Previously it was the opposite.

MF-Debug avatar Dec 19 '22 20:12 MF-Debug

Can you try putting this line into your mpv.conf? vf=format=rgba (Settings > Player > Edit MPV configuration...)

jmir1 avatar Dec 19 '22 21:12 jmir1

Screenshot_20221220-112222_Aniyomi

I entered the line & tried again but it didn't work. :(

MF-Debug avatar Dec 20 '22 05:12 MF-Debug

Maybe KAA's files are just incorrectly encoded... mpv-player/mpv#4340

I tried with Gogoanime extension v13.51 & the issue is there too.

MF-Debug avatar Dec 20 '22 19:12 MF-Debug

ok, i will publish an update soon that lets you change back to the old "HW" decoder.

jmir1 avatar Dec 20 '22 20:12 jmir1

The new update lets you choose a default hwdec mode by long pressing the button in the player. Try changing it to HW. Then everything should probably work as expected.

jmir1 avatar Dec 23 '22 21:12 jmir1

I tried the new update as per your instruction but now HW makes my videos completely purple while playing & it gets frozen in 720p. In 1080p, videos don't even play & the whole app gets frozen. only SW works fine now.

Screenshot_20221224-110624_Aniyomi

MF-Debug avatar Dec 24 '22 07:12 MF-Debug

Can you downgrade to the version that worked for you and send a screenshot of that stats screen?

jmir1 avatar Dec 24 '22 08:12 jmir1

here you go, this works without any issues for me.

Screenshot_20221224-144710_Aniyomi

App version: 0.14.2.0-5846 (standard, aa69f47a1, 93, 2022-11-15T10:50Z) Android version: 11 (SDK 30) Android build ID: lineage_hlte-userdebug 11 RQ3A.211001.001 2a6e556b0e Device brand: samsung Device manufacturer: samsung Device name: hlte Device model: SM-N9005 Device product name: hlte

MF-Debug avatar Dec 24 '22 08:12 MF-Debug

Can you join the discord? https://discord.gg/F32UjdJZrR

jmir1 avatar Dec 24 '22 14:12 jmir1

I've joined - D34DC0RN#9933

MF-Debug avatar Dec 24 '22 14:12 MF-Debug

Okay, I just published an update that should hopefully fix any issues you had with "HW" decoding. But maybe it also helps with your "HW+" problems... Please try it out and tell me if something changed.

jmir1 avatar Jan 03 '23 15:01 jmir1

I can confirm that HW decoding is now fixed for me. But HW+ is still the same. I'm posting the details on Discord for you.

MF-Debug avatar Jan 03 '23 17:01 MF-Debug