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

Android expo-video-player error #537

Open
dgdagadin87 opened this issue Dec 23, 2021 · 6 comments
Open

Android expo-video-player error #537

dgdagadin87 opened this issue Dec 23, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@dgdagadin87
Copy link

Describe the bug
On Android (Galaxy A12, Android version 11), when I try to record video from the phone camera, I want to play it on next screen, and I render expo video player to play it. But I catch error

Encountered a fatal error during playback: h.f.c.d.o0.b$a: Decoder init failed: OMX.MTK.VIDEO.DECODER.AVC, Format(1, null, null, video/avc, null, -1, null, [1920, 1080, -1.0], [-1, -1])

To Reproduce
Steps to reproduce the behavior:

  1. Start recording video
  2. Stop recording video
  3. Navigate to next screen
  4. On next screen, render expo-video-player with this video.
  5. See error I wrote above

Expected behavior
A clear and concise description of what you expected to happen.

Additional information:

  • Type: expo
  • Device: Samsung Galaxy A12
  • OS: Android 11
  • Package version 3.1
  • Expo version 1.0.0
  • Expo CLI version 4.12.10
@dgdagadin87 dgdagadin87 added the bug Something isn't working label Dec 23, 2021
@dgdagadin87
Copy link
Author

Can you help me please?

@paul-leymet
Copy link

Hi,

I would also be interested by any tips about this.

@hirbod
Copy link

hirbod commented Apr 6, 2022

I am also getting this one here frequently

[VideoPlayer] Fatal Error - Encountered a fatal error during playback: Player error: null: [object Object]

Only on Android, iOS working fine.

@simahero
Copy link

I am also getting this one here frequently

[VideoPlayer] Fatal Error - Encountered a fatal error during playback: Player error: null: [object Object]

Only on Android, iOS working fine.

+1 on this

@ihmpavel
Copy link
Owner

Same issue as #464

@hirbod
Copy link

hirbod commented Aug 12, 2022

This issue has been resolved in the newest version of expo-av (12.0.4). The way videos getting unmounted has changed, I haven't seen this error anymore with SDK 46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants