wang-bin / fvp

Flutter video player plugin for all desktop+mobile platforms. download prebuilt examples from github actions. https://pub.dev/packages/fvp
BSD 3-Clause "New" or "Revised" License
197 stars 31 forks source link

When using the seek function consecutively in the player, the video plays, but sometimes the sound is not audible. #117

Open unseobKim opened 3 months ago

unseobKim commented 3 months ago

Describe the bug While using the seek function multiple times during video playback, there are instances where the video continues to play, but the sound occasionally does not come through.

Expected behavior There should be no instances where the sound is not audible.

Log

flutter: mdk.FINE: 10:51:27.594: default 0x174fbb320 new FrameReader...
flutter: mdk.FINE: 10:51:27.594: Registered audio backends: AudioQueue OpenAL null
flutter: mdk.FINE: 10:51:27.594: default 0x174fbcac0 new FrameReader...
flutter: mdk.FINE: 10:51:27.594: Registered audio backends: AudioQueue OpenAL null
flutter: mdk.FINE: 10:51:27.595: 0x174fb9c00 player.Player()
flutter: mdk.FINE: 10:51:27.595: 0x174fb9c00 player.onEvent(1, 0x16d553e00)
flutter: mdk.FINE: 10:51:27.595: 0x174fb9c00 player.onStateChanged(1)
flutter: mdk.FINE: 10:51:27.595: 0x174fb9c00 player.onMediaStatus(1)
flutter: mdk.FINE: 10:51:27.595: 0x174fb9c00 player.setMedia(/Users/uskim/Downloads/푸바오mp4_caption.mp4)
flutter: mdk.FINE: 10:51:27.595: default FrameReader0x174fbb320 state: 0=>0=>0, 0
flutter: mdk.INFO: 10:51:27.595: default0x174fbb320 stop, current state: 0
flutter: mdk.FINE: 10:51:27.595: AudioQueueStart ERROR: 0
flutter: mdk.FINE: 10:51:27.595: default FrameReader0x174fbb320 state: 0=>0=>0, 0
flutter: mdk.INFO: 10:51:27.595: default0x174fbb320 stop, current state: 0
flutter: mdk.FINE: 10:51:27.595: 0x174fb9c00 player.setLoop(0)
flutter: mdk.INFO: 10:51:27.595: setLoop(0), now 0/0
flutter: mdk.FINE: 10:51:27.595: 0x174fb9c00 player.setRange(0, 102910)
flutter: mdk.INFO: 10:51:27.595: setRange(0, 102910)
flutter: mdk.FINE: 10:51:27.595: 0x174fb9c00 player.prepare(0, ..., 1282)
flutter: mdk.FINE: 10:51:27.595: AudioQueueStart ERROR: 0
flutter: mdk.INFO: 10:51:27.596: 0x1671aa800 MediaControl.prepare(0, ...) /Users/uskim/Downloads/푸바오mp4_caption.mp4
flutter: mdk.FINE: 10:51:27.596: default 0x174fbb320 FrameReader.start(0, ...)
flutter: mdk.FINE: 10:51:27.596: default 0x174fbb320 FrameReader::update MediaStatus 0=>0X2
flutter: mdk.FINE: 10:51:27.596: default FrameReader0x174fbb320 state: 0=>0=>1, 0
flutter: mdk.FINE: 10:51:27.596: default FrameReader0x174fbb320 state: 0=>1=>1, 0
flutter: mdk.FINE: 10:51:27.596: default FrameReader0x174fbb320 request to pause 1, loaded: 0.
flutter: mdk.FINE: 10:51:27.596: default FrameReader0x174fbb320 state: 0=>1=>2, 0
flutter: mdk.FINE: 10:51:27.596: default FrameReader0x174fbb320 state requested: 2, current: 0
flutter: mdk.FINE: 10:51:27.596: start frame reader thread: virtual void mdk::AudioBackendAudioQueue::pause(bool)0x16e17f000
flutter: mdk.FINE: 10:51:27.596: 138 ERROR>>> AudioQueuePause(queue_): -50
flutter: mdk.FINE: 10:51:27.596:
flutter: mdk.FINE: 10:51:27.596: url is not supported by MediaIO FFmpeg
flutter: mdk.FINE: 10:51:27.596: url is not supported by MediaIO Mem
flutter: mdk.FINE: 10:51:27.596: Try to use default MediaIO
flutter: mdk.FINE: 10:51:27.597: 0x14d6e1600 open url:
flutter: mdk.FINE: 10:51:27.597: 0x14d6e1600 url opened
flutter: mdk.FINE: 10:51:27.597: default 0x174fbb320 FrameReader::update MediaStatus 0X2=>0X2
flutter: mdk.FINE: 10:51:27.597: 0x177d7bc20 avio set class
flutter: mdk.FINE: 10:51:27.597: before avformat_open_input. io: 0x14d6e1600(FFmpeg)/pb: 0x177d7bc20, url: /Users/uskim/Downloads/푸바오mp4_caption.mp4
flutter: mdk.FINE: 10:51:27.599: after avformat_open_input. pb: 0x177d7bc20, iformat: 0x10a74a630, context flags: 2097280, input format flags: 67141640
flutter: mdk.INFO: 10:51:27.608: Format: mov,mp4,m4a,3gp,3g2,mj2, range: 0 +102911ms, bitrate: 752051, size: 0
Metadata:
  encoder: Lavf60.3.100
  minor_version: 512
  compatible_brands: isomiso2avc1mp41
  major_brand: isom
Streams: 2
 Video:
  stream#0, range: 0 +102891ms, frames: 3082
  codec: h264 tag: 'avc1' profile: 100 level: 31, yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0, bitrate: 615527, 1280x720, fps: 29.954, bframes: 2, primaries: BT709, trc: BT709, matrix: BT709, range: Limited
  extra data(48): 01 64 00 1F FF E1 00 1B 67 64 00 1F AC D9 40 50 05 BB 01 6A 02 02 02 80 00 00 FA 00 00 3A 81 07 8C 18 CB 01 00 06 68 EB E3 CB 22 C0 FD F8 F8 00
  Metadata:
   encoder: Lavc60.3.100 libx264
   handler_name: ISO Media file produced by Google Inc. Created on: 11/16/2023.
   vendor_id: [0][0][0][0]
   language: und
 Audio:
  stream#1, range: 0 +102911ms, frames: 4432
  codec: aac tag: 'mp4a' profile: 1 level: -99, sample size: 0/16, block align: 0, frame_size: 1024, f32p stereo(2) @44100Hz, bitrate: 127999
  extra data(16): 12 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  Metadata:
   handler_name: ISO Media file produced by Google Inc. Created on: 11/16/2023.
   vendor_id: [0][0][0][0]
   language: eng

flutter: mdk.FINE: 10:51:27.608: 0x1671aa800 prepared callback is invoked
flutter: call back
flutter: mdk.FINE: 10:51:27.609: 0x174fb9c10 setRenderAPI(3, 0x0)
flutter: mdk.FINE: 10:51:27.609: getVideoOutContext 0x0 => 0x174fae540. vo count: 1
flutter: mdk.FINE: 10:51:27.609: 0x174fb9c10 setVideoSurfaceSize(1280x720, 0x0)
flutter: mdk.FINE: 10:51:27.610: default 0x174fbb320 FrameReader::update MediaStatus 0X2=>0X4
flutter: mdk.INFO: 10:51:27.610: ***buffering progress 0%***
flutter: mdk.FINE: 10:51:27.610: default 0x174fbb320 FrameReader::update MediaStatus 0X4=>0X14
flutter: mdk.FINE: 10:51:27.610: virtual void mdk::AudioBackendAudioQueue::pause(bool)138 ERROR>>> AudioQueuePause(queue_): -50
flutter: mdk.FINE: 10:51:27.610:
flutter: mdk.INFO: 10:51:27.610: ++++++++++++BUFFERING START++++++++++++
flutter: mdk.FINE: 10:51:27.610:
flutter: mdk.FINE: 10:51:27.610: default FrameReader0x174fbb320 state: 0=>2=>1, 1
flutter: mdk.FINE: 10:51:27.610: default FrameReader0x174fbb320 update state: 0=>1
flutter: Playback state changed from PlaybackState.stopped to PlaybackState.playing
flutter: mdk.FINE: 10:51:27.611: default FrameReader0x174fbb320 state: 1=>1=>2, 1
flutter: mdk.FINE: 10:51:27.611: default FrameReader0x174fbb320 update state: 1=>2
flutter: Playback state changed from PlaybackState.playing to PlaybackState.paused
flutter: mdk.FINE: 10:51:27.611: starting decode loop thread mdk.vdec0@0x16e28b000
flutter: mdk.FINE: 10:51:27.611: starting decode loop thread mdk.adec1@0x16e317000
flutter: mdk.FINE: 10:51:27.611: audio stream#1 starting decoding loop from decoder index 0...
flutter: mdk.FINE: 10:51:27.611: creating audio decoder: auto...
flutter: mdk.INFO: 10:51:27.611: video stream#0 starting decoding loop from decoder index 0...opening audio decoder: FFmpeg...
flutter: mdk.FINE: 10:51:27.611:
opening ffmpeg audio decoder: aac
flutter: mdk.FINE: 10:51:27.611:
flutter: mdk.FINE: 10:51:27.611: creating video decoder: auto...
flutter: mdk.INFO: 10:51:27.611: opening video decoder: FFmpeg...
flutter: mdk.FINE: 10:51:27.611: opening ffmpeg video decoder: h264
flutter: mdk.FINE: 10:51:27.611: NALU length bytes: 4
flutter: mdk.FINE: 10:51:27.612: AVCodec.Audio[aac.] decoder: 1 Single threads
flutter: mdk.FINE: 10:51:27.612: aac f32p, stereo @44100Hz
flutter: mdk.INFO: 10:51:27.612: ***buffering progress 100%***
flutter: mdk.FINE: 10:51:27.612: default 0x174fbb320 FrameReader::update MediaStatus 0X14=>0X124
flutter: mdk.FINE: 10:51:27.612: virtual void mdk::AudioBackendAudioQueue::pause(bool)138 ERROR>>> AudioQueuePause(queue_): -50
flutter: mdk.FINE: 10:51:27.612:
flutter: mdk.INFO: 10:51:27.612: ++++++++++++BUFFERING END++++++++++++
flutter: mdk.FINE: 10:51:27.612:
flutter: mdk.FINE: 10:51:27.612: audio stream#1 sending 1 invalid AOT frame @0.000000s. seeking: 0
flutter: mdk.FINE: 10:51:27.612: 0x1671aa800 1st audio frame @0.000000
flutter: mdk.INFO: 10:51:27.612: 0x1671aa800 seek end audio frame @0.000000 seek_pos_: -1, sync_ao_ 1
flutter: mdk.FINE: 10:51:27.612: AudioRenderer format: f32, stereo @44100Hz, requested: f32p, stereo @44100Hz
flutter: mdk.FINE: 10:51:27.612: AudioRenderer format changed and reinitialize
flutter: mdk.FINE: 10:51:27.613: AVCodec.Video[h264.] decoder: 9 Frame threads
flutter: mdk.FINE: 10:51:27.613: h264 1280x720  yuv420p
flutter: mdk.FINE: 10:51:27.613: decode stored recovery packets: 0
flutter: mdk.FINE: 10:51:27.613: h264 codec pixel format list: (expected yuv420p)
flutter: mdk.FINE: 10:51:27.613: videotoolbox_vld
flutter: mdk.FINE: 10:51:27.613: yuv420p (selected)
flutter: mdk.FINE: 10:51:27.613: yuv420p using avcodec software decoder...
flutter: mdk.FINE: 10:51:27.624: video stream#0 sending 1 invalid AOT frame @0.000000s. seeking: 0
flutter: mdk.FINE: 10:51:27.624: 0x1671aa800 1st video frame to render @0.000000s, sync time: -0.001000
flutter: mdk.FINE: 10:51:27.624: VideoRenderer clear buffered frames
flutter: mdk.FINE: 10:51:27.624: 0-track seek end video frame @0.000000 seek_pos_: -1
flutter: mdk.FINE: 10:51:27.624: 0x1671aa800 1st video frame to render @0.000000s, sync time: -0.001000
flutter: mdk.FINE: 10:51:27.624: VideoRenderer WxH=1280.000000x720.000000 1280.000000x720.000000, frame: 1280x720
flutter: mdk.FINE: 10:51:27.624: update transform 2d. scale: (1.000000, 1.000000), orientation: 0
flutter: mdk.FINE: 10:51:27.624: m: mat<4, 4>(
flutter: mdk.FINE: 10:51:27.624: 1  0  0  0
flutter: mdk.FINE: 10:51:27.625: 0  1  0  0
flutter: mdk.FINE: 10:51:27.627: 0  0  1  0
flutter: mdk.FINE: 10:51:27.628: 0  0  0  1
flutter: mdk.FINE: 10:51:27.628: )
flutter: mdk.FINE: 10:51:27.628: Metal pixel format 0: MTLPixelFormatR8Unorm, size: 1280x720
flutter: mdk.FINE: 10:51:27.629:
flutter: mdk.FINE: 10:51:27.630: Metal pixel format 1: MTLPixelFormatR8Unorm, size: 640x360
flutter: mdk.FINE: 10:51:27.630:
flutter: mdk.FINE: 10:51:27.630: Metal pixel format 2: MTLPixelFormatR8Unorm, size: 640x360
flutter: mdk.FINE: 10:51:27.633:
flutter: mdk.FINE: 10:51:27.633: channel map: mat<4, 4>(
flutter: mdk.FINE: 10:51:27.633: 1  0  0  0
flutter: mdk.FINE: 10:51:27.633: 0  1  0  0
flutter: mdk.FINE: 10:51:27.634: 0  0  1  0
flutter: mdk.FINE: 10:51:27.634: 0  0  0  1
flutter: mdk.FINE: 10:51:27.634: )
flutter: mdk.FINE: 10:51:27.634: frame format: yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0
flutter: mdk.FINE: 10:51:27.634: frame color: BT709 BT709 BT709 Limited. gamma: 2.200000, signal peak: 1.000000
flutter: mdk.FINE: 10:51:27.634:  -
flutter: mdk.FINE: 10:51:27.634: output color: BT709 UNSPECIFIED RGB Full. gamma: 2.200000, signal peak: 1.000000
flutter: mdk.FINE: 10:51:27.634: rgb primaries matrix: mat<3, 3>(
flutter: mdk.FINE: 10:51:27.634: 1  0  0
flutter: mdk.FINE: 10:51:27.634: 0  1  0
flutter: mdk.FINE: 10:51:27.634: 0  0  1
flutter: mdk.FINE: 10:51:27.634: )
flutter: mdk.FINE: 10:51:27.634: scale: 1.000000, color transform: mat<4, 4>(
flutter: mdk.FINE: 10:51:27.634: 1.16438  0  1.79274  -0.972945
flutter: mdk.FINE: 10:51:27.634: 1.16438  -0.213249  -0.532909  0.301483
flutter: mdk.FINE: 10:51:27.634: 1.16438  2.1124  0  -1.1334
flutter: mdk.FINE: 10:51:27.634: 0  0  0  1
flutter: mdk.FINE: 10:51:27.634: )
flutter: mdk.FINE: 10:51:27.634: EQ: mat<4, 4>(
flutter: mdk.FINE: 10:51:27.634: 1  0  0  0
flutter: mdk.FINE: 10:51:27.634: 0  1  0  0
flutter: mdk.FINE: 10:51:27.634: 0  0  1  0
flutter: mdk.FINE: 10:51:27.634: 0  0  0  1
flutter: mdk.FINE: 10:51:27.634: )
flutter: mdk.FINE: 10:51:27.634: shader id: 2305
flutter: mdk.FINE: 10:51:27.634: dump UBO layout:
align @offset +size /stride address name ~ path: type -> parent
16@0 +64/16 0x14d6e1418 u_colorMatrix ~ u_colorMatrix: mat4 -> 0x0

flutter: mdk.FINE: 10:51:27.653: Using audio backend: AudioQueue
flutter: mdk.FINE: 10:51:27.685: 0x1671aa800 ao opened: 1, reopen: 1, bad ao: 0. valid: 0

flutter: mdk.FINE: 10:51:47.753: 0x174fb9c00 player.set(1)
flutter: mdk.FINE: 10:51:47.753: 0x1671aa800 virtual void mdk::MediaControlPush::setState(PlaybackState)@1068 requested state 2=>1, current state 2. status: 0X124
flutter: mdk.FINE: 10:51:47.754: default FrameReader0x174fbb320 request to pause 0, loaded: 4.
flutter: mdk.FINE: 10:51:47.754: default FrameReader0x174fbb320 state: 2=>2=>1, 0
flutter: mdk.FINE: 10:51:47.754: default FrameReader0x174fbb320 state requested: 1, current: 2
flutter: mdk.FINE: 10:51:47.754: video stream#0 AOT frame is sent
flutter: mdk.FINE: 10:51:47.755: 0x177d92b48 filter graph:
flutter: mdk.FINE: 10:51:47.755: +-----------+
|    src    |default--[44100Hz fltp:stereo]--swr:default
| (abuffer) |
+-----------+

                                          +---------------+
swr:default--[44100Hz flt:stereo]--default|      dst      |
                                          | (abuffersink) |
                                          +---------------+

                                           +-------------+
