Skip to content

[Android][Impeller]: Video player throws PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer on Huawei devices after upgrading to latest stable. #149721

Closed
@KonstantenKomkov

Description

@KonstantenKomkov

What package does this bug report belong to?

video_player

What target platforms are you seeing this bug on?

Android

Have you already upgraded your packages?

Yes

Dependency versions

pubspec.lock
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
  async:
    dependency: transitive
    description:
      name: async
      sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
      url: "https://pub.dev"
    source: hosted
    version: "2.11.0"
  boolean_selector:
    dependency: transitive
    description:
      name: boolean_selector
      sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  characters:
    dependency: transitive
    description:
      name: characters
      sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
      url: "https://pub.dev"
    source: hosted
    version: "1.3.0"
  clock:
    dependency: transitive
    description:
      name: clock
      sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
      url: "https://pub.dev"
    source: hosted
    version: "1.1.1"
  collection:
    dependency: transitive
    description:
      name: collection
      sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
      url: "https://pub.dev"
    source: hosted
    version: "1.18.0"
  csslib:
    dependency: transitive
    description:
      name: csslib
      sha256: "706b5707578e0c1b4b7550f64078f0a0f19dec3f50a178ffae7006b0a9ca58fb"
      url: "https://pub.dev"
    source: hosted
    version: "1.0.0"
  cupertino_icons:
    dependency: "direct main"
    description:
      name: cupertino_icons
      sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6
      url: "https://pub.dev"
    source: hosted
    version: "1.0.8"
  fake_async:
    dependency: transitive
    description:
      name: fake_async
      sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
      url: "https://pub.dev"
    source: hosted
    version: "1.3.1"
  flutter:
    dependency: "direct main"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_lints:
    dependency: "direct dev"
    description:
      name: flutter_lints
      sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1"
      url: "https://pub.dev"
    source: hosted
    version: "3.0.2"
  flutter_plugin_android_lifecycle:
    dependency: transitive
    description:
      name: flutter_plugin_android_lifecycle
      sha256: c6b0b4c05c458e1c01ad9bcc14041dd7b1f6783d487be4386f793f47a8a4d03e
      url: "https://pub.dev"
    source: hosted
    version: "2.0.20"
  flutter_test:
    dependency: "direct dev"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_web_plugins:
    dependency: transitive
    description: flutter
    source: sdk
    version: "0.0.0"
  html:
    dependency: transitive
    description:
      name: html
      sha256: "3a7812d5bcd2894edf53dfaf8cd640876cf6cef50a8f238745c8b8120ea74d3a"
      url: "https://pub.dev"
    source: hosted
    version: "0.15.4"
  leak_tracker:
    dependency: transitive
    description:
      name: leak_tracker
      sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
      url: "https://pub.dev"
    source: hosted
    version: "10.0.4"
  leak_tracker_flutter_testing:
    dependency: transitive
    description:
      name: leak_tracker_flutter_testing
      sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
      url: "https://pub.dev"
    source: hosted
    version: "3.0.3"
  leak_tracker_testing:
    dependency: transitive
    description:
      name: leak_tracker_testing
      sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
      url: "https://pub.dev"
    source: hosted
    version: "3.0.1"
  lints:
    dependency: transitive
    description:
      name: lints
      sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
      url: "https://pub.dev"
    source: hosted
    version: "3.0.0"
  matcher:
    dependency: transitive
    description:
      name: matcher
      sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
      url: "https://pub.dev"
    source: hosted
    version: "0.12.16+1"
  material_color_utilities:
    dependency: transitive
    description:
      name: material_color_utilities
      sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
      url: "https://pub.dev"
    source: hosted
    version: "0.8.0"
  meta:
    dependency: transitive
    description:
      name: meta
      sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
      url: "https://pub.dev"
    source: hosted
    version: "1.12.0"
  path:
    dependency: transitive
    description:
      name: path
      sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
      url: "https://pub.dev"
    source: hosted
    version: "1.9.0"
  plugin_platform_interface:
    dependency: transitive
    description:
      name: plugin_platform_interface
      sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.8"
  sky_engine:
    dependency: transitive
    description: flutter
    source: sdk
    version: "0.0.99"
  source_span:
    dependency: transitive
    description:
      name: source_span
      sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
      url: "https://pub.dev"
    source: hosted
    version: "1.10.0"
  stack_trace:
    dependency: transitive
    description:
      name: stack_trace
      sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
      url: "https://pub.dev"
    source: hosted
    version: "1.11.1"
  stream_channel:
    dependency: transitive
    description:
      name: stream_channel
      sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
      url: "https://pub.dev"
    source: hosted
    version: "2.1.2"
  string_scanner:
    dependency: transitive
    description:
      name: string_scanner
      sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
      url: "https://pub.dev"
    source: hosted
    version: "1.2.0"
  term_glyph:
    dependency: transitive
    description:
      name: term_glyph
      sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
      url: "https://pub.dev"
    source: hosted
    version: "1.2.1"
  test_api:
    dependency: transitive
    description:
      name: test_api
      sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
      url: "https://pub.dev"
    source: hosted
    version: "0.7.0"
  vector_math:
    dependency: transitive
    description:
      name: vector_math
      sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.4"
  video_player:
    dependency: "direct main"
    description:
      name: video_player
      sha256: db6a72d8f4fd155d0189845678f55ad2fd54b02c10dcafd11c068dbb631286c0
      url: "https://pub.dev"
    source: hosted
    version: "2.8.6"
  video_player_android:
    dependency: transitive
    description:
      name: video_player_android
      sha256: "4f77780499ebbdb3a8387f3de7a9d07a7665cfb3a3741177c44a52353fe41d64"
      url: "https://pub.dev"
    source: hosted
    version: "2.4.16"
  video_player_avfoundation:
    dependency: transitive
    description:
      name: video_player_avfoundation
      sha256: d1e9a824f2b324000dc8fb2dcb2a3285b6c1c7c487521c63306cc5b394f68a7c
      url: "https://pub.dev"
    source: hosted
    version: "2.6.1"
  video_player_platform_interface:
    dependency: transitive
    description:
      name: video_player_platform_interface
      sha256: "236454725fafcacf98f0f39af0d7c7ab2ce84762e3b63f2cbb3ef9a7e0550bc6"
      url: "https://pub.dev"
    source: hosted
    version: "6.2.2"
  video_player_web:
    dependency: transitive
    description:
      name: video_player_web
      sha256: ff4d69a6614b03f055397c27a71c9d3ddea2b2a23d71b2ba0164f59ca32b8fe2
      url: "https://pub.dev"
    source: hosted
    version: "2.3.1"
  vm_service:
    dependency: transitive
    description:
      name: vm_service
      sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
      url: "https://pub.dev"
    source: hosted
    version: "14.2.1"
  web:
    dependency: transitive
    description:
      name: web
      sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27"
      url: "https://pub.dev"
    source: hosted
    version: "0.5.1"
sdks:
  dart: ">=3.4.0 <4.0.0"
  flutter: ">=3.22.0"

Steps to reproduce

Launch any video through the video player.
Not all devices!
Devices for reproduce:
Huawei P20 pro (with google services)
Huawei nova Y61 (without google services)
P.S. With flutter version 3.19 video_player worked correctly.

Expected results

Video is playing

Actual results

Nothing happen

Code sample

Code sample
import 'package:flutter/material.dart';
import 'package:video_player/video_player.dart';

void main() => runApp(const VideoApp());

/// Stateful widget to fetch and then display video content.
class VideoApp extends StatefulWidget {
  const VideoApp({super.key});

  @override
  _VideoAppState createState() => _VideoAppState();
}

class _VideoAppState extends State<VideoApp> {
  late VideoPlayerController _controller;

  @override
  void initState() {
    super.initState();
    _controller = VideoPlayerController.networkUrl(Uri.parse(
        'https://flutter.github.io/assets-for-api-docs/assets/videos/bee.mp4'))
      ..initialize().then((_) {
        // Ensure the first frame is shown after the video is initialized, even before the play button has been pressed.
        setState(() {});
      });
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Video Demo',
      home: Scaffold(
        body: Center(
          child: _controller.value.isInitialized
              ? AspectRatio(
                  aspectRatio: _controller.value.aspectRatio,
                  child: VideoPlayer(_controller),
                )
              : Container(),
        ),
        floatingActionButton: FloatingActionButton(
          onPressed: () {
            setState(() {
              _controller.value.isPlaying
                  ? _controller.pause()
                  : _controller.play();
            });
          },
          child: Icon(
            _controller.value.isPlaying ? Icons.pause : Icons.play_arrow,
          ),
        ),
      ),
    );
  }

  @override
  void dispose() {
    _controller.dispose();
    super.dispose();
  }
}

