Giter VIP home page Giter VIP logo

Comments (15)

wang-bin avatar wang-bin commented on May 31, 2024 1

ok. I will use FFmpeg if emulator is detected

from fvp.

wang-bin avatar wang-bin commented on May 31, 2024

seems hardware decoder not fully supported on emulator. change this https://github.com/wang-bin/fvp/blob/v0.2.1/lib/src/video_player_mdk.dart#L41C4-L41C4

to

      'android': ['AMediaCodec:surface=0:copy=1', 'FFmpeg'],

or

      'android': ['FFmpeg'],

works for me. Can you confirm it? Then I will add code to detect emulator and select another set of decoders

from fvp.

zezo357 avatar zezo357 commented on May 31, 2024

okay, will test when i get home, and will let you know

from fvp.

AnonymHK avatar AnonymHK commented on May 31, 2024

I have tested it and found that this solution is available. The simulator does not support hardware decoding, and in practical applications, it is rarely necessary to run it on the simulator. It is not necessary to detect whether it is running on the simulator! Suggest enabling as a debugging option!

from fvp.

zezo357 avatar zezo357 commented on May 31, 2024

yes setting
registerWith(options: { 'video.decoders': ['FFmpeg', 'auto']});

made the black screen disappear and video is working correctly even though i think how i wrote it breaks other platfroms hardware decoders (not sure)

i would love if software decoding is used by default if hardware one is not working correclty

from fvp.

wang-bin avatar wang-bin commented on May 31, 2024

what about 'AMediaCodec:surface=0:copy=1'

from fvp.

zezo357 avatar zezo357 commented on May 31, 2024

what about 'AMediaCodec:surface=0:copy=1'

Oh I thought that was the default sorry I will test it now and let you know

from fvp.

zezo357 avatar zezo357 commented on May 31, 2024

setting

    registerWith(options: {
      'video.decoders': [
        'AMediaCodec:surface=0:copy=1',
        'FFmpeg',
      ]
    });

the video starts normally, but whenever i seek the video is playing but its a still image
and i cant seek back

logs

