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

MediaPlayer Video not correctly rendered for Android (Galaxy S22 Ultra) #2101

Closed
SimplyJpk opened this issue Aug 26, 2024 · 0 comments · Fixed by #2109
Closed

MediaPlayer Video not correctly rendered for Android (Galaxy S22 Ultra) #2101

SimplyJpk opened this issue Aug 26, 2024 · 0 comments · Fixed by #2109
Labels
bug Something isn't working compatibility
Milestone

Comments

@SimplyJpk
Copy link

SimplyJpk commented Aug 26, 2024

  • axmol version: 2.1.5~ (Commit from Add render I420 video support, fix #2049 #2050 merge)

  • devices test on:

    • Samsung Galaxy s22 Ultra (Broken) | Android 13 | SM-S908E
    • x86 Simulator (Working)
    • Lenovo m8 gen4 (Working)
    • Poco F4 (Working)
  • developing environments

    • Android Studio Jellyfish | 2023.3.1
    • NDK version: 23.2.8568313
    • Visual Studio:
      • VS version: 2022 (17.0.4)
    • cmake version: 3.28.1

This is very similar to my previously reported issue with Android 11 Devices the other month #2049 however, it affects a fairly new phone (2022)

Steps to Reproduce:
A scene with a video with an expected standard video format.

Result:
image

I don't have the device in question so it is difficult to debug from my end. I have a collection of devices, but no Samsung devices so I also can't confirm if this might be a device specific issue or vendor specific.

Atached: Logcat, cleaned up a bit, no "does not support color format" like the previous issue. Is from the S22 Ultra
logcat.txt

Init 4a841af [AndroidXMedia3/1.2.1] [b0q, SM-S908E, samsung, 34]
Accessing hidden method Landroid/media/AudioTrack;->getLatency()I (unsupported, reflection, allowed)
[Individual]onPlaybackStateChanged: 2
[Individual]onIsLoadingChanged: true
Unsupported mime audio/x-ape
Unsupported mime audio/x-ima
Unsupported mime audio/mpeg-L1
Unsupported mime audio/mpeg-L2
Unsupported mime video/wvc1
Unsupported mime video/x-ms-wmv
Unsupported mime image/vnd.android.heic
Unsupported mime image/vnd.android.heic
Unrecognized profile/level 32768/256 for video/mp4v-es

Few other logs in there that appear problematic, but unsure if relevant or just a product of the earlier logs and process getting further than it should with bad params.

All of my other existing devices, and x64 simulator builds the video plays as expected.

If any other details are needed, let me know and I'll try get what I can

@halx99 halx99 added this to the 2.1.6 milestone Aug 26, 2024
@halx99 halx99 added the bug Something isn't working label Aug 26, 2024
halx99 added a commit that referenced this issue Aug 27, 2024
a. handle cbcr offset properly
b. handle output dim properly
@halx99 halx99 linked a pull request Aug 27, 2024 that will close this issue
6 tasks
halx99 added a commit that referenced this issue Aug 27, 2024
a. handle cbcr offset properly
b. handle output dim properly
halx99 added a commit that referenced this issue Aug 27, 2024
a. handle cbcr offset properly
b. handle output dim properly
halx99 added a commit that referenced this issue Aug 28, 2024
a. handle cbcr offset properly
b. handle output dim properly
halx99 added a commit that referenced this issue Aug 28, 2024
a. handle cbcr offset properly
b. handle output dim properly
halx99 added a commit that referenced this issue Aug 28, 2024
a. handle cbcr offset properly
b. handle output dim properly
halx99 added a commit that referenced this issue Aug 28, 2024
a. handle cbcr offset properly
b. handle output dim properly
xfbird pushed a commit to xfbird/axmol that referenced this issue Sep 18, 2024
…2109)

a. handle cbcr offset properly
b. handle output dim properly
xfbird pushed a commit to xfbird/axmol that referenced this issue Sep 18, 2024
…2109)

a. handle cbcr offset properly
b. handle output dim properly
@halx99 halx99 pinned this issue Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compatibility
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants