expo-video-player
expo-video-player copied to clipboard
Android expo-video-player error
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:
- Start recording video
- Stop recording video
- Navigate to next screen
- On next screen, render expo-video-player with this video.
- 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
Can you help me please?
Hi,
I would also be interested by any tips about this.
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.
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
Same issue as https://github.com/ihmpavel/expo-video-player/issues/464
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