The Flutter DevTools debugger and profiler on sdk gphone64 arm64 is available at: http://127.0.0.1:9104?uri=http://127.0.0.1:55053/leMosqn1vHg=/
D/EGL_emulation(24576): app_time_stats: avg=1804.59ms min=10.37ms max=3598.81ms count=2
W/libOpenSLES(24576): Leaving Object::GetInterface (SL_RESULT_FEATURE_UNSUPPORTED)
W/libOpenSLES(24576): Leaving Object::GetInterface (SL_RESULT_FEATURE_UNSUPPORTED)
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:35.604028: 358762319 player-5476376613429443024 create(https://movietrailers.apple.com/movies/paramount/the-spongebob-movie-sponge-on-the-run/the-spongebob-movie-sponge-on-the-run-big-game_h720p.mov)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.625521: default0xb400007c444378b0 new FrameReader...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.625847: Registered audio backends: OpenSL AudioTrack null 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.626735: OpenSL extensions: ANDROID_SDK_LEVEL_31
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.626998: default0xb400007c44437ef0 new FrameReader...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.627695: Registered audio backends: OpenSL AudioTrack null 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.628458: OpenSL extensions: ANDROID_SDK_LEVEL_31
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.629060: 0xb400007c344862b0mdk::Player::Player()
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.629497: default FrameReader0xb400007c444378b0 state: 0=>0=>0, 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.629893: default0xb400007c444378b0 virtual void mdk::FrameReader::stop(), current state: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.630024: default FrameReader0xb400007c444378b0 state: 0=>0=>0, 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.630474: default0xb400007c444378b0 virtual void mdk::FrameReader::stop(), current state: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.630995: 0xb400007c64458a20 MediaControl.prepare(0, ...) https://movietrailers.apple.com/movies/paramount/the-spongebob-movie-sponge-on-the-run/the-spongebob-movie-sponge-on-the-run-big-game_h720p.mov
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.631245: default 0xb400007c444378b0 FrameReader.start(0, ...)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.631979: default 0xb400007c444378b0 FrameReader::update MediaStatus 0=>0X2
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:35.633801: 358762319 player-5476376613429443024 onMediaStatusChanged: MediaStatus(noMedia) => MediaStatus(+loading)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.634821: default FrameReader0xb400007c444378b0 state: 0=>0=>1, 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.635268: default FrameReader0xb400007c444378b0 state: 0=>1=>1, 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.635848: start frame reader thread: 527088729264
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.636352: try to load av module: /data/app/~~1kxBvBHBYAEfDwO9cIKkpg==/com.zezo357.flutter_meedu_videoplayer_example-D9AFhUrPfe0feDeRdOszrQ==/lib/arm64/libffmpeg.so
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.636784: ffmpeg loaded: /data/app/~~1kxBvBHBYAEfDwO9cIKkpg==/com.zezo357.flutter_meedu_videoplayer_example-D9AFhUrPfe0feDeRdOszrQ==/lib/arm64/libffmpeg.so
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.636852: Selected avutil runtime version: 58.16.101 (build: 58.16.101), license: LGPL version 2.1 or later
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.637463: Selected avutil runtime configuration: --extra-version=avbuild --disable-doc --disable-debug --disable-static --enable-shared --enable-runtime-cpudetect --enable-mediacodec --enable-jni --disable-vulkan --disable-v4l2-m2m --disable-indevs --enable-indev=android_camera --disable-outdevs --disable-postproc --ar=llvm-ar --ranlib=llvm-ranlib --nm=llvm-nm --strip=llvm-strip --target-os=android --arch=arm64 --enable-cross-compile --cross-prefix=aarch64-linux-android- --pkg-config=pkg-config --cc=clang --extra-ldexeflags='-Wl,--gc-sections -Wl,-z,nocopyreloc -pie -fPIE ' --enable-lto --enable-pic --extra-cflags='-Wa,--noexecstack -fdata-sections -ffunction-sections -fstack-protector-strong -ffast-math -fstrict-aliasing --target=aarch64-none-linux-android21' --extra-ldflags='-Wl,--gc-sections -Wl,-z,relro -Wl,-z,now --sysroot /usr/local/lib/android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64//sysroot -fuse-ld=lld -rtlib=compiler-rt --target=aarch64-none-linux-andr
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.638007: av_dict_set0x7abe6f0a80
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.638246: Selected avformat runtime version: 60.10.100 (build: 60.10.100), license: LGPL version 2.1 or later
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.638541: avformat_version0x7abe632bf4
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.638841: Trying MediaIO FFmpeg for protocol "https"
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.639056: 0xb400007bc44459b0 open url: https://movietrailers.apple.com/movies/paramount/the-spongebob-movie-sponge-on-the-run/the-spongebob-movie-sponge-on-the-run-big-game_h720p.mov
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.783854: FFmpeg/Libav runtime git-2023-08-13-80fdf51-avbuild
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.937348: 0xb400007bc44459b0 url opened
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.937602: default 0xb400007c444378b0 FrameReader::update MediaStatus 0X2=>0X2
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.939545: Selected avcodec runtime version: 60.23.100 (build: 60.23.100), license: LGPL version 2.1 or later
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.941814: av_packet_alloc0x7abe41a54c
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:35.945394: before avformat_open_input. io: 0xb400007bc44459b0(FFmpeg/pb: 0xb400007c1443c5d0, url: https://movietrailers.apple.com/movies/paramount/the-spongebob-movie-sponge-on-the-run/the-spongebob-movie-sponge-on-the-run-big-game_h720p.mov
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.494248: after avformat_open_input. pb: 0xb400007c1443c5d0, iformat: 0x7abe7cb6d8 context flags: 2097280, input format flags: 67141640
D/EGL_emulation(24576): app_time_stats: avg=5.96ms min=1.27ms max=84.72ms count=57
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.623246: supports 205 ffmpeg sw pixel formats. unsupported: uyyvyy411 x2rgb10be x2bgr10be p212be p212le p412be p412le
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.625929: Unsupported stream type: data, codec: unknown
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.626421: Format: mov,mp4,m4a,3gp,3g2,mj2, range: 0 +30030ms, bitrate: 5481672, size: 0
I/flutter (24576): Metadata:
I/flutter (24576):   com.apple.finalcutstudio.media.uuid: C196274E-6F34-42E1-B6E4-C2F6A46A45C3
I/flutter (24576):   com.apple.quicktime.version: 7.7.1 (2339) 0x7718000 (Mac OS X, 10.7.5, 11G63)
I/flutter (24576):   com.apple.quicktime.player.movie.visual.tint: 0.000000
I/flutter (24576):   com.apple.quicktime.player.movie.visual.color: 1.000000
I/flutter (24576):   com.apple.quicktime.player.movie.visual.brightness: 0.000000
I/flutter (24576):   com.apple.quicktime.player.movie.audio.mute: 
I/flutter (24576):   com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
I/flutter (24576):   com.apple.quicktime.player.version: 7.6.6 (7.6.6)
I/flutter (24576):   com.apple.quicktime.player.movie.audio.balance: 0.000000
I/flutter (24576):   timecode: 01:00:00:00
I/flutter (24576):   com.apple.quicktime.player.movie.visual.contrast: 1.000000
I/flutter (24576):   com.apple.quicktime.player.movie.audio.treble: 0.000000
I/flutter (24576):   minor_version: 537199360
I/flutter (24576):   com.apple.quicktime.player.movie.audio.gain: 1.000000
I/flutter (24576):   creation_time: 2020-01-29T22:49:17.000000Z
I/flutter (24576):   com.apple.quicktime.player.movie.audio.bass: 0.000000
I/flutter (24576):   compatible_br
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.627458: default FrameReader0xb400007c444378b0 request to pause 1, loaded: 0.
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.629983: default FrameReader0xb400007c444378b0 state: 0=>1=>2, 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.630508: default FrameReader0xb400007c444378b0 state requested: 2, current: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.630805: 0xb400007c64458a20 prepared callback is invoked
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.632058: default 0xb400007c444378b0 FrameReader::update MediaStatus 0X2=>0X4
D/oplayer_exampl(24576): PlayerBase::PlayerBase()
D/oplayer_exampl(24576): TrackPlayerBase::TrackPlayerBase()
I/libOpenSLES(24576): Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:36.645554: 358762319 player-5476376613429443024 onMediaStatusChanged: MediaStatus(+loading) => MediaStatus(+loaded)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.649865: ***buffering progress 0%***
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.650231: default 0xb400007c444378b0 FrameReader::update MediaStatus 0X4=>0X14
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:36.650515: 358762319 player-5476376613429443024 onMediaStatusChanged: MediaStatus(+loaded) => MediaStatus(+loaded+buffering)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.651767: ++++++++++++BUFFERING START++++++++++++
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.652133: 
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:36.652975: 358762319 player-5476376613429443024 onEvent: reader.buffering 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.653766: default FrameReader0xb400007c444378b0 state: 0=>2=>1, 1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.654054: default FrameReader0xb400007c444378b0 update state: 0=>1
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:36.654534: 358762319 player-5476376613429443024 onPlaybackStateChanged: PlaybackState.stopped => PlaybackState.playing
D/HostConnection(24576): createUnique: call
D/HostConnection(24576): HostConnection::get() New Host Connection established 0xb400007be441a1d0, tid 24649
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.654973: default FrameReader0xb400007c444378b0 state: 1=>1=>2, 1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.656415: default FrameReader0xb400007c444378b0 update state: 1=>2
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.656776: starting decode loop thread mdk.adec2@527052090544
D/HostConnection(24576): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0 
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:36.659525: 358762319 player-5476376613429443024 onEvent: thread.audio 1
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:36.659760: 358762319 player-5476376613429443024 onPlaybackStateChanged: PlaybackState.playing => PlaybackState.paused
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.660148: audio stream#2 starting decoding loop from decoder index 0...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.660407: creating audio decoder: auto...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.661153: starting decode loop thread mdk.vdec0@527034272944
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:36.661615: 358762319 player-5476376613429443024 onEvent: thread.video 1
D/EGL_emulation(24576): eglCreateContext: 0xb400007be4417a10: maj 3 min 0 rcv 3
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.661934: opening audio decoder: FFmpeg...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.662733: video stream#0 starting decoding loop from decoder index 0...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.663018: opening ffmpeg audio decoder: aac ...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.663446: creating video decoder: AMediaCodec:surface=0:copy=1...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.663686: opening video decoder: AMediaCodec...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.664476: CodecForMimeType: video/avc, profile: 2, level: -1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.665017: 527034272944 JMI: JNI Modern Interface. Version 0.1.0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.665709: AVCodec.Audio[aac.] decoder: 1 Single threads
D/EGL_emulation(24576): eglCreateContext: 0xb400007be441d110: maj 3 min 0 rcv 3
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.666218: aac f32p, stereo @44100Hz
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:36.666362: 358762319 player-5476376613429443024 onEvent: decoder.audio 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.666456: ***buffering progress 100%***
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.666513: default 0xb400007c444378b0 FrameReader::update MediaStatus 0X14=>0X124
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:36.666868: 358762319 player-5476376613429443024 onMediaStatusChanged: MediaStatus(+loaded+buffering) => MediaStatus(+loaded+prepared+buffered)
D/EGL_emulation(24576): eglMakeCurrent: 0xb400007be441d110: ver 3 0 (tinfo 0x7e0b8f2280) (first time)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.667115: ++++++++++++BUFFERING END++++++++++++
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.667434: 
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:36.668262: 358762319 player-5476376613429443024 onEvent: reader.buffering 100
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.669379: audio stream#2 sending 1 invalid AOT frame @0.000000s. seeking: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.669730: 0xb400007c64458a20 1st audio frame @0.000000
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.671368: 0xb400007c64458a20 seek end audio frame @0.000000 seek_pos_: -1, sync_ao_ 1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.672206: Selected avfilter runtime version: 9.10.100 (build: 9.10.100), license: LGPL version 2.1 or later
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.672627: AudioRenderer format: f32, stereo @44100Hz, requested: f32p, stereo @44100Hz
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.673265: AudioRenderer format changed and reinitialize
W/libOpenSLES(24576): Leaving PlaybackRate::GetRateRange (SL_RESULT_PARAMETER_INVALID)
D/oplayer_exampl(24576): PlayerBase::stop() from IPlayer
D/AudioTrack(24576): stop(46): called with 0 frames delivered
D/oplayer_exampl(24576): PlayerBase::stop() from IPlayer
D/AudioTrack(24576): stop(46): called with 256 frames delivered
D/oplayer_exampl(24576): PlayerBase::stop() from IPlayer
D/AudioTrack(24576): stop(46): called with 256 frames delivered
D/oplayer_exampl(24576): PlayerBase::stop() from IPlayer
D/AudioTrack(24576): stop(46): called with 256 frames delivered
D/oplayer_exampl(24576): PlayerBase::stop() from IPlayer
D/AudioTrack(24576): stop(46): called with 256 frames delivered
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.691651: Rendering thread @526998637744
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.692324: 0xb400007c344854d0 start RenderLoop
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.692519: 0xb400007b744afe40->PlatformSurface::Event::NativeHandle: 0x0>>>0x7fc3b273cc
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.693082: auto mdk::VideoPresenter::VideoPresenter()::(anonymous class)::operator()(UGS::PlatformSurface *) const: 0x0=>0xb400007b64470db0 RenderAPI.type: 1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.693281: createRenderContext of RenderAPI::Type 1 from surface 0xb400007b744afe40 with extra native res 0x0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.693509: ThreadLocal<bool>::Data::Data() thread: 526998637744
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.693564: T *ThreadLocal<bool>::get() const allocate and initialize ThreadLocal data
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.693613: ThreadLocal<UGL::opengl::Context::Config>::Data::Data() thread: 526998637744
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.693916: T *ThreadLocal<UGL::opengl::Context::Config>::get() const allocate and initialize ThreadLocal data
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.694469: creating internal shared offscreen context for type: EGL|OpenGL|OpenGLES
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.695041: creating EGL context from window: 0x0 with shared context: 0x0 extra: 0x0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.695718: dso.load: libEGL.sotest: true
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.695930: libEGL.so test load result 0xd98902fd55fbee7...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.696057: initialize EGL display from eglGetDisplay()
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.696934: Try to create context for OpenGL ES 3
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.697481: creating EGL context from window: 0xb400007cd4464ae0 with shared context: 0xb400007b94476c50 extra: 0x0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.697761: initialize EGL display from eglGetDisplay()
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.697902: Try to create context for OpenGL ES 3
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.698113: MediaCodecInfo name: c2.android.aac.decoder, mime: audio/mp4a-latm 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.698234: MediaCodecInfo name: OMX.google.aac.decoder, mime: audio/mp4a-latm 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.698292: MediaCodecInfo name: c2.android.amrnb.decoder, mime: audio/3gpp 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.698346: MediaCodecInfo name: OMX.google.amrnb.decoder, mime: audio/3gpp 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.698415: ThreadLocal<UGL::opengl::platform::GLContext *>::Data::Data() thread: 526998637744
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.698660: T *ThreadLocal<UGL::opengl::platform::GLContext *>::get() const allocate and initialize ThreadLocal data
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.698827: MediaCodecInfo name: c2.android.amrwb.decoder, mime: audio/amr-wb 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.698976: MediaCodecInfo name: OMX.google.amrwb.decoder, mime: audio/amr-wb 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.699151: MediaCodecInfo name: c2.android.flac.decoder, mime: audio/flac 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.699232: ++++++++++onContextCreated+++++++++++
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.699297: PlatformSurface::Event::Resize
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.699411: MediaCodecInfo name: OMX.google.flac.decoder, mime: audio/flac 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.699542: MediaCodecInfo name: c2.android.g711.alaw.decoder, mime: audio/g711-alaw 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.699686: MediaCodecInfo name: OMX.google.g711.alaw.decoder, mime: audio/g711-alaw 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.700102: MediaCodecInfo name: c2.android.g711.mlaw.decoder, mime: audio/g711-mlaw 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.700264: MediaCodecInfo name: OMX.google.g711.mlaw.decoder, mime: audio/g711-mlaw 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.700505: MediaCodecInfo name: c2.android.mp3.decoder, mime: audio/mpeg 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.700752: MediaCodecInfo name: OMX.google.mp3.decoder, mime: audio/mpeg 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.700887: MediaCodecInfo name: c2.android.opus.decoder, mime: audio/opus 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.701118: MediaCodecInfo name: OMX.google.opus.decoder, mime: audio/opus 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.701387: MediaCodecInfo name: c2.android.raw.decoder, mime: audio/raw 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.701522: MediaCodecInfo name: OMX.google.raw.decoder, mime: audio/raw 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.701682: MediaCodecInfo name: c2.android.vorbis.decoder, mime: audio/vorbis 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.701733: MediaCodecInfo name: OMX.google.vorbis.decoder, mime: audio/vorbis 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.701830: MediaCodecInfo name: c2.goldfish.h264.decoder, mime: video/avc video/avc -profile: 2
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.701917: profileLevels count: 5
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.701961: profile: 65536 level: 65536
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.702080: profile: 1 level: 65536
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.702194: profile: 2 level: 65536
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.702279:  [Match]. 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.702594: MediaCodecInfo name: c2.goldfish.vp8.decoder, mime: video/x-vnd.on2.vp8 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.702795: MediaCodecInfo name: c2.goldfish.vp9.decoder, mime: video/x-vnd.on2.vp9 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.703006: MediaCodecInfo name: c2.android.av1.decoder, mime: video/av01 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.703153: MediaCodecInfo name: c2.android.avc.decoder, mime: video/avc video/avc -profile: 2
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.703311: profileLevels count: 5
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.703596: profile: 65536 level: 65536
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.703787: profile: 1 level: 65536
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.704052: profile: 2 level: 65536
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.704338:  [Match]. 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.704751: MediaCodecInfo name: OMX.google.h264.decoder, mime: video/avc video/avc -profile: 2
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.705256: profileLevels count: 5
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.705435: profile: 65536 level: 65536
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.705688: profile: 1 level: 65536
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.705788: profile: 2 level: 65536
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.706009:  [Match]. 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.706254: PlatformSurface::Event::Resize
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.706479: MediaCodecInfo name: c2.android.h263.decoder, mime: video/3gpp 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.706880: MediaCodecInfo name: OMX.google.h263.decoder, mime: video/3gpp 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.707174: MediaCodecInfo name: c2.android.hevc.decoder, mime: video/hevc 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.707394: MediaCodecInfo name: OMX.google.hevc.decoder, mime: video/hevc 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.707497: MediaCodecInfo name: c2.android.mpeg4.decoder, mime: video/mp4v-es 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.707800: MediaCodecInfo name: OMX.google.mpeg4.decoder, mime: video/mp4v-es 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.707961: MediaCodecInfo name: c2.android.vp8.decoder, mime: video/x-vnd.on2.vp8 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.708280: MediaCodecInfo name: OMX.google.vp8.decoder, mime: video/x-vnd.on2.vp8 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.708746: MediaCodecInfo name: c2.android.vp9.decoder, mime: video/x-vnd.on2.vp9 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.709143: MediaCodecInfo name: OMX.google.vp9.decoder, mime: video/x-vnd.on2.vp9 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.709579: setLoop(0), now 0/0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.709911: found codecs count: 3 | 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.710544: video/avc AMediaCodec_createCodecByName: c2.goldfish.h264.decoder
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.711066: ndk::AMediaCodec *ndk::AMediaCodec_createCodecByName(const char *) via ndk: true
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.711363: SL_IID_PLAYBACKRATE Range0: [500, 2000]/0 cap: 400
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.712117: Using audio backend: OpenSL
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.712633: 0xb400007c64458a20 virtual void mdk::MediaControlPush::setState(mdk::PlaybackState)@969 requested state 2=>2, current state 2. status: 0X124
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.713090: default FrameReader0xb400007c444378b0 request to pause 1, loaded: 4.
D/CCodec  (24576): allocate(c2.goldfish.h264.decoder)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.713261: default FrameReader0xb400007c444378b0 state: 2=>2=>2, 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.713988: 0xb400007c64458a20 virtual void mdk::MediaControlPush::setState(mdk::PlaybackState)@969 requested state 2=>1, current state 2. status: 0X124
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.714127: default FrameReader0xb400007c444378b0 request to pause 0, loaded: 4.
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.714658: default FrameReader0xb400007c444378b0 state: 2=>2=>1, 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.714855: default FrameReader0xb400007c444378b0 state requested: 1, current: 2
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.715121: default FrameReader0xb400007c444378b0 state: 2=>1=>1, 1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.715408: default FrameReader0xb400007c444378b0 update state: 2=>1
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:36.715668: 358762319 player-5476376613429443024 onPlaybackStateChanged: PlaybackState.paused => PlaybackState.playing
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.716418: 0xb400007c64458a20 ao opened: 1, reopen: 1, bad ao: 0
I/Codec2Client(24576): Available Codec2 services: "default" "software"
I/CCodec  (24576): setting up 'default' as default (vendor) store
I/CCodec  (24576): Created component [c2.goldfish.h264.decoder]
D/CCodecConfig(24576): read media type: video/avc
D/ReflectedParamUpdater(24576): extent() != 1 for single value type: algo.buffers.max-count.values
D/ReflectedParamUpdater(24576): extent() != 1 for single value type: output.subscribed-indices.values
D/ReflectedParamUpdater(24576): extent() != 1 for single value type: input.buffers.allocator-ids.values
D/ReflectedParamUpdater(24576): extent() != 1 for single value type: output.buffers.allocator-ids.values
D/ReflectedParamUpdater(24576): extent() != 1 for single value type: algo.buffers.allocator-ids.values
D/ReflectedParamUpdater(24576): extent() != 1 for single value type: output.buffers.pool-ids.values
D/ReflectedParamUpdater(24576): extent() != 1 for single value type: algo.buffers.pool-ids.values
D/ReflectedParamUpdater(24576): ignored struct field coded.color-format.locations
D/CCodecConfig(24576): ignoring local param raw.size (0xd2001800) as it is already supported
D/CCodecConfig(24576): ignoring local param default.color (0x5200180b) as it is already supported
D/ReflectedParamUpdater(24576): ignored struct field raw.hdr-static-info.mastering
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.745078: 0xb400007bd442c148 filter graph: 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.745204: +-----------+
I/flutter (24576): |    src    |default--[44100Hz fltp:stereo]--swr:default
I/flutter (24576): | (abuffer) |
I/flutter (24576): +-----------+
I/flutter (24576): 
I/flutter (24576):                                           +---------------+
I/flutter (24576): swr:default--[44100Hz flt:stereo]--default|      dst      |
I/flutter (24576):                                           | (abuffersink) |
I/flutter (24576):                                           +---------------+
I/flutter (24576): 
I/flutter (24576):                                            +-------------+
I/flutter (24576): src:default--[44100Hz fltp:stereo]--default|     swr     |default--[44100Hz flt:stereo]--dst:default
I/flutter (24576):                                            | (aresample) |
I/flutter (24576):                                            +-------------+
I/flutter (24576): 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.745322: >>>>>>>>1st audio frame (after seek) rendered: 1, ao: 0, a: 0, delta: 0 +0.023220
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.745485: audio stream#2 AOT frame is sent
I/CCodecConfig(24576): query failed after returning 12 values (BAD_INDEX)
D/CCodecConfig(24576): c2 config diff is Dict {
D/CCodecConfig(24576):   c2::u32 coded.pl.level = 20496
D/CCodecConfig(24576):   c2::u32 coded.pl.profile = 20481
D/CCodecConfig(24576):   c2::u32 coded.vui.color.matrix = 0
D/CCodecConfig(24576):   c2::u32 coded.vui.color.primaries = 0
D/CCodecConfig(24576):   c2::u32 coded.vui.color.range = 2
D/CCodecConfig(24576):   c2::u32 coded.vui.color.transfer = 0
D/CCodecConfig(24576):   c2::u32 default.color.matrix = 0
D/CCodecConfig(24576):   c2::u32 default.color.primaries = 0
D/CCodecConfig(24576):   c2::u32 default.color.range = 0
D/CCodecConfig(24576):   c2::u32 default.color.transfer = 0
D/CCodecConfig(24576):   c2::u32 input.buffers.max-size.value = 2097152
D/CCodecConfig(24576):   c2::u32 input.delay.value = 0
D/CCodecConfig(24576):   string input.media-type.value = "video/avc"
D/CCodecConfig(24576):   c2::u32 output.delay.value = 8
D/CCodecConfig(24576):   string output.media-type.value = "video/raw"
D/CCodecConfig(24576):   c2::u32 raw.color.matrix = 0
D/CCodecConfig(24576):   c2::u32 raw.color.primaries = 0
D/CCodecConfig(24576):   c2::u32 raw.color.range = 2
D/CCodecConfig(24576):   c2::u32 raw.color.transfer = 0
D/CCodecConfig(24576):   c2::u32 raw.max-size.height = 240
D/CCodecConfig(24576):   c2::u32 raw.max-size.width = 320
D/CCodecConfig(24576):   c2::u32 raw.pixel-format.value = 35
D/CCodecConfig(24576):   c2::i32 raw.rotation.flip = 0
D/CCodecConfig(24576):   c2::i32 raw.rotation.value = 0
D/CCodecConfig(24576):   c2::u32 raw.sar.height = 1
D/CCodecConfig(24576):   c2::u32 raw.sar.width = 1
D/CCodecConfig(24576):   c2::u32 raw.size.height = 240
D/CCodecConfig(24576):   c2::u32 raw.size.width = 320
D/CCodecConfig(24576):   c2:
W/ColorUtils(24576): expected specified color aspects (2:0:0:0)
D/CCodec  (24576): [c2.goldfish.h264.decoder] buffers are bound to CCodec for this session
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.750565: set h264 csd-0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.750963: try to convert extra data to annexb
D/CCodec  (24576): Client requested ByteBuffer mode decoder w/o color format set: using default planar color format
D/CCodecConfig(24576): no c2 equivalents for flags
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.751498: sps count: 1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.751842: pps count: 1
D/CCodecConfig(24576): c2 config diff is   c2::u32 raw.size.height = 688
D/CCodecConfig(24576):   c2::u32 raw.size.width = 1280
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.753409: nal field length: 4, annexb extradata size: 32
W/ColorUtils(24576): expected specified color aspects (2:0:0:0)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.753624: using AImageReader: false
W/Codec2Client(24576): query -- param skipped: index = 1107298332.
D/CCodec  (24576): setup formats input: AMessage(what = 0x00000000) = {
D/CCodec  (24576):   int32_t height = 688
D/CCodec  (24576):   int32_t level = 65536
D/CCodec  (24576):   int32_t max-input-size = 2097152
D/CCodec  (24576):   string mime = "video/avc"
D/CCodec  (24576):   int32_t profile = 65536
D/CCodec  (24576):   int32_t width = 1280
D/CCodec  (24576):   Rect crop(0, 0, 1279, 687)
D/CCodec  (24576): }
D/CCodec  (24576): setup formats output: AMessage(what = 0x00000000) = {
D/CCodec  (24576):   int32_t android._color-format = 2135033992
D/CCodec  (24576):   int32_t android._video-scaling = 1
D/CCodec  (24576):   int32_t rotation-degrees = 0
D/CCodec  (24576):   int32_t color-standard = 0
D/CCodec  (24576):   int32_t color-range = 2
D/CCodec  (24576):   int32_t color-transfer = 0
D/CCodec  (24576):   int32_t sar-height = 1
D/CCodec  (24576):   int32_t sar-width = 1
D/CCodec  (24576):   Rect crop(0, 0, 1279, 687)
D/CCodec  (24576):   int32_t width = 1280
D/CCodec  (24576):   int32_t height = 688
D/CCodec  (24576):   int32_t max-height = 240
D/CCodec  (24576):   int32_t max-width = 320
D/CCodec  (24576):   string mime = "video/raw"
D/CCodec  (24576):   int32_t android._dataspace = 268435456
D/CCodec  (24576):   int32_t color-format = 19
D/CCodec  (24576): }
I/CCodecConfig(24576): query failed after returning 12 values (BAD_INDEX)
D/CCodecConfig(24576): c2 config diff is   c2::u32 raw.max-size.height = 688
D/CCodecConfig(24576):   c2::u32 raw.max-size.width = 1280
W/ColorUtils(24576): expected specified color aspects (2:0:0:0)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.755958: AMediaCodec selected video codec name: c2.goldfish.h264.decoder
W/Codec2Client(24576): query -- param skipped: index = 1342179345.
W/Codec2Client(24576): query -- param skipped: index = 2415921170.
W/Codec2Client(24576): query -- param skipped: index = 1610614798.
W/Codec2Client(24576): query -- param skipped: index = 2684356609.
D/C2Store (24576): Using DMABUF Heaps
D/CCodecBufferChannel(24576): [c2.goldfish.h264.decoder#254] Created input block pool with allocatorID 16 => poolID 17 - OK (0)
D/CCodecBufferChannel(24576): [c2.goldfish.h264.decoder#254] Configured output block pool ids 1 => OK
I/DMABUFHEAPS(24576): Using DMA-BUF heap named: system
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:36.768748: 358762319 player-5476376613429443024 onEvent: decoder.video 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.769245: decode stored recovery packets: 0
D/CCodecConfig(24576): c2 config diff is   c2::u32 raw.color.matrix = 1
D/CCodecConfig(24576):   c2::u32 raw.color.primaries = 1
D/CCodecConfig(24576):   c2::u32 raw.color.transfer = 3
D/CCodecConfig(24576):   c2::u32 raw.crop.height = 688
D/CCodecConfig(24576):   c2::u32 raw.crop.left = 0
D/CCodecConfig(24576):   c2::u32 raw.crop.top = 0
D/CCodecConfig(24576):   c2::u32 raw.crop.width = 1280
D/CCodecBuffers(24576): [c2.goldfish.h264.decoder#254:2D-BB-Output] popFromStashAndRegister: at 0us, output format changed to AMessage(what = 0x00000000) = {
D/CCodecBuffers(24576):   int32_t android._color-format = 2135033992
D/CCodecBuffers(24576):   int32_t android._video-scaling = 1
D/CCodecBuffers(24576):   int32_t rotation-degrees = 0
D/CCodecBuffers(24576):   int32_t color-standard = 1
D/CCodecBuffers(24576):   int32_t color-range = 2
D/CCodecBuffers(24576):   int32_t color-transfer = 3
D/CCodecBuffers(24576):   int32_t sar-height = 1
D/CCodecBuffers(24576):   int32_t sar-width = 1
D/CCodecBuffers(24576):   Rect crop(0, 0, 1279, 687)
D/CCodecBuffers(24576):   int32_t width = 1280
D/CCodecBuffers(24576):   int32_t height = 688
D/CCodecBuffers(24576):   int32_t max-height = 688
D/CCodecBuffers(24576):   int32_t max-width = 1280
D/CCodecBuffers(24576):   string mime = "video/raw"
D/CCodecBuffers(24576):   int32_t android._dataspace = 260
D/CCodecBuffers(24576):   int32_t color-format = 19
D/CCodecBuffers(24576): }
D/CCodecBuffers(24576): [c2.goldfish.h264.decoder#254:2D-BB-Output] updating image-data
D/CCodecBuffers(24576): [c2.goldfish.h264.decoder#254:2D-BB-Output] updating stride = 1280, width: 1280, height: 688
D/CCodecBuffers(24576): [c2.goldfish.h264.decoder#254:2D-BB-Output] updating vstride = 688
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.809623: AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.813674: MediaFormat: android._color-format: int32(2135033992), android._video-scaling: int32(1), rotation-degrees: int32(0), color-standard: int32(1), color-range: int32(2), color-transfer: int32(3), sar-height: int32(1), sar-width: int32(1), crop: Rect(0, 0, 1279, 687), width: int32(1280), height: int32(688), max-height: int32(688), max-width: int32(1280), mime: string(video/raw), android._dataspace: int32(260), color-format: int32(19), image-data: data, stride: int32(1280), slice-height: int32(688)}
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.814150: yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.814562: size: 1280x688, bytes: 1280x688
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.857360: video stream#0 sending 1 invalid AOT frame @0.000000s. seeking: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.857596: 0xb400007c64458a20 1st video frame to render @0.000000s, sync time: 0.084000
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.857664: VideoRenderer clear buffered frames
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.858206: 0-track seek end video frame @0.000000 seek_pos_: -1
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.862244: 0xb400007c64458a20 1st video frame to render @0.000000s, sync time: 0.097000
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.862707: video stream#0 AOT frame is sent
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.863155: VideoRenderer WxH=1280.000000x688.000000 1280.000000x688.000000, frame: 1280x688
D/CCodecBuffers(24576): [c2.goldfish.h264.decoder#254:Output[N]] updating image-data
D/CCodecBuffers(24576): [c2.goldfish.h264.decoder#254:Output[N]] updating stride = 1280, width: 1280, height: 688
D/CCodecBuffers(24576): [c2.goldfish.h264.decoder#254:Output[N]] updating vstride = 688
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.863750: update transform 2d. scale: (1.000000, 1.000000), orientation: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.863857: m: mat<4, 4>(
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.864120: 1  0  0  0  
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.864394: 0  1  0  0  
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.864773: 0  0  1  0  
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.864845: 0  0  0  1  
W/emuglGLESv2_enc(24576): error internal format: 0x822a is invalid
E/emuglGLESv2_enc(24576): device/generic/goldfish-opengl/system/GLESv2_enc/GL2Encoder.cpp:s_glTexImage2D:2612 GL error 0x501 condition [!GLESv2Validation::pixelFormat(ctx, internalformat) && !GLESv2Validation::pixelInternalFormat(internalformat)]
W/emuglGLESv2_enc(24576): error internal format: 0x8042 is invalid
E/emuglGLESv2_enc(24576): device/generic/goldfish-opengl/system/GLESv2_enc/GL2Encoder.cpp:s_glTexImage2D:2612 GL error 0x501 condition [!GLESv2Validation::pixelFormat(ctx, internalformat) && !GLESv2Validation::pixelInternalFormat(internalformat)]
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.869511: )
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.870189: ThreadLocal<std::unordered_map<const void *, std::unique_ptr<UGL::opengl::Context>>>::Data::Data() thread: 526998637744
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.871047: T *ThreadLocal<std::unordered_map<const void *, std::unique_ptr<UGL::opengl::Context>>>::get() const allocate and initialize ThreadLocal data
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.872890: new Context object 0xb400007b84497210(0) for native context handle 0xb400007bc4443640
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.874148: ctx->api_: 0xb400007c549b1440
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.874726: probing gl context... native: 0x0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.874817: EGL_VERSION: 1.4 Android META-EGL
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.875144: EGL_VENDOR: Android
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.875439: EGL_CLIENT_APIS: OpenGL_ES
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.876545: resolving gl common functions...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.877118: select gl api resolver for EGL|OpenGL|OpenGLES
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.877351: using opengl api resolver: EGL
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.877462: probing gl client context... major_: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.878134: GL_VENDOR: Google (Apple)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.879030: GL_RENDERER: Android Emulator OpenGL ES Translator (Apple M2 Pro)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.881794: GL_VERSION: OpenGL ES 3.0 (4.1 Metal - 83.1)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.882982: GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 3.00
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.883816: ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_YUV_Cache ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_direct_mem ANDROID_EMU_dma_v1 ANDROID_EMU_gles_max_version_3_0 ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_host_side_tracing ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_read_color_buffer_dma ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_vulkan_shader_float16_int8 EGL_ANDROID_GLES_layers EGL_ANDROID_front_buffer_auto_refresh EGL_ANDROID_get_frame_timestamps EGL_ANDROID_get_native_client_buffer EGL_ANDROID_image_native_buffer EGL_ANDROID_presentation_time EGL_ANDROID_recordable EGL_ANGLE_platform_angle EGL_EXT_client_
D/CCodecBuffers(24576): [c2.goldfish.h264.decoder#254:1D-Input.Impl[N]] codec released a buffer owned by client (index 2)
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.888368: OpenGL Context thread: 526998637744
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.888818: OpenGL ES3.0 No profile, EGL140, GLSL300
I/flutter (24576): Features PBO: 1, RG texture: 1, 16bit texture: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.892406: resolving gl extensions...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.892821: select gl api resolver for EGL|OpenGL|OpenGLES
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.892892: using opengl api resolver: EGL
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.892934: context version: 300
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.893025: extension resolved: glMapBufferOES
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.894313: 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.894389: gl api resolved. thread@ 526998637744
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.895691: 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.895768: 0xb400007b64473bf0mdk::GLVideoRenderer::Private::Renderers::Renderers()
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.896312: 0xb400007b84497210/0xb400007bc4443640 Context::setLocalData local data 0xb400007bc4451760 for key: 0x0. size: 1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.896717: unknown, bpc:0, bpp:0(), channels:(), map: 0 0 0 0 => yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.897543: bpp 2, bpc: 8. gl texture parameters:
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.897677:     R8 |   RED | UNSIGNED_BYTE
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.897981:     R8 |   RED | UNSIGNED_BYTE
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.898199:     R8 |   RED | UNSIGNED_BYTE
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.898920: texture created: 3
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.900246: plane linesize 0: padded = 1280, effective = 1280. theoretical plane size: 1280x688. coordinate crop: 1.000000
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.900431: texture created: 4
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.901230: plane linesize 1: padded = 640, effective = 640. theoretical plane size: 640x344. coordinate crop: 1.000000
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.901527: texture created: 5
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.911555: plane linesize 2: padded = 640, effective = 640. theoretical plane size: 640x344. coordinate crop: 1.000000
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.912999: crop_w=1.000000=>1.000000
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.913543: frame color: bt709 bt709 bt709 narrow. gamma: 2.200000, signal peak: 1.000000
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.914841:  - 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.916885: output color: bt709 unknown unknown full. gamma: 2.200000, signal peak: 1.000000
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.917066: rgb primaries matrix: mat<3, 3>(
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.917186: 1  0  0  
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.917799: 0  1  0  
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.918387: 0  0  1  
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.918935: )
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.919885: color transform: mat<4, 4>(
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.921460: 1.16438  0  1.79274  -0.972945  
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.922674: 1.16438  -0.213249  -0.532909  0.301483  
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.923421: 1.16438  2.1124  0  -1.1334  
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.924047: 0  0  0  1  
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.925137: )
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.925221: EQ: mat<4, 4>(
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.925322: 1  0  0  0  
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.925550: 0  1  0  0  
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.925804: 0  0  1  0  
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.925960: 0  0  0  1  
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.926557: )
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.926694: AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.926940: MediaFormat: android._color-format: int32(2135033992), android._video-scaling: int32(1), rotation-degrees: int32(0), color-standard: int32(1), color-range: int32(2), color-transfer: int32(3), sar-height: int32(1), sar-width: int32(1), crop: Rect(0, 0, 1279, 687), width: int32(1280), height: int32(688), max-height: int32(688), max-width: int32(1280), mime: string(video/raw), android._dataspace: int32(260), color-format: int32(19), image-data: data, stride: int32(1280), slice-height: int32(688)}
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.927173: yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.927236: size: 1280x688, bytes: 1280x688
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.927337: texture 0: 1280x688
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.927757: texture 1: 640x344
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.928197: texture 2: 640x344
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.928745: material changed: 0x0=>0x905
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.929653: planar: 1, alpha: 0, texture 2d: 1, external: 0, rg semi-planar: 0, 16=>8: 0, xyz: 0, generic packed yuv: 0, cocgsy: 0, primaries diff: 0, trc: 1=>1, tone map: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.930188: bind attribute: a_Position => 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.930246: bind attribute: a_TexCoords0 => 1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.930306: uniform locations:
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.930397: u_Texture0: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.930866: u_Texture1: 2
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.931027: u_Texture2: 1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.931320: u_Matrix: 3, u_TexMatrix: 4
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.931506: update built-in uniforms
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.931567: EQ: mat<4, 4>(
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.931761: 1  0  0  0  
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.932020: 0  1  0  0  
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.932337: 0  0  1  0  
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.932486: 0  0  0  1  
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.936250: )
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.936754: uniform cb.u_colorMatrix: 5
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.937160: creating vbo...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:36.938068: creating vao...
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:36.938523: 358762319 player-5476376613429443024 onEvent: render.video 0
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/EGL_emulation(24576): app_time_stats: avg=29.60ms min=7.55ms max=164.04ms count=34
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/EGL_emulation(24576): app_time_stats: avg=33.36ms min=0.47ms max=225.51ms count=31
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:37.960974: 0xb400007c64458a20-MediaControl::seek(pos: 7714, flag:0X502 +FromStart+Fast). now: 1184
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:37.961204: default 0xb400007c444378b0-FrameReader::seek(7714, 0X502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:37.961342: default 0xb400007c444378b0 FrameReader::update MediaStatus 0X124=>0X1A4
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:37.961425: 358762319 player-5476376613429443024 onMediaStatusChanged: MediaStatus(+loaded+prepared+buffered) => MediaStatus(+loaded+prepared+buffered)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:37.961574: 0xb400007c444378b0 default FrameReaderImpl::seekTo(7714, 0X502 #1)
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/Codec2Buffer(24576): ConstGraphicBlockBuffer::canCopy: wrapped ; buffer ref doesn't exist
D/CCodecBuffers(24576): [c2.goldfish.h264.decoder#254:1D-Input.Impl[N]] Client returned a buffer it does not own according to our record: 0
D/CCodecBuffers(24576): [c2.goldfish.h264.decoder#254:1D-Input.Impl[N]] Client returned a buffer it does not own according to our record: 1
D/CCodecBuffers(24576): [c2.goldfish.h264.decoder#254:1D-Input.Impl[N]] Client returned a buffer it does not own according to our record: 2
D/CCodecBuffers(24576): [c2.goldfish.h264.decoder#254:1D-Input.Impl[N]] Client returned a buffer it does not own according to our record: 3
D/CCodecBuffers(24576): [c2.goldfish.h264.decoder#254:2D-BB-Output.Impl[N]] Client returned a buffer it does not own according to our record: 3
D/CCodecBuffers(24576): [c2.goldfish.h264.decoder#254:2D-BB-Output.Impl[N]] Client returned a buffer it does not own according to our record: 4
I/CCodecConfig(24576): query failed after returning 12 values (BAD_INDEX)
D/CCodecConfig(24576): c2 config diff is   c2::u32 coded.vui.color.matrix = 1
D/CCodecConfig(24576):   c2::u32 coded.vui.color.primaries = 1
D/CCodecConfig(24576):   c2::u32 coded.vui.color.transfer = 3
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:37.974761: virtual int64_t mdk::PacketIOWrapper::seek(int64_t, mdk::SeekFlag)@539 seek target(from 0): 7714ms, flags: +FromStart+Fast. now: 5.363810
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:37.975095: default 0xb400007c444378b0 FrameReader::update MediaStatus 0X1A4=>0X1A4video stream#0 is seeking... got flush pkt. flush decoder and  drop frames until seek target 0.0000s...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:37.975315: invalid video frame @-1.000000
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:37.975503: 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:37.975661: Seek start. target time: 7714000 avseek flags: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:37.975765: Seek end
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:37.975883: 1 packets is read after seek. read more to get target pts
W/Codec2Client(24576): query -- param skipped: index = 1342179345.
W/Codec2Client(24576): query -- param skipped: index = 2415921170.
W/Codec2Client(24576): query -- param skipped: index = 1610614798.
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:38.010296: 1 packets is read after seek. seek result pts: 8.05732s, requested: 7714
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:38.010825: default 0xb400007c444378b0 FrameReader::update MediaStatus 0X1A4=>0X124
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:38.011122: 358762319 player-5476376613429443024 onMediaStatusChanged: MediaStatus(+loaded+prepared+buffered) => MediaStatus(+loaded+prepared+buffered)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:38.011264: seek_drop_non_video_: 0 ms, seek_wait_frame_: 0...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:38.013122: audio stream#2 is seeking... got flush pkt. flush decoder and  drop frames until seek target 0.0000s...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:38.013573: invalid audio frame @-1.000000
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:38.013879: #1/1 audio seek_done: 1, seek_wait_frame_: 0/1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:38.014087: audio stream#2 sending 1 invalid AOT frame @8.057324s. seeking: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:38.014435: 0xb400007c64458a20 seek end audio frame @8.057324 seek_pos_: -1, sync_ao_ 1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:38.052538: >>>>>>>>1st audio frame (after seek) rendered: 1, ao: 8057, a: 8057, delta: 0 +0.023220
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:38.053051: audio stream#2 AOT frame is sent
D/EGL_emulation(24576): app_time_stats: avg=21.03ms min=9.87ms max=190.72ms count=51
D/EGL_emulation(24576): app_time_stats: avg=19.83ms min=13.07ms max=189.21ms count=51
D/EGL_emulation(24576): app_time_stats: avg=58.99ms min=10.22ms max=370.72ms count=19
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:40.866382: 0xb400007c64458a20-MediaControl::seek(pos: 3557, flag:0X502 +FromStart+Fast). now: 10807
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:40.866679: default 0xb400007c444378b0-FrameReader::seek(3557, 0X10502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:40.866980: default 0xb400007c444378b0 FrameReader::update MediaStatus 0X124=>0X1A4
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:40.867279: 358762319 player-5476376613429443024 onMediaStatusChanged: MediaStatus(+loaded+prepared+buffered) => MediaStatus(+loaded+prepared+buffered)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:40.867445: 0xb400007c444378b0 default FrameReaderImpl::seekTo(3557, 0X10502 #2)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:40.878134: 0xb400007c444378b0 default FrameReaderImpl seek job seeking 2, seek_wait_frame_: 0. cancel #2=1
D/BufferPoolAccessor2.0(24576): bufferpool2 0xb400007c3442e288 : 5(10485760 size) total buffers - 4(8388608 size) used buffers - 0/5 (recycle/alloc) - 5/50 (fetch/transfer)
D/BufferPoolAccessor2.0(24576): evictor expired: 1, evicted: 1
D/EGL_emulation(24576): app_time_stats: avg=195.06ms min=11.57ms max=498.75ms count=7
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:42.349828: 0xb400007c64458a20-MediaControl::seek(pos: 22701, flag:0X502 +FromStart+Fast). now: 12298
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:42.350090: default 0xb400007c444378b0-FrameReader::seek(22701, 0X502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:42.350270: default FrameReader 0xb400007c444378b0 seek target skipped: 2 frequent seek requested
D/EGL_emulation(24576): app_time_stats: avg=40.35ms min=7.61ms max=496.20ms count=25
W/CCodec  (24576): [c2.goldfish.h264.decoder] previous call to queue exceeded timeout
E/MediaCodec(24576): Codec reported err 0x80000000, actionCode 0, while in state 6/STARTED
E/NdkMediaCodec(24576): sf error code: -38
E/NdkMediaCodec(24576): sf error code: -38
I/hw-BpHwBinder(24576): onLastStrongRef automatically unlinking death recipients
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.318293: AMediaCodec_dequeueOutputBuffer unknow ERROR: -10000
I/flutter (24576): mdk.SEVERE: 2023-08-23 08:22:43.319349: video stream#0 decode error
E/NdkMediaCodec(24576): sf error code: -38
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.320984: AMediaCodec_stop(codec_.get())  ERROR@27bool mdk::MediaCodecBase::closeCodec(): (-10000) 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.321426: 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.321899: stop and delete AMediaCodec: 0xb400007bd442afd0
E/NdkMediaCodec(24576): sf error code: -38
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.323999: AMediaCodec_stop(c)  ERROR@323auto mdk::EnsureCodecGetMime(const mdk::VideoCodecParameters &, bool, bool, shared_ptr<ndk::AMediaCodec> &)::(anonymous class)::operator()(ndk::AMediaCodec *) const: (-10000) 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.324939: 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.327758: try the next decoder if available
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.328924: video stream#0 starting decoding loop from decoder index 1...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.329609: creating video decoder: FFmpeg...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.329913: opening video decoder: FFmpeg...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.330151: opening ffmpeg video decoder: h264 ...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.332918: AVCodec.Video[h264.] decoder: 5 Frame threads
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.333316: h264 yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0 1280x688
I/flutter (24576): fvp.FINE: 2023-08-23 08:22:43.333638: 358762319 player-5476376613429443024 onEvent: decoder.video 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.333797: decode stored recovery packets: 1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.334067: h264 codec pixel format list: (expected yuv420p)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.334423: yuv420p (selected)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.334788: yuv420p using avcodec software decoder...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.349199: video stream#0 sending 1 invalid AOT frame @8.675333s. seeking: 1
D/EGL_emulation(24576): app_time_stats: avg=626.59ms min=3.77ms max=5366.75ms count=9
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.354030: VideoRenderer clear buffered frames
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.354363: 0-track seek end video frame @8.675333 seek_pos_: -1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:43.354737: video stream#0 AOT frame is sent
D/EGL_emulation(24576): app_time_stats: avg=47.82ms min=12.52ms max=354.74ms count=21
D/EGL_emulation(24576): app_time_stats: avg=30.55ms min=12.65ms max=233.97ms count=40
D/EGL_emulation(24576): app_time_stats: avg=25.74ms min=1.81ms max=510.82ms count=32
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:46.598059: 0xb400007c64458a20-MediaControl::seek(pos: 5782, flag:0X502 +FromStart+Fast). now: 16560
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:46.598215: default 0xb400007c444378b0-FrameReader::seek(5782, 0X10502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:46.598478: default FrameReader 0xb400007c444378b0 seek target skipped: 2 frequent seek requested
D/EGL_emulation(24576): app_time_stats: avg=20.63ms min=1.51ms max=187.66ms count=45
D/BufferPoolAccessor2.0(24576): bufferpool2 0xb400007c3442e288 : 0(0 size) total buffers - 0(0 size) used buffers - 0/5 (recycle/alloc) - 5/50 (fetch/transfer)
D/BufferPoolAccessor2.0(24576): evictor expired: 1, evicted: 1
D/EGL_emulation(24576): app_time_stats: avg=29.96ms min=10.52ms max=376.63ms count=42
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:49.386285: 0xb400007c64458a20-MediaControl::seek(pos: 2965, flag:0X502 +FromStart+Fast). now: 19329
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:49.386590: default 0xb400007c444378b0-FrameReader::seek(2965, 0X10502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:49.386650: default FrameReader 0xb400007c444378b0 seek target skipped: 2 frequent seek requested
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:49.643362: 0xb400007c64458a20-MediaControl::seek(pos: 2965, flag:0X502 +FromStart+Fast). now: 19566
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:49.643914: default 0xb400007c444378b0-FrameReader::seek(2965, 0X10502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:49.644069: default FrameReader 0xb400007c444378b0 seek target skipped: 2 frequent seek requested
D/EGL_emulation(24576): app_time_stats: avg=22.93ms min=8.66ms max=174.84ms count=44
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:50.183430: 0xb400007c64458a20-MediaControl::seek(pos: 2965, flag:0X502 +FromStart+Fast). now: 20131
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:50.184181: default 0xb400007c444378b0-FrameReader::seek(2965, 0X10502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:50.185724: default FrameReader 0xb400007c444378b0 seek target skipped: 2 frequent seek requested
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:50.708936: 0xb400007c64458a20-MediaControl::seek(pos: 2965, flag:0X502 +FromStart+Fast). now: 20629
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:50.709150: default 0xb400007c444378b0-FrameReader::seek(2965, 0X10502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:50.709296: default FrameReader 0xb400007c444378b0 seek target skipped: 2 frequent seek requested
D/EGL_emulation(24576): app_time_stats: avg=23.59ms min=12.94ms max=172.09ms count=43
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:50.971607: 0xb400007c64458a20-MediaControl::seek(pos: 2965, flag:0X502 +FromStart+Fast). now: 20897
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:50.971778: default 0xb400007c444378b0-FrameReader::seek(2965, 0X10502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:50.972131: default FrameReader 0xb400007c444378b0 seek target skipped: 2 frequent seek requested
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:51.165394: 0xb400007c64458a20-MediaControl::seek(pos: 2965, flag:0X502 +FromStart+Fast). now: 21116
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:51.166005: default 0xb400007c444378b0-FrameReader::seek(2965, 0X10502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:51.166186: default FrameReader 0xb400007c444378b0 seek target skipped: 2 frequent seek requested
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:51.520061: 0xb400007c64458a20-MediaControl::seek(pos: 2965, flag:0X502 +FromStart+Fast). now: 21470
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:51.520312: default 0xb400007c444378b0-FrameReader::seek(2965, 0X10502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:51.520413: default FrameReader 0xb400007c444378b0 seek target skipped: 2 frequent seek requested
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:51.746602: 0xb400007c64458a20-MediaControl::seek(pos: 2965, flag:0X502 +FromStart+Fast). now: 21692
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:51.747208: default 0xb400007c444378b0-FrameReader::seek(2965, 0X10502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:51.748126: default FrameReader 0xb400007c444378b0 seek target skipped: 2 frequent seek requested
D/EGL_emulation(24576): app_time_stats: avg=39.26ms min=12.92ms max=282.90ms count=26
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:52.083800: 0xb400007c64458a20-MediaControl::seek(pos: 2965, flag:0X502 +FromStart+Fast). now: 22004
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:52.083957: default 0xb400007c444378b0-FrameReader::seek(2965, 0X10502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:52.084102: default FrameReader 0xb400007c444378b0 seek target skipped: 2 frequent seek requested
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:52.319352: 0xb400007c64458a20-MediaControl::seek(pos: 2965, flag:0X502 +FromStart+Fast). now: 22272
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:52.319707: default 0xb400007c444378b0-FrameReader::seek(2965, 0X10502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:52.320466: default FrameReader 0xb400007c444378b0 seek target skipped: 2 frequent seek requested
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:52.590283: 0xb400007c64458a20-MediaControl::seek(pos: 2965, flag:0X502 +FromStart+Fast). now: 22533
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:52.590478: default 0xb400007c444378b0-FrameReader::seek(2965, 0X10502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:52.590656: default FrameReader 0xb400007c444378b0 seek target skipped: 2 frequent seek requested
D/EGL_emulation(24576): app_time_stats: avg=20.74ms min=1.89ms max=195.45ms count=44
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:52.799857: 0xb400007c64458a20-MediaControl::seek(pos: 2965, flag:0X502 +FromStart+Fast). now: 22747
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:52.800844: default 0xb400007c444378b0-FrameReader::seek(2965, 0X10502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:52.801455: default FrameReader 0xb400007c444378b0 seek target skipped: 2 frequent seek requested
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:53.044723: 0xb400007c64458a20-MediaControl::seek(pos: 2965, flag:0X502 +FromStart+Fast). now: 22979
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:53.045271: default 0xb400007c444378b0-FrameReader::seek(2965, 0X10502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:53.045505: default FrameReader 0xb400007c444378b0 seek target skipped: 2 frequent seek requested
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:53.251471: 0xb400007c64458a20-MediaControl::seek(pos: 2965, flag:0X502 +FromStart+Fast). now: 23201
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:53.251810: default 0xb400007c444378b0-FrameReader::seek(2965, 0X10502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:53.252038: default FrameReader 0xb400007c444378b0 seek target skipped: 2 frequent seek requested
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:53.519954: 0xb400007c64458a20-MediaControl::seek(pos: 2965, flag:0X502 +FromStart+Fast). now: 23462
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:53.520496: default 0xb400007c444378b0-FrameReader::seek(2965, 0X10502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:53.521508: default FrameReader 0xb400007c444378b0 seek target skipped: 2 frequent seek requested
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:53.716090: 0xb400007c64458a20-MediaControl::seek(pos: 2965, flag:0X502 +FromStart+Fast). now: 23642
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:53.716274: default 0xb400007c444378b0-FrameReader::seek(2965, 0X10502)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:53.716748: default FrameReader 0xb400007c444378b0 seek target skipped: 2 frequent seek requested
D/EGL_emulation(24576): app_time_stats: avg=22.56ms min=13.72ms max=189.16ms count=45
D/EGL_emulation(24576): app_time_stats: avg=42.33ms min=8.44ms max=461.86ms count=24
W/FvpPlugin(24576): onMethodCall: ReleaseRT texId: 0, surfaces: 0 textures: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.026803: 0xb400007b744afe40->PlatformSurface::Event::NativeHandle: 0x7fc3b273cc>>>0x0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.028392: -----------onDestroyContext------------
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.029256: 0xb400007b84497210 destroying context local data 1...
W/emuglGLESv2_enc(24576): error internal format: 0x822a is invalid
E/emuglGLESv2_enc(24576): device/generic/goldfish-opengl/system/GLESv2_enc/GL2Encoder.cpp:s_glTexImage2D:2612 GL error 0x501 condition [!GLESv2Validation::pixelFormat(ctx, internalformat) && !GLESv2Validation::pixelInternalFormat(internalformat)]
W/emuglGLESv2_enc(24576): error internal format: 0x8042 is invalid
E/emuglGLESv2_enc(24576): device/generic/goldfish-opengl/system/GLESv2_enc/GL2Encoder.cpp:s_glTexImage2D:2612 GL error 0x501 condition [!GLESv2Validation::pixelFormat(ctx, internalformat) && !GLESv2Validation::pixelInternalFormat(internalformat)]
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.032127: 0xb400007b64473bf0mdk::GLVideoRenderer::Private::Renderers::~Renderers()
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.032663: cleanup shader cache
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.032855: cleanup shader cache
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.032945: 0xb400007b84497210->aboutToDestroy() erase context 0xb400007b84497210(0) for native context handle 0xb400007bc4443640 ~~~~~~~~
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.033018: 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.033132: ~Context
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.033178: 0xb400007b84497210->aboutToDestroy() done~~~~~~~~
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.033218: 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.033263: 0xb400007c04425430UGL::opengl::Context::Local<mdk::GLVideoRenderer::Private::Renderers>::~Local() [T = mdk::GLVideoRenderer::Private::Renderers, DT = mdk::GLVideoRenderer::Private::Renderers]0x0 count: 1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.034069: mdk::VideoRenderer::Private::~Private() @125
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.034458: destroyRenderContext: 0xb400007b64470070
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.034942: 0xb400007b94471930 destroy gl resources before destroying context
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.035509: new Context object 0xb400007b8449be90(1) for native context handle 0xb400007bc4443640
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.035731: ctx->api_: 0xb400007c54aaa500
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.036042: probing gl context... native: 0x0
E/BufferQueueProducer(24576): [SurfaceTexture-0-24576-0](id:600000000002,api:1,p:24576,c:24576) cancelBuffer: BufferQueue has been abandoned
D/oplayer_exampl(24576): PlayerBase::stop() from IPlayer
D/AudioTrack(24576): stop(46): called with 810762 frames delivered
D/oplayer_exampl(24576): PlayerBase::stop() from IPlayer
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.063563: EGL_VERSION: 1.4 Android META-EGL
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.063691: EGL_VENDOR: Android
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.063757: EGL_CLIENT_APIS: OpenGL_ES
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.063961: resolving gl common functions...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.064415: select gl api resolver for EGL|OpenGL|OpenGLES
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.064827: using opengl api resolver: EGL
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.065032: probing gl client context... major_: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.065242: GL_VENDOR: Google (Apple)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.065356: GL_RENDERER: Android Emulator OpenGL ES Translator (Apple M2 Pro)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.065420: GL_VERSION: OpenGL ES 3.0 (4.1 Metal - 83.1)
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.065731: GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 3.00
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.065870: ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_YUV_Cache ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_direct_mem ANDROID_EMU_dma_v1 ANDROID_EMU_gles_max_version_3_0 ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_host_side_tracing ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_read_color_buffer_dma ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_vulkan_shader_float16_int8 EGL_ANDROID_GLES_layers EGL_ANDROID_front_buffer_auto_refresh EGL_ANDROID_get_frame_timestamps EGL_ANDROID_get_native_client_buffer EGL_ANDROID_image_native_buffer EGL_ANDROID_presentation_time EGL_ANDROID_recordable EGL_ANGLE_platform_angle EGL_EXT_client_
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.066029: OpenGL Context thread: 526998637744
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.066311: OpenGL ES3.0 No profile, EGL140, GLSL300
I/flutter (24576): Features PBO: 1, RG texture: 1, 16bit texture: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.066545: resolving gl extensions...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.066687: select gl api resolver for EGL|OpenGL|OpenGLES
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.066850: using opengl api resolver: EGL
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.067052: context version: 300
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.067192: extension resolved: glMapBufferOES
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.067400: 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.067583: gl api resolved. thread@ 526998637744
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.067692: 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.067896: 0xb400007b8449be90->aboutToDestroy() erase context 0xb400007b8449be90(1) for native context handle 0xb400007bc4443640 ~~~~~~~~
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.067986: 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.068178: ~Context
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.068296: 0xb400007b8449be90->aboutToDestroy() done~~~~~~~~
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.068439: 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.068705: 0xb400007c64458a20 virtual void mdk::MediaControlPush::setState(mdk::PlaybackState)@969 requested state 1=>0, current state 1. status: 0X1A4
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.069070: default FrameReader0xb400007c444378b0 state: 1=>1=>0, 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.069278: default0xb400007c444378b0 virtual void mdk::FrameReader::stop(), current state: 1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.069413: 0xb400007c444378b0 virtual bool mdk::FrameReaderImpl::unload(), current status 0x1a4, invalid: 0, loading: 0, loaded: 4, buffering: 0, seeking: 0x80, prepared: 256, EOF: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.069497: 0xb400007bf445ccf0 request avformat input interrupt
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.069678: 0xb400007bc44459d0 request to interrupt io operation
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.069902: no gfx context. skip rendering...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.069960: unload_requested_. skip sending packet
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.070022: free custome avio: 0xb400007c1443c5d0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.070068: 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.070324: 0xb400007bc44459b0 close url: https://movietrailers.apple.com/movies/paramount/the-spongebob-movie-sponge-on-the-run/the-spongebob-movie-sponge-on-the-run-big-game_h720p.mov
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.070462: interrupted by user
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.070615: 527088729264default 0xb400007c444378b0 bool mdk::FrameReader::update(mdk::MediaStatus) @1057: reset status_mask
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.070979: default FrameReader0xb400007c444378b0 unfinished seek id: #1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.071195: default 0xb400007c444378b0 FrameReader::update MediaStatus 0X1A4=>0X1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.071408: stop by user. clear packet queues and send eof packets for each thread...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.071689: FrameReader@0xb400007c444378b0 sending Packet::End to all packet queues. PacketIO@0xb400007c244344d0 ->url: https://movietrailers.apple.com/movies/paramount/the-spongebob-movie-sponge-on-the-run/the-spongebob-movie-sponge-on-the-run-big-game_h720p.mov
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.071918: clear packet queue for stream 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.072064: clear packet queue for stream 2
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.072135: default FrameReader0xb400007c444378b0 state: 1=>0=>0, 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.072237: 0xb400007c444378b0 virtual bool mdk::FrameReaderImpl::unload(), current status 0x1, invalid: 0, loading: 0, loaded: 0, buffering: 0, seeking: 0, prepared: 0, EOF: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.072725: video stream#0 EOF/EOS decoded. end: 1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.073007: video stream#0 about to stop before sending a frame
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.073215: audio stream#2 decoding loop is finished
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.073426: video stream#0 decoding loop is finished
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.073800: 527034272944 JMI thread exit
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.073926: default FrameReader0xb400007c444378b0 state: 1=>0=>0, 1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.073980: default FrameReader0xb400007c444378b0 update state: 1=>0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.074046: 0xb400007c344862b0virtual mdk::Player::~Player()64
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.074150: 0xb400007b744afe40->PlatformSurface::Event::Close
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.074256: removing closed surface...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.074332: surface removed by event callback...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.074443: ThreadLocal<std::unordered_map<const void *, std::unique_ptr<UGL::opengl::Context>>>::Data::~Data() thread: 526998637744
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.074537: ThreadLocal<UGL::opengl::platform::GLContext *>::Data::~Data() thread: 526998637744
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.074582: ThreadLocal<UGL::opengl::Context::Config>::Data::~Data() thread: 526998637744
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.074693: ThreadLocal<bool>::Data::~Data() thread: 526998637744
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.074794: setNext from -1 url:
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.074890: default FrameReader0xb400007c444378b0 state: 0=>0=>0, 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.074949: default0xb400007c444378b0 virtual void mdk::FrameReader::stop(), current state: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.075004: default FrameReader0xb400007c444378b0 state: 0=>0=>0, 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.075046: default0xb400007c444378b0 virtual void mdk::FrameReader::stop(), current state: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.075083: mdk::MediaPlayer::Private::~Private()
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.075119: 0xb400007c64458a20 virtual void mdk::MediaControlPush::setState(mdk::PlaybackState)@969 requested state 0=>0, current state 0. status: 0X1
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.076545: default FrameReader0xb400007c444378b0 state: 0=>0=>0, 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.076748: default0xb400007c444378b0 virtual void mdk::FrameReader::stop(), current state: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.076832: default0xb400007c444378b0 deleting FrameReader...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.076934: 0xb400007c644569f0 virtual void mdk::MediaControlPush::setState(mdk::PlaybackState)@969 requested state 0=>0, current state 0. status: 0
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.077026: default0xb400007c44437ef0 deleting FrameReader...
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.077175: player is destroyed 
I/flutter (24576): mdk.INFO: 2023-08-23 08:22:55.077297: mdk::VideoRenderer::Private::~Private() @125

from fvp.

zezo357 avatar zezo357 commented on May 31, 2024

but setting

    registerWith(options: {
      'video.decoders': [
        // 'AMediaCodec:surface=0:copy=1',
        'FFmpeg',
      ]
    });

does work after the seek correctly

from fvp.

AnonymHK avatar AnonymHK commented on May 31, 2024

The use of simulators in production environments is extremely rare. It is recommended to only use debug mode to determine the simulator environment!

from fvp.

zezo357 avatar zezo357 commented on May 31, 2024

The use of simulators in production environments is extremely rare. It is recommended to only use debug mode to determine the simulator environment!

but sometimes and most of the time in my case i use my own device to test the behaviour, and the limitation is not debugging

its only on simulator. so knowing when a simulator is detected and using ffpmeg and on real device using hardware logic, is safer and the best performance i think,

if i misunderstood you let me know

from fvp.

wang-bin avatar wang-bin commented on May 31, 2024

please try the latest code

from fvp.

zezo357 avatar zezo357 commented on May 31, 2024

please try the latest code

just tested the emulator it works for me very good, but from the commit

/// Set video decoder priority. Default is 'auto' decoder, which is usually 'FFmpeg'.

it will not use hardware decoding on real device?

from fvp.

wang-bin avatar wang-bin commented on May 31, 2024

if decoders is not set manually, no hardware decoder. real device will use hardware decoder

from fvp.

zezo357 avatar zezo357 commented on May 31, 2024

if decoders is not set manually, no hardware decoder. real device will use hardware decoder

That's lovely thank you ❤️

from fvp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.