src:default--[44100Hz fltp:stereo]--default|     swr     |default--[44100Hz flt:stereo]--dst:default
                                           | (aresample) |
                                           +-------------+

flutter: mdk.FINE: 10:51:47.755: >>>>>>>>1st audio frame (after seek) rendered: 1, ao: 15, a: 0, delta: 15 +0.023220
flutter: mdk.FINE: 10:51:47.755: audio stream#1 AOT frame is sent
flutter: mdk.FINE: 10:51:47.760: default FrameReader0x174fbb320 state: 2=>1=>1, 1
flutter: mdk.FINE: 10:51:47.760: default FrameReader0x174fbb320 update state: 2=>1
flutter: Playback state changed from PlaybackState.paused to PlaybackState.playing
flutter: mdk.FINE: 10:51:48.582: 0x174fb9c00 player.seek(37400, 1282, ...)
flutter: mdk.INFO: 10:51:48.582: 0x1671aa800-MediaControl::seek(pos: 37400, flag:0X502 +FromStart+Fast). now: 845
flutter: mdk.FINE: 10:51:48.582: default 0x174fbb320-FrameReader::seek(37400, 0X502)
flutter: mdk.FINE: 10:51:48.582: default 0x174fbb320 FrameReader::update MediaStatus 0X124=>0X1A4
flutter: mdk.FINE: 10:51:48.582: 0x174fbb320 default FrameReaderImpl::seekTo(37400, 0X502 #1)
flutter: mdk.FINE: 10:51:48.594: seekTo(37400) found video stream#0 packet at -3 in [1.201843, 4.839843] s
flutter: mdk.FINE: 10:51:48.594: seekTo(37400) found audio stream#1 packet at -3 in [0.882358, 4.899358] s
flutter: mdk.INFO: 10:51:48.594: virtual int64_t mdk::PacketIOWrapper::seek(int64_t, SeekFlag)@699 seek target(from 0): 37400ms, flags: +FromStart+Fast. now: 4.899410
flutter: mdk.FINE: 10:51:48.594: default 0x174fbb320 FrameReader::update MediaStatus 0X1A4=>0X1A4
flutter: mdk.FINE: 10:51:48.594: Seek start. target time: 37400000 avseek flags: 0
flutter: mdk.FINE: 10:51:48.594: Seek end
flutter: mdk.FINE: 10:51:48.594: 1 packets is read after seek. read more to get target pts
flutter: mdk.FINE: 10:51:48.594: 1 packets is read after seek. seek result pts: 41.730654s, requested: 37400ms
flutter: mdk.FINE: 10:51:48.594: default 0x174fbb320 FrameReader::update MediaStatus 0X1A4=>0X124
flutter: mdk.FINE: 10:51:48.595: seek_drop_non_video_: 0 ms, seek_wait_frame_: 0...
flutter: mdk.FINE: 10:51:48.595: video stream#0 is seeking #1... got flush pkt. flush decoder and  drop frames until seek target 0.0000s...
flutter: mdk.FINE: 10:51:48.595: invalid video frame @-1.000000
flutter: mdk.FINE: 10:51:48.595: h264 codec pixel format list: (expected yuv420p)
flutter: mdk.FINE: 10:51:48.595: videotoolbox_vld
flutter: mdk.FINE: 10:51:48.595: yuv420p (selected)
flutter: mdk.FINE: 10:51:48.595: yuv420p using avcodec software decoder...
flutter: mdk.INFO: 10:51:48.595: ***buffering progress 0%***
flutter: mdk.FINE: 10:51:48.595: default 0x174fbb320 FrameReader::update MediaStatus 0X124=>0X114
flutter: mdk.FINE: 10:51:48.613: default 0x174fbb320 FrameReader::update MediaStatus 0X114=>0X154
flutter: mdk.INFO: 10:51:48.628: ++++++++++++BUFFERING START++++++++++++
flutter: mdk.FINE: 10:51:48.628:
flutter: mdk.FINE: 10:51:48.628: audio stream#1 is seeking #1... got flush pkt. flush decoder and  drop frames until seek target 0.0000s...
flutter: mdk.FINE: 10:51:48.628: invalid audio frame @-1.000000
flutter: mdk.INFO: 10:51:48.628: ***buffering progress 100%***
flutter: mdk.FINE: 10:51:48.628: default 0x174fbb320 FrameReader::update MediaStatus 0X154=>0X164
flutter: mdk.FINE: 10:51:48.628: read packet error. FrameReader@0x174fbb320 sending Packet::End to all packet queues. PacketIO@0x174fbdb00 ->url: /Users/uskim/Downloads/푸바오mp4_caption.mp4
flutter: mdk.FINE: 10:51:48.630: #1/1 video seek_done: 1, seek_wait_frame_: 0/0
flutter: mdk.FINE: 10:51:48.630: video stream#0 sending 1 invalid AOT frame @41.730653s. seeking: 0
flutter: mdk.FINE: 10:51:48.630: VideoRenderer clear buffered frames
flutter: mdk.FINE: 10:51:48.630: 0-track seek end video frame @41.730653 seek_pos_: 37400
flutter: mdk.FINE: 10:51:48.630: video stream#0 AOT frame is sent
flutter: mdk.INFO: 10:51:48.638: ++++++++++++BUFFERING END++++++++++++
flutter: mdk.FINE: 10:51:48.638:
flutter: mdk.FINE: 10:51:48.638: #1/1 audio seek_done: 1, seek_wait_frame_: -1/1
flutter: mdk.FINE: 10:51:48.639: audio stream#1 sending 1 invalid AOT frame @41.679818s. seeking: 0
flutter: mdk.INFO: 10:51:48.639: 0x1671aa800 seek end audio frame @41.679818 seek_pos_: 37400, sync_ao_ 1
flutter: mdk.FINE: 10:51:48.642: default FrameReader0x174fbb320 #1 seekComplete 41730
flutter: mdk.FINE: 10:51:48.642: default 0x174fbb320 FrameReader::update MediaStatus 0X164=>0X164
flutter: mdk.FINE: 10:51:48.642: default FrameReader 0x174fbb320 callbacks 0, seeking 0 flag 0, seekComplete#1 @41730
flutter: mdk.FINE: 10:51:48.652: default FrameReader0x174fbb320 #1 seekComplete 41679
flutter: mdk.FINE: 10:51:48.652: default 0x174fbb320 FrameReader::update MediaStatus 0X164=>0X164
flutter: mdk.FINE: 10:51:48.652: default FrameReader 0x174fbb320 callbacks 0, seeking: 0, seekComplete#1 not found @41679
flutter: mdk.FINE: 10:51:48.670: >>>>>>>>1st audio frame (after seek) rendered: 1, ao: 41694, a: 41679, delta: 15 +0.023220
flutter: mdk.FINE: 10:51:48.670: audio stream#1 AOT frame is sent
flutter: mdk.FINE: 10:51:49.580: 0x174fb9c00 player.seek(74788, 1282, ...)
flutter: mdk.INFO: 10:51:49.580: 0x1671aa800-MediaControl::seek(pos: 74788, flag:0X502 +FromStart+Fast). now: 42603
flutter: mdk.FINE: 10:51:49.580: default 0x174fbb320-FrameReader::seek(74788, 0X502)
flutter: mdk.FINE: 10:51:49.580: default 0x174fbb320 FrameReader::update MediaStatus 0X164=>0X1A4
flutter: mdk.FINE: 10:51:49.580: 0x174fbb320 default FrameReaderImpl::seekTo(74788, 0X502 #2)
flutter: mdk.FINE: 10:51:49.582: seekTo(74788) found video stream#0 packet at 74848 in [70.407959, 130.298959] s
flutter: mdk.FINE: 10:51:49.582: seekTo(74788) found audio stream#1 packet at 74791 in [74.791474, 135.070474] s
flutter: mdk.FINE: 10:51:49.582: seek_drop_non_video_: 0 ms, seek_wait_frame_: 0...
flutter: mdk.FINE: 10:51:49.583: video stream#0 is seeking #2... got flush pkt. flush decoder and  drop frames until seek target 0.0000s...
flutter: mdk.FINE: 10:51:49.583: invalid video frame @-1.000000
flutter: mdk.FINE: 10:51:49.583: h264 codec pixel format list: (expected yuv420p)
flutter: mdk.FINE: 10:51:49.583: videotoolbox_vld
flutter: mdk.FINE: 10:51:49.583: yuv420p (selected)
flutter: mdk.FINE: 10:51:49.583: yuv420p using avcodec software decoder...
flutter: mdk.FINE: 10:51:49.584: 0x174fb9c00 player.seek(74953, 1282, ...)
flutter: mdk.INFO: 10:51:49.585: seeking media's position is 74788=====
flutter: mdk.FINE: 10:51:49.585: 0x1671aa800-MediaControl::seek(pos: 74953, flag:0X502 +FromStart+Fast). now: 74788
flutter: mdk.FINE: 10:51:49.585: default 0x174fbb320-FrameReader::seek(74953, 0X502)
flutter: mdk.FINE: 10:51:49.585: default FrameReader 0x174fbb320 seek target 74953ms skipped: 1 frequent seek requested
flutter: mdk.FINE: 10:51:49.598: audio stream#1 is seeking #2... got flush pkt. flush decoder and  drop frames until seek target 0.0000s...
flutter: mdk.FINE: 10:51:49.598: invalid audio frame @-1.000000
flutter: mdk.FINE: 10:51:49.598: #2/2 audio seek_done: 1, seek_wait_frame_: 0/1
flutter: mdk.FINE: 10:51:49.598: audio stream#1 sending 1 invalid AOT frame @74.791473s. seeking: 0
flutter: mdk.INFO: 10:51:49.598: 0x1671aa800 seek end audio frame @74.791473 seek_pos_: 74953, sync_ao_ 1
flutter: mdk.FINE: 10:51:49.604: #2/2 video seek_done: 1, seek_wait_frame_: 0/0
flutter: mdk.FINE: 10:51:49.604: video stream#0 sending 1 invalid AOT frame @70.407958s. seeking: 0
flutter: mdk.FINE: 10:51:49.604: VideoRenderer clear buffered frames
flutter: mdk.FINE: 10:51:49.604: 0-track seek end video frame @70.407958 seek_pos_: 74953
flutter: mdk.FINE: 10:51:49.604: video stream#0 AOT frame is sent
flutter: mdk.FINE: 10:51:49.609: default FrameReader0x174fbb320 #2 seekComplete 70407
flutter: mdk.FINE: 10:51:49.609: default 0x174fbb320 FrameReader::update MediaStatus 0X1A4=>0X124
flutter: mdk.FINE: 10:51:49.609: default FrameReader 0x174fbb320 callbacks 0, seeking 0 flag 0, seekComplete#2 @70407
flutter: mdk.FINE: 10:51:49.609: start pending seek job to 74953
flutter: mdk.FINE: 10:51:49.609: default 0x174fbb320-FrameReader::seek(74953, 0X502)
flutter: mdk.FINE: 10:51:49.609: default 0x174fbb320 FrameReader::update MediaStatus 0X124=>0X1A4
flutter: mdk.FINE: 10:51:49.610: 0x174fbb320 default FrameReaderImpl::seekTo(74953, 0X502 #3)
flutter: mdk.FINE: 10:51:49.620: seekTo(74953) found video stream#0 packet at 75048 in [72.010416, 102.857416] s
flutter: mdk.FINE: 10:51:49.620: seekTo(74953) found audio stream#1 packet at 74954 in [74.954014, 103.050014] s
flutter: mdk.FINE: 10:51:49.620: seek_drop_non_video_: 0 ms, seek_wait_frame_: 0...
flutter: mdk.FINE: 10:51:49.620: video stream#0 is seeking #3...   drop frames until seek target 0.0000s...
flutter: mdk.FINE: 10:51:49.621: invalid video frame @-1.000000
flutter: mdk.FINE: 10:51:49.621: #3/3 video seek_done: 1, seek_wait_frame_: 0/0
flutter: mdk.FINE: 10:51:49.621: video stream#0 sending 1 invalid AOT frame @71.743339s. seeking: 0
flutter: mdk.FINE: 10:51:49.621: VideoRenderer clear buffered frames
flutter: mdk.FINE: 10:51:49.621: 0-track seek end video frame @71.743339 seek_pos_: 74953
flutter: mdk.FINE: 10:51:49.621: video stream#0 AOT frame is sent
flutter: mdk.FINE: 10:51:49.630: >>>>>>>>1st audio frame (after seek) rendered: 1, ao: 74806, a: 74791, delta: 15 +0.023220
flutter: mdk.FINE: 10:51:49.630: audio stream#1 AOT frame is sent
flutter: mdk.FINE: 10:51:49.630: audio stream#1 is seeking #3...   drop frames until seek target 0.0000s...
flutter: mdk.FINE: 10:51:49.630: invalid audio frame @-1.000000
flutter: mdk.FINE: 10:51:49.630: #3/3 audio seek_done: 1, seek_wait_frame_: -1/1
flutter: mdk.FINE: 10:51:49.630: audio stream#1 sending 1 invalid AOT frame @74.954013s. seeking: 0
flutter: mdk.INFO: 10:51:49.630: 0x1671aa800 seek end audio frame @74.954013 seek_pos_: 74953, sync_ao_ 1
flutter: mdk.FINE: 10:51:49.633: default FrameReader0x174fbb320 #3 seekComplete 71743
flutter: mdk.FINE: 10:51:49.633: default 0x174fbb320 FrameReader::update MediaStatus 0X1A4=>0X124
flutter: mdk.FINE: 10:51:49.633: default FrameReader 0x174fbb320 callbacks 0, seeking 0 flag 0, seekComplete#3 @71743
flutter: mdk.FINE: 10:51:49.645: default FrameReader0x174fbb320 #3 seekComplete 74954
flutter: mdk.FINE: 10:51:49.645: default 0x174fbb320 FrameReader::update MediaStatus 0X124=>0X124
flutter: mdk.FINE: 10:51:49.646: default FrameReader 0x174fbb320 callbacks 0, seeking: 0, seekComplete#3 not found @74954
flutter: mdk.FINE: 10:51:49.662: >>>>>>>>1st audio frame (after seek) rendered: 1, ao: 74969, a: 74954, delta: 15 +0.023220
flutter: mdk.FINE: 10:51:49.662: audio stream#1 AOT frame is sent
flutter: mdk.FINE: 10:51:51.199: 0x174fb9c00 player.seek(18445, 1282, ...)
flutter: mdk.INFO: 10:51:51.199: 0x1671aa800-MediaControl::seek(pos: 18445, flag:0X502 +FromStart+Fast). now: 76503
flutter: mdk.FINE: 10:51:51.200: default 0x174fbb320-FrameReader::seek(18445, 0X10502)
flutter: mdk.FINE: 10:51:51.200: default 0x174fbb320 FrameReader::update MediaStatus 0X124=>0X1A4
flutter: mdk.FINE: 10:51:51.200: 0x174fbb320 default FrameReaderImpl::seekTo(18445, 0X10502 #4)
flutter: mdk.FINE: 10:51:51.209: seekTo(18445) found video stream#0 packet at -2 in [77.018094, 102.991094] s
flutter: mdk.FINE: 10:51:51.209: seekTo(18445) found audio stream#1 packet at -2 in [76.532971, 102.909971] s
flutter: mdk.INFO: 10:51:51.210: virtual int64_t mdk::PacketIOWrapper::seek(int64_t, SeekFlag)@699 seek target(from 0): 18445ms, flags: +FromStart+Fast+Backward. now: 102.887619
flutter: mdk.FINE: 10:51:51.210: default 0x174fbb320 FrameReader::update MediaStatus 0X1A4=>0X1E4
flutter: mdk.FINE: 10:51:51.210: Seek start. target time: 18445000 avseek flags: 1
flutter: mdk.FINE: 10:51:51.210: Seek end
flutter: mdk.FINE: 10:51:51.210: 1 packets is read after seek. read more to get target pts
flutter: mdk.FINE: 10:51:51.210: 1 packets is read after seek. seek result pts: 16.625488s, requested: 18445ms
flutter: mdk.FINE: 10:51:51.210: default 0x174fbb320 FrameReader::update MediaStatus 0X1E4=>0X124
flutter: mdk.FINE: 10:51:51.210: seek_drop_non_video_: 0 ms, seek_wait_frame_: 0...
flutter: mdk.FINE: 10:51:51.210: 0x174fbb320 #video stream#0 end semaphore acquire
flutter: mdk.FINE: 10:51:51.219: audio stream#1 is seeking #4... got flush pkt. flush decoder and  drop frames until seek target 0.0000s...
flutter: mdk.FINE: 10:51:51.219: invalid audio frame @-1.000000
packets not empty
flutter: mdk.INFO: 10:51:51.219: audio stream#1 EOF/EOS decoded. end: 1
flutter: mdk.FINE: 10:51:51.219: audio stream#1 check loop range for EOS. dec_state.seeking: 4. end: 1, nb_decoded:148
flutter: mdk.FINE: 10:51:51.219: audio stream#1 got EOS while seeking #4, may have seek error, assume out of range. seek_wait_frame_:0
flutter: mdk.FINE: 10:51:51.219: 0x1673a9800 track#1: no more range loop. loop 0/0.
flutter: mdk.FINE: 10:51:51.219: default FrameReader0x174fbb320 audio stream#1 range loop end
flutter: mdk.FINE: 10:51:51.219: EOS audio frame of track 0
flutter: mdk.FINE: 10:51:51.219: EOS audio frame of track 0
flutter: mdk.FINE: 10:51:51.219: audio stream#1 decoding loop is finished. packets: 0, pts: [-1.000000, -1.000000]
flutter: mdk.FINE: 10:51:51.219: 0x174fbb320 #video stream#0 end semaphore done acquire
flutter: mdk.FINE: 10:51:51.219: 0x174fbb320 #audio stream#1 end semaphore acquire
flutter: mdk.FINE: 10:51:51.219: 0x174fbb320 #audio stream#1 end semaphore done acquire
flutter: mdk.FINE: 10:51:51.227: video stream#0 is seeking #4... got flush pkt. flush decoder and  drop frames until seek target 0.0000s...
flutter: mdk.FINE: 10:51:51.227: invalid video frame @-1.000000
flutter: mdk.FINE: 10:51:51.227: h264 codec pixel format list: (expected yuv420p)
flutter: mdk.FINE: 10:51:51.228: videotoolbox_vld
flutter: mdk.FINE: 10:51:51.228: yuv420p (selected)
flutter: mdk.FINE: 10:51:51.228: yuv420p using avcodec software decoder...
flutter: mdk.FINE: 10:51:51.242: #4/4 video seek_done: 1, seek_wait_frame_: 0/0
flutter: mdk.FINE: 10:51:51.242: video stream#0 sending 1 invalid AOT frame @16.692261s. seeking: 0
flutter: mdk.FINE: 10:51:51.242: VideoRenderer clear buffered frames
flutter: mdk.FINE: 10:51:51.242: 0-track seek end video frame @16.692261 seek_pos_: 18445
flutter: mdk.FINE: 10:51:51.242: video stream#0 AOT frame is sent
flutter: mdk.FINE: 10:51:51.251: default FrameReader0x174fbb320 #4 seekComplete 16692
flutter: mdk.FINE: 10:51:51.251: default 0x174fbb320 FrameReader::update MediaStatus 0X124=>0X124
flutter: mdk.FINE: 10:51:51.251: default FrameReader 0x174fbb320 callbacks 0, seeking 0 flag 0, seekComplete#4 @16692