I/ExoPlayerImpl(12629): Init ff2837 [AndroidXMedia3/1.4.1] [HWSNE, SNE-LX1, HUAWEI, 29]
W/me.castify(12629): Accessing hidden method Landroid/media/AudioTrack;->getLatency()I (greylist, reflection, allowed)
D/NetworkSecurityConfig(12629): No Network Security Config specified, using platform default
D/ProfileInstaller(12629): Installing profile for me.castify
W/VideoCapabilities(12629): Unrecognized profile/level 0/0 for video/mpeg2
W/VideoCapabilities(12629): Unrecognized profile/level 0/2 for video/mpeg2
W/VideoCapabilities(12629): Unrecognized profile/level 0/3 for video/mpeg2
I/VideoCapabilities(12629): Unsupported profile 5 for video/mpeg2
I/chatty (12629): uid=10212(me.castify) ExoPlayer:Playb identical 2 lines
I/VideoCapabilities(12629): Unsupported profile 5 for video/mpeg2
W/VideoCapabilities(12629): Unrecognized profile/level 1/32 for video/mp4v-es
W/VideoCapabilities(12629): Unrecognized profile/level 32768/2 for video/mp4v-es
W/VideoCapabilities(12629): Unrecognized profile/level 32768/64 for video/mp4v-es
I/OMXClient(12629): IOmx service obtained
I/ACodec (12629): In onAllocateComponent create compenent, codec name: OMX.hisi.video.decoder.avc
D/SurfaceUtils(12629): connecting to surface 0x7a01fc3010, reason connectToSurface
I/MediaCodec(12629): [OMX.hisi.video.decoder.avc] setting surface generation to 12932097
D/SurfaceUtils(12629): disconnecting from surface 0x7a01fc3010, reason connectToSurface(reconnect)
D/SurfaceUtils(12629): connecting to surface 0x7a01fc3010, reason connectToSurface(reconnect)
E/ACodec (12629): [OMX.hisi.video.decoder.avc] setPortMode on output to DynamicANWBuffer failed w/ err -2147483648
I/ACodec (12629): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:3(BT601_6_625), M:3(BT601_6), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec (12629): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:3(BT601_6_625), M:3(BT601_6), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec (12629): [OMX.hisi.video.decoder.avc] using color aspects (R:2(Limited), P:3(BT601_6_625), M:3(BT601_6), T:3(SMPTE170M)) and dataspace 0x102
I/ACodec (12629): onStart
I/HwExtendedUtils(12629): Set to window composer mode as 2
I/ACodec (12629): gralloc usage: 0(OMX) => 0x2900(ACodec)
D/SurfaceUtils(12629): disconnecting from surface 0x7a01fc3010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils(12629): connecting to surface 0x7a01fc3010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils(12629): set up nativeWindow 0x7a01fc3010 for 222x480, color 0x30d, rotation 0, usage 0x2900
W/ACodec (12629): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 11 failed: -1010
W/ACodec (12629): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 10 failed: -1010
W/ACodec (12629): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 9 failed: -1010
I/ACodec (12629): [OMX.hisi.video.decoder.avc] Allocating 8 buffers from a native window of size 276480 on output port
W/Gralloc3(12629): allocator 3.x is not supported
I/ACodec (12629): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:4(BT601_6_525), M:3(BT601_6), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec (12629): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:4(BT601_6_525), M:3(BT601_6), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec (12629): [OMX.hisi.video.decoder.avc] using color aspects (R:2(Limited), P:4(BT601_6_525), M:3(BT601_6), T:3(SMPTE170M)) and dataspace 0x103
I/ACodec (12629): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:4(BT601_6_525), M:3(BT601_6), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec (12629): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:4(BT601_6_525), M:3(BT601_6), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec (12629): [OMX.hisi.video.decoder.avc] using color aspects (R:2(Limited), P:4(BT601_6_525), M:3(BT601_6), T:3(SMPTE170M)) and dataspace 0x103
I/ACodec (12629): [OMX.hisi.video.decoder.avc] Now handling output port settings change
I/ACodec (12629): [OMX.hisi.video.decoder.avc] Output port now disabled.
I/HwExtendedUtils(12629): Set to window composer mode as 2
I/ACodec (12629): gralloc usage: 0(OMX) => 0x2900(ACodec)
D/SurfaceUtils(12629): disconnecting from surface 0x7a01fc3010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils(12629): connecting to surface 0x7a01fc3010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils(12629): set up nativeWindow 0x7a01fc3010 for 224x480, color 0x30d, rotation 0, usage 0x2900
W/ACodec (12629): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 19 failed: -1010
W/ACodec (12629): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 18 failed: -1010
W/ACodec (12629): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 17 failed: -1010
W/ACodec (12629): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 16 failed: -1010
E/ACodec (12629): Failed to allocate output port buffers after port reconfiguration: (-1010)
E/ACodec (12629): signalError(omxError 0x80001001, internalError -1010)
E/MediaCodec(12629): Codec reported err 0xfffffc0e, actionCode 0, while in state 6
E/ACodec (12629): Error occurred while disabling the output port
D/SurfaceUtils(12629): disconnecting from surface 0x7a01fc3010, reason disconnectFromSurface
E/MediaCodecVideoRenderer(12629): Video codec error
E/MediaCodecVideoRenderer(12629): java.lang.IllegalStateException
E/MediaCodecVideoRenderer(12629): at android.media.MediaCodec.native_dequeueInputBuffer(Native Method)
E/MediaCodecVideoRenderer(12629): at android.media.MediaCodec.dequeueInputBuffer(MediaCodec.java:2726)
E/MediaCodecVideoRenderer(12629): at androidx.media3.exoplayer.mediacodec.SynchronousMediaCodecAdapter.dequeueInputBufferIndex(SynchronousMediaCodecAdapter.java:101)
E/MediaCodecVideoRenderer(12629): at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.feedInputBuffer(MediaCodecRenderer.java:1316)
E/MediaCodecVideoRenderer(12629): at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:875)
E/MediaCodecVideoRenderer(12629): at androidx.media3.exoplayer.video.MediaCodecVideoRenderer.render(MediaCodecVideoRenderer.java:1018)
E/MediaCodecVideoRenderer(12629): at androidx.media3.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:1136)
E/MediaCodecVideoRenderer(12629): at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:561)
E/MediaCodecVideoRenderer(12629): at android.os.Handler.dispatchMessage(Handler.java:106)
E/MediaCodecVideoRenderer(12629): at android.os.Looper.loop(Looper.java:219)
E/MediaCodecVideoRenderer(12629): at android.os.HandlerThread.run(HandlerThread.java:67)
E/ExoPlayerImplInternal(12629): Playback error
E/ExoPlayerImplInternal(12629): androidx.media3.exoplayer.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/avc, avc1.4D4015, 1540000, null, [222, 480, -1.0, ColorInfo(BT601, Limited range, SDR SMPTE 170M, false, 8bit Luma, 8bit Chroma)], [-1, -1]), format_supported=YES
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:640)
E/ExoPlayerImplInternal(12629): at android.os.Handler.dispatchMessage(Handler.java:106)
E/ExoPlayerImplInternal(12629): at android.os.Looper.loop(Looper.java:219)
E/ExoPlayerImplInternal(12629): at android.os.HandlerThread.run(HandlerThread.java:67)
E/ExoPlayerImplInternal(12629): Caused by: androidx.media3.exoplayer.video.MediaCodecVideoDecoderException: Decoder failed: OMX.hisi.video.decoder.avc
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.video.MediaCodecVideoRenderer.createDecoderException(MediaCodecVideoRenderer.java:1982)
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:893)
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.video.MediaCodecVideoRenderer.render(MediaCodecVideoRenderer.java:1018)
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:1136)
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:561)
E/ExoPlayerImplInternal(12629): ... 3 more
E/ExoPlayerImplInternal(12629): Caused by: java.lang.IllegalStateException
E/ExoPlayerImplInternal(12629): at android.media.MediaCodec.native_dequeueInputBuffer(Native Method)
E/ExoPlayerImplInternal(12629): at android.media.MediaCodec.dequeueInputBuffer(MediaCodec.java:2726)
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.mediacodec.SynchronousMediaCodecAdapter.dequeueInputBufferIndex(SynchronousMediaCodecAdapter.java:101)
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.feedInputBuffer(MediaCodecRenderer.java:1316)
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:875)
E/ExoPlayerImplInternal(12629): ... 6 more
E/ExoPlayerImplInternal(12629): Disable failed.
E/ExoPlayerImplInternal(12629): java.lang.IllegalStateException
E/ExoPlayerImplInternal(12629): at android.media.MediaCodec.native_flush(Native Method)
E/ExoPlayerImplInternal(12629): at android.media.MediaCodec.flush(MediaCodec.java:2194)
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.mediacodec.SynchronousMediaCodecAdapter.flush(SynchronousMediaCodecAdapter.java:168)
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.flushCodec(MediaCodecRenderer.java:960)
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.flushOrReleaseCodec(MediaCodecRenderer.java:953)
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.onDisabled(MediaCodecRenderer.java:780)
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.video.MediaCodecVideoRenderer.onDisabled(MediaCodecVideoRenderer.java:794)
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.BaseRenderer.disable(BaseRenderer.java:220)
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.ExoPlayerImplInternal.disableRenderer(ExoPlayerImplInternal.java:1846)
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.ExoPlayerImplInternal.resetInternal(ExoPlayerImplInternal.java:1566)
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.ExoPlayerImplInternal.stopInternal(ExoPlayerImplInternal.java:1523)
E/ExoPlayerImplInternal(12629): at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:686)
E/ExoPlayerImplInternal(12629): at android.os.Handler.dispatchMessage(Handler.java:106)
E/ExoPlayerImplInternal(12629): at android.os.Looper.loop(Looper.java:219)
E/ExoPlayerImplInternal(12629): at android.os.HandlerThread.run(HandlerThread.java:67)
Steps to reproduce
This is the same issue with this. It is re-occurred in Flutter 3.29.2 and 3.31.0-1.0.pre.363.
Run simple example of video player app. Video player version is 2.9.5. Tested with impeller and skia, both not working.
Expected results
Video is playing
Actual results
Video not playing
Code sample
Code sample
Tested with impeller and skia, both not working.
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
Flutter Doctor output
Doctor output