newtaDev / pod_player

Video player for flutter web & mobile devices, Play video from youtube or vimeo or network in flutter using pod player
https://pub.dev/packages/pod_player
MIT License
106 stars 202 forks source link

Video codec error #132

Open minfosoftware opened 1 year ago

minfosoftware commented 1 year ago

Failed to initialize decoder: OMX.qcom.video.decoder.avc android.media.MediaCodec$CodecException: Error 0xfffffc0e

Video codec error com.google.android.exoplayer2.mediacodec.MediaCodecRenderer$DecoderInitializationException: Decoder init failed: OMX.qcom.video.decoder.avc, Format(1, null, null, video/avc, avc1.640028, -1, null, [1080, 1920, 25.0, null], [-1, -1]) Caused by: android.media.MediaCodec$CodecException: Error 0xfffffc0e

Playback error com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/avc, avc1.640028, -1, null, [1080, 1920, 25.0, null], [-1, -1]), format_supported=YES

Caused by: com.google.android.exoplayer2.mediacodec.MediaCodecRenderer$DecoderInitializationException: Decoder init failed: OMX.qcom.video.decoder.avc, Format(1, null, null, video/avc, avc1.640028, -1, null, [1080, 1920, 25.0, null], [-1, -1])

Now uninitialized

Unhandled Exception: PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/avc, avc1.640028, -1, null, [1080, 1920, 25.0, null], [-1, -1]), format_supported=YES, null, null)

this error how to solve it?

duongtuancanhktpm commented 1 year ago

I have reported the same problem. https://github.com/newtaDev/pod_player/issues/121