Screenshots or Videos

Screenshots / Video demonstration

[Upload media here]
2024-06-05 10 18 00

Logs

Logs
E/flutter ( 3804): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] 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.64001F, -1, null, [1280, 720, 29.975233], [-1, -1]), format_supported=YES, null, null)
E/flutter ( 3804): 
Restarted application in 1 771ms.
I/ExoPlayerImpl( 3804): Release 553cb66 [ExoPlayerLib/2.18.7] [HWCLT, CLT-L29, HUAWEI, 29] [goog.exo.core, goog.exo.exoplayer, goog.exo.decoder, goog.exo.datasource, goog.exo.extractor]
I/ExoPlayerImpl( 3804): Init 6b381a2 [ExoPlayerLib/2.18.7] [HWCLT, CLT-L29, HUAWEI, 29]
V/AudioManager( 3804): getStreamVolume streamType: 3 volume: 11
V/AudioManager( 3804): isStreamMute   streamType: 3
V/AudioManager( 3804): getStreamMaxVolume  treamType: 3
I/OMXClient( 3804): IOmx service obtained
I/ACodec  ( 3804): In onAllocateComponent create compenent, codec name: OMX.hisi.video.decoder.avc
D/SurfaceUtils( 3804): connecting to surface 0x6ff97a6010, reason connectToSurface
I/MediaCodec( 3804): [OMX.hisi.video.decoder.avc] setting surface generation to 3895300
D/SurfaceUtils( 3804): disconnecting from surface 0x6ff97a6010, reason connectToSurface(reconnect)
D/SurfaceUtils( 3804): connecting to surface 0x6ff97a6010, reason connectToSurface(reconnect)
E/ACodec  ( 3804): [OMX.hisi.video.decoder.avc] setPortMode on output to DynamicANWBuffer failed w/ err -2147483648
I/ACodec  ( 3804): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec  ( 3804): [OMX.hisi.video.decoder.avc] using color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) and dataspace 0x104
I/ACodec  ( 3804): onStart
I/HwExtendedUtils( 3804): Set to window composer mode as 2
I/ACodec  ( 3804): gralloc usage: 0(OMX) => 0x2900(ACodec)
D/SurfaceUtils( 3804): disconnecting from surface 0x6ff97a6010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils( 3804): connecting to surface 0x6ff97a6010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils( 3804): set up nativeWindow 0x6ff97a6010 for 1280x720, color 0x30d, rotation 0, usage 0x2900
W/ACodec  ( 3804): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 10 failed: -1010
W/ACodec  ( 3804): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 9 failed: -1010
I/ACodec  ( 3804): [OMX.hisi.video.decoder.avc] Allocating 8 buffers from a native window of size 1554432 on output port
2
I/ACodec  ( 3804): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec  ( 3804): [OMX.hisi.video.decoder.avc] using color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) and dataspace 0x104
2
I/ACodec  ( 3804): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec  ( 3804): [OMX.hisi.video.decoder.avc] using color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) and dataspace 0x104
I/ACodec  ( 3804): [OMX.hisi.video.decoder.avc] Now handling output port settings change
I/ACodec  ( 3804): [OMX.hisi.video.decoder.avc] Output port now disabled.
I/HwExtendedUtils( 3804): Set to window composer mode as 2
I/ACodec  ( 3804): gralloc usage: 0(OMX) => 0x2900(ACodec)
D/SurfaceUtils( 3804): disconnecting from surface 0x6ff97a6010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils( 3804): connecting to surface 0x6ff97a6010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils( 3804): set up nativeWindow 0x6ff97a6010 for 1280x720, color 0x30d, rotation 0, usage 0x2900
W/ACodec  ( 3804): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 19 failed: -1010
W/ACodec  ( 3804): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 18 failed: -1010
W/ACodec  ( 3804): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 17 failed: -1010
W/ACodec  ( 3804): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 16 failed: -1010
E/ACodec  ( 3804): Failed to allocate output port buffers after port reconfiguration: (-1010)
E/ACodec  ( 3804): signalError(omxError 0x80001001, internalError -1010)
E/ACodec  ( 3804): Error occurred while disabling the output port
E/MediaCodec( 3804): Codec reported err 0xfffffc0e, actionCode 0, while in state 6
D/CCodec  ( 3804): allocate(c2.android.aac.decoder)
D/SurfaceUtils( 3804): disconnecting from surface 0x6ff97a6010, reason disconnectFromSurface
I/CCodec  ( 3804): Created component [c2.android.aac.decoder]
D/CCodecConfig( 3804): read media type: audio/mp4a-latm
D/ReflectedParamUpdater( 3804): extent() != 1 for single value type: algo.buffers.max-count.values
D/ReflectedParamUpdater( 3804): extent() != 1 for single value type: output.subscribed-indices.values
D/ReflectedParamUpdater( 3804): extent() != 1 for single value type: input.buffers.allocator-ids.values
D/ReflectedParamUpdater( 3804): extent() != 1 for single value type: output.buffers.allocator-ids.values
D/ReflectedParamUpdater( 3804): extent() != 1 for single value type: algo.buffers.allocator-ids.values
D/ReflectedParamUpdater( 3804): extent() != 1 for single value type: output.buffers.pool-ids.values
D/ReflectedParamUpdater( 3804): extent() != 1 for single value type: algo.buffers.pool-ids.values
I/CCodecConfig( 3804): query failed after returning 16 values (BAD_INDEX)
D/CCodecConfig( 3804): c2 config is Dict {
D/CCodecConfig( 3804):   c2::u32 coded.aac-packaging.value = 0
D/CCodecConfig( 3804):   c2::u32 coded.bitrate.value = 64000
D/CCodecConfig( 3804):   c2::u32 coded.pl.level = 0
D/CCodecConfig( 3804):   c2::u32 coded.pl.profile = 8192
D/CCodecConfig( 3804):   c2::float coding.drc.attenuation-factor.value = 1
D/CCodecConfig( 3804):   c2::float coding.drc.boost-factor.value = 1
D/CCodecConfig( 3804):   c2::i32 coding.drc.compression-mode.value = 3
D/CCodecConfig( 3804):   c2::i32 coding.drc.effect-type.value = 3
D/CCodecConfig( 3804):   c2::float coding.drc.encoded-level.value = 0.25
D/CCodecConfig( 3804):   c2::float coding.drc.reference-level.value = -16
D/CCodecConfig( 3804):   c2::u32 input.buffers.max-size.value = 8192
D/CCodecConfig( 3804):   c2::u32 input.delay.value = 0
D/CCodecConfig( 3804):   string input.media-type.value = "audio/mp4a-latm"
D/CCodecConfig( 3804):   c2::u32 output.delay.value = 2
D/CCodecConfig( 3804):   string output.media-type.value = "audio/raw"
D/CCodecConfig( 3804):   c2::u32 raw.channel-count.value = 1
D/CCodecConfig( 3804):   c2::u32 raw.sample-rate.value = 44100
D/CCodecConfig( 3804): }
D/CCodecConfig( 3804): config failed => CORRUPTED
D/CCodecConfig( 3804): c2 config is Dict {
D/CCodecConfig( 3804):   c2::u32 coded.aac-packaging.value = 0
D/CCodecConfig( 3804):   c2::u32 coded.bitrate.value = 64000
D/CCodecConfig( 3804):   c2::u32 coded.pl.level = 0
D/CCodecConfig( 3804):   c2::u32 coded.pl.profile = 8192
D/CCodecConfig( 3804):   c2::float coding.drc.attenuation-factor.value = 1
D/CCodecConfig( 3804):   c2::float coding.drc.boost-factor.value = 1
D/CCodecConfig( 3804):   c2::i32 coding.drc.compression-mode.value = 3
D/CCodecConfig( 3804):   c2::i32 coding.drc.effect-type.value = 3
D/CCodecConfig( 3804):   c2::float coding.drc.encoded-level.value = 0.25
D/CCodecConfig( 3804):   c2::float coding.drc.reference-level.value = -16
D/CCodecConfig( 3804):   c2::u32 input.buffers.max-size.value = 8192
D/CCodecConfig( 3804):   c2::u32 input.delay.value = 0
D/CCodecConfig( 3804):   string input.media-type.value = "audio/mp4a-latm"
D/CCodecConfig( 3804):   c2::u32 output.delay.value = 2
D/CCodecConfig( 3804):   string output.media-type.value = "audio/raw"
D/CCodecConfig( 3804):   c2::u32 raw.channel-count.value = 2
D/CCodecConfig( 3804):   c2::u32 raw.sample-rate.value = 48000
D/CCodecConfig( 3804): }
W/Codec2Client( 3804): query -- param skipped: index = 1107298332.
D/CCodec  ( 3804): client requested max input size 628, which is smaller than what component recommended (8192); overriding with component recommendation.
W/CCodec  ( 3804): This behavior is subject to change. It is recommended that app developers double check whether the requested max input size is in reasonable range.
D/CCodec  ( 3804): setup formats input: AMessage(what = 0x00000000) = {
D/CCodec  ( 3804):   int32_t channel-count = 2
D/CCodec  ( 3804):   int32_t level = 0
D/CCodec  ( 3804):   int32_t max-input-size = 8192
D/CCodec  ( 3804):   string mime = "audio/mp4a-latm"
D/CCodec  ( 3804):   int32_t profile = 2
D/CCodec  ( 3804):   int32_t sample-rate = 48000
D/CCodec  ( 3804): } and output: AMessage(what = 0x00000000) = {
D/CCodec  ( 3804):   int32_t channel-count = 2
D/CCodec  ( 3804):   string mime = "audio/raw"
D/CCodec  ( 3804):   int32_t sample-rate = 48000
D/CCodec  ( 3804): }
W/Codec2Client( 3804): query -- param skipped: index = 1342179345.
W/Codec2Client( 3804): query -- param skipped: index = 2415921170.
W/Codec2Client( 3804): query -- param skipped: index = 1610614798.
D/BufferPoolManager( 3804): # of cleaned connections: 1
D/BufferPoolManager( 3804): create new connection 16339773165798
D/CCodecBufferChannel( 3804): [c2.android.aac.decoder#932] Created input block pool with allocatorID 16 => poolID 20 - OK (0)
D/BufferPoolAccessor( 3804): bufferpool2 0x6f98c83c20 : 0(0 size) total buffers - 0(0 size) used buffers - 1/7 (recycle/alloc) - 1/2 (fetch/transfer)
D/BufferPoolAccessor( 3804): Destruction - bufferpool2 0x6f98c83c20 cached: 0/0M, 0/0% in use; allocs: 7, 14% recycled; transfers: 2, 50% unfetced
I/CCodecBufferChannel( 3804): [c2.android.aac.decoder#932] Created output block pool with allocatorID 16 => poolID 2402 - OK
D/BufferPoolAccessor( 3804): bufferpool2 0x6f6fd1f820 : 0(0 size) total buffers - 0(0 size) used buffers - 1/7 (recycle/alloc) - 6/9 (fetch/transfer)
D/BufferPoolAccessor( 3804): Destruction - bufferpool2 0x6f6fd1f820 cached: 0/0M, 0/0% in use; allocs: 7, 14% recycled; transfers: 9, 33% unfetced
D/CCodecBufferChannel( 3804): [c2.android.aac.decoder#932] Configured output block pool ids 2402 => OK
D/BufferPoolManager( 3804): client death recipient registered 16339773165799
D/BufferPoolManager( 3804): register new connection 4313862799050
E/MediaCodecVideoRenderer( 3804): Video codec error
E/MediaCodecVideoRenderer( 3804):   java.lang.IllegalStateException
E/MediaCodecVideoRenderer( 3804):       at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)
E/MediaCodecVideoRenderer( 3804):       at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:2789)
E/MediaCodecVideoRenderer( 3804):       at com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter.dequeueOutputBufferIndex(SynchronousMediaCodecAdapter.java:106)
E/MediaCodecVideoRenderer( 3804):       at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.drainOutputBuffer(MediaCodecRenderer.java:1814)
E/MediaCodecVideoRenderer( 3804):       at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:782)
E/MediaCodecVideoRenderer( 3804):       at com.google.android.exoplayer2.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:1007)
E/MediaCodecVideoRenderer( 3804):       at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:502)
E/MediaCodecVideoRenderer( 3804):       at android.os.Handler.dispatchMessage(Handler.java:106)
E/MediaCodecVideoRenderer( 3804):       at android.os.Looper.loop(Looper.java:219)
E/MediaCodecVideoRenderer( 3804):       at android.os.HandlerThread.run(HandlerThread.java:67)
E/ExoPlayerImplInternal( 3804): Playback error
E/ExoPlayerImplInternal( 3804):   com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/avc, avc1.64001F, -1, null, [1280, 720, 29.975233], [-1, -1]), format_supported=YES
E/ExoPlayerImplInternal( 3804):       at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:578)
E/ExoPlayerImplInternal( 3804):       at android.os.Handler.dispatchMessage(Handler.java:106)
E/ExoPlayerImplInternal( 3804):       at android.os.Looper.loop(Looper.java:219)
E/ExoPlayerImplInternal( 3804):       at android.os.HandlerThread.run(HandlerThread.java:67)
E/ExoPlayerImplInternal( 3804):   Caused by: com.google.android.exoplayer2.video.MediaCodecVideoDecoderException: Decoder failed: OMX.hisi.video.decoder.avc
E/ExoPlayerImplInternal( 3804):       at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.createDecoderException(MediaCodecVideoRenderer.java:1639)
E/ExoPlayerImplInternal( 3804):       at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:803)
E/ExoPlayerImplInternal( 3804):       at com.google.android.exoplayer2.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:1007)
E/ExoPlayerImplInternal( 3804):       at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:502)
E/ExoPlayerImplInternal( 3804):       ... 3 more
E/ExoPlayerImplInternal( 3804):   Caused by: java.lang.IllegalStateException
E/ExoPlayerImplInternal( 3804):       at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)
E/ExoPlayerImplInternal( 3804):       at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:2789)
E/ExoPlayerImplInternal( 3804):       at com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter.dequeueOutputBufferIndex(SynchronousMediaCodecAdapter.java:106)
E/ExoPlayerImplInternal( 3804):       at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.drainOutputBuffer(MediaCodecRenderer.java:1814)
E/ExoPlayerImplInternal( 3804):       at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:782)
E/ExoPlayerImplInternal( 3804):       ... 5 more
E/ExoPlayerImplInternal( 3804): Disable failed.
E/ExoPlayerImplInternal( 3804):   java.lang.IllegalStateException
E/ExoPlayerImplInternal( 3804):       at android.media.MediaCodec.native_flush(Native Method)
E/ExoPlayerImplInternal( 3804):       at android.media.MediaCodec.flush(MediaCodec.java:2194)
E/ExoPlayerImplInternal( 3804):       at com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter.flush(SynchronousMediaCodecAdapter.java:166)
E/ExoPlayerImplInternal( 3804):       at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.flushCodec(MediaCodecRenderer.java:867)
E/ExoPlayerImplInternal( 3804):       at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.flushOrReleaseCodec(MediaCodecRenderer.java:860)
E/ExoPlayerImplInternal( 3804):       at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.onDisabled(MediaCodecRenderer.java:700)
E/ExoPlayerImplInternal( 3804):       at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.onDisabled(MediaCodecVideoRenderer.java:609)
E/ExoPlayerImplInternal( 3804):       at com.google.android.exoplayer2.BaseRenderer.disable(BaseRenderer.java:186)
E/ExoPlayerImplInternal( 3804):       at com.google.android.exoplayer2.ExoPlayerImplInternal.disableRenderer(ExoPlayerImplInternal.java:1671)
E/ExoPlayerImplInternal( 3804):       at com.google.android.exoplayer2.ExoPlayerImplInternal.resetInternal(ExoPlayerImplInternal.java:1412)
E/ExoPlayerImplInternal( 3804):       at com.google.android.exoplayer2.ExoPlayerImplInternal.stopInternal(ExoPlayerImplInternal.java:1373)
E/ExoPlayerImplInternal( 3804):       at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:594)
E/ExoPlayerImplInternal( 3804):       at android.os.Handler.dispatchMessage(Handler.java:106)
E/ExoPlayerImplInternal( 3804):       at android.os.Looper.loop(Looper.java:219)
E/ExoPlayerImplInternal( 3804):       at android.os.HandlerThread.run(HandlerThread.java:67)
D/BufferPoolAccessor( 3804): buffer invalidation added bp:3 1
D/BufferPoolAccessor( 3804): buffer invalidation deleted bp:3
E/ACodec  ( 3804): signalError(omxError 0x80001001, internalError -110)
E/MediaCodec( 3804): Codec reported err 0xffffff92, actionCode 0, while in state 10
I/ACodec  ( 3804): [OMX.hisi.video.decoder.avc] forcing the release of codec
E/ACodec  ( 3804): OMX.hisi.video.decoder.avc

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.22.1, on macOS 14.0 23A344 darwin-arm64, locale ru-RU)
    • Flutter version 3.22.1 on channel stable at /Users/komkovkonstantin/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a14f74ff3a (2 weeks ago), 2024-05-22 11:08:21 -0500
    • Engine revision 55eae6864b
    • Dart version 3.4.1
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/komkovkonstantin/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] VS Code (version 1.89.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.90.0

[✓] Connected device (5 available)
    • CLT L29 (mobile)                • WCR7N18525012846                     • android-arm64  • Android 10 (API 29)
    • iPhone 15 Pro (mobile)          • 618D8C6B-1A26-4D9C-B4CF-85267DAAFE88 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)                 • macos                                • darwin-arm64   • macOS 14.0 23A344 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad                • darwin         • macOS 14.0 23A344 darwin-arm64
    • Chrome (web)                    • chrome                               • web-javascript • Google Chrome 125.0.6422.141
    ! Error: Browsing on the local area network for iPhone (Тестовый) (2). Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: regressionIt was better in the past than it is nowe: device-specificOnly manifests on certain devicese: impellerImpeller rendering backend issues and features requestsengineflutter/engine repository. See also e: labels.p: video_playerThe Video Player pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyr: solvedIssue is closed as solvedteam-engineOwned by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions