wang-bin / fvp

Flutter video player plugin for all desktop+mobile platforms. download prebuilt examples from github actions. https://pub.dev/packages/fvp
BSD 3-Clause "New" or "Revised" License
197 stars 31 forks source link

windows arm (colors inverted) #152

Closed abdelaziz-mahdy closed 2 months ago

abdelaziz-mahdy commented 2 months ago

Describe the bug colors are inverted when playing video on windows arm and it plays correctly on macos version

fvp version: 0.26.1 Expected behavior colors to be correct

Log Add https://justpaste.it/c3aw3

image
wang-bin commented 2 months ago

Can you build this example for me? I can test in parallels desktop.

abdelaziz-mahdy commented 2 months ago

i dont have a windows machine, i am building the app using github actions and testing it using vmware fusion (which runs a windows machine with arm arch) since parallels costs alot of money

my action is same as this one https://github.com/wang-bin/mdk-examples/blob/master/.github/workflows/main.yml

wang-bin commented 2 months ago

How to build in github actions?

I don't have build environment, but https://github.com/wang-bin/fvp/issues/103 this user tested on arm and no such issue.

wang-bin commented 2 months ago

You can also test ./glfwplay.exe -logfile test.log -c:v MFT -d3d11 test.mp4

abdelaziz-mahdy commented 2 months ago

How to build in github actions?

I don't have build environment, but https://github.com/wang-bin/fvp/issues/103 this user tested on arm and no such issue.

You already build in. GitHub actions using this https://github.com/wang-bin/mdk-examples/blob/master/.github/workflows/main.yml

It may be a VMware issue so I will check again using a player or the command you provided

What is glfwplay.exe?

wang-bin commented 2 months ago

Are you running x64 binaries on arm64? I can reproduce a similar issue. but arm64 binaries works fine for me.

glfwplay.exe is a test program in mdk-sdk

abdelaziz-mahdy commented 2 months ago

I don't know how to build an arm version using GitHub actions 😅

So yes it looks like I am building and running x86 version

Edit: so it's a problem with windows virtualization then I guess?

wang-bin commented 2 months ago

should be fixed in the latest mdk

abdelaziz-mahdy commented 2 months ago

Will test it and let you know, thank you