Skip to content

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

Closed
@SimplyJpk

Description

@SimplyJpk
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions