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
193 stars 31 forks source link

播放4K画面偶发闪烁 #7

Closed moxun33 closed 4 months ago

moxun33 commented 1 year ago

播放4k视频有时出现闪烁色块,能看看如何修复吗?感谢。

修改example里的播放url,启动Windows应用后播放视频,画面偶尔出现闪烁色块

fvp_compress

wang-bin commented 1 year ago

哪个时间段?glfwplay播放有问题吗

moxun33 commented 1 year ago

哪个时间段?glfwplay播放有问题吗

时间段不大固定,有时开头几秒钟就会。glfwplay未发现有问题。

wang-bin commented 1 year ago

其他视频呢

moxun33 commented 1 year ago

其他视频呢

在已测试的其他4k视频无问题。

wang-bin commented 1 year ago

windows上我也复现了,mac上正常,看不出什么原因

moxun33 commented 1 year ago

好的,我先用回去年的fvp版本

wang-bin commented 1 year ago

老版本没问题?

moxun33 commented 1 year ago

是的,去年fork了之后自己添加了一些接口,一直用着,播放4k没出现问题。

wang-bin commented 1 year ago

你用老代码新mdk试试,有可能flutter问题。现在提供了player.dart的接口,可以不用官方的videoplayer写个例子也试下

moxun33 commented 1 year ago

ok,我试试。

wang-bin commented 1 year ago

我用apitrace抓帧,播的时候会闪,抓帧结果回放没闪。

wang-bin commented 1 year ago

试下最版本,之前有个d3d错误导致win7上可能没画面修复了,也许是同一个原因

wang-bin commented 1 year ago

目前我这边测下来已经没闪烁了

moxun33 commented 1 year ago

感谢更新和告知。是这样,我刚拉取了最新代码,本地运行example,还是有闪烁,不知我哪里还没配置正确。 image

wang-bin commented 1 year ago

https://github.com/wang-bin/fvp/blob/v0.7.0/windows/fvp_plugin.cpp#L130 前面添加 clog << "adapter_:" << adapter_.Get() << endl;

registerWith()前面添加两行开启log

  Logger.root.level = Level.ALL;
  Logger.root.onRecord.listen((record) {
    print('${record.loggerName}.${record.level.name}: ${record.time}: ${record.message}');
  });

然后日志发下

moxun33 commented 1 year ago
Launching lib\main.dart on Windows in debug mode...
√  Built build\windows\runner\Debug\fvp_example.exe.
Connecting to VM Service at ws://127.0.0.1:25759/AWacvJcUiaA=/ws
flutter: mdk.INFO: 2023-09-12 21:14:37.602764: 0.21.1 (git 3dcaf9c) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Windows0x0600/10.0.19045 x86_64; MSVC1935; MSVCRT14.35.32215.0/msvcp140.dll; 15:25:21 Aug 27 2023
flutter: fvp.FINE: 2023-09-12 21:14:38.143078: 660803090 player1465792201792 create(http://168.138.195.41:5678/d/%E6%AF%8F%E6%97%A5%E6%9B%B4%E6%96%B0/%E7%94%B5%E8%A7%86%E5%89%A7/%E5%9B%BD%E4%BA%A7%E5%89%A7/%E7%8E%89%E9%AA%A8%E9%81%A5/06%204K.mp4)
flutter: mdk.INFO: 2023-09-12 21:14:38.158036: default000001555B880280 new FrameReader...
flutter: mdk.INFO: 2023-09-12 21:14:38.158036: Registered audio backends: XAudio2 DSound null
flutter: mdk.INFO: 2023-09-12 21:14:38.158036: XAudio2_9.dll
flutter: mdk.INFO: 2023-09-12 21:14:38.186984: Build with XAudio2 from Win8+ SDK
flutter: mdk.INFO: 2023-09-12 21:14:38.186984: Try symbol 'XAudio2Create' from Windows SDK dll
flutter: mdk.INFO: 2023-09-12 21:14:38.186984: default000001555B87ECF0 new FrameReader...
flutter: mdk.INFO: 2023-09-12 21:14:38.186984: Registered audio backends: XAudio2 DSound null
flutter: mdk.INFO: 2023-09-12 21:14:38.186984: 000001555B6B0360__cdecl mdk::abi::Player::Player(void)
flutter: mdk.INFO: 2023-09-12 21:14:38.186984: default FrameReader000001555B880280 state: 0=>0=>0, 0
flutter: mdk.INFO: 2023-09-12 21:14:38.186984: default000001555B880280 void __cdecl mdk::abi::FrameReader::stop(void), current state: 0
flutter: mdk.INFO: 2023-09-12 21:14:38.186984: default FrameReader000001555B880280 state: 0=>0=>0, 0
flutter: mdk.INFO: 2023-09-12 21:14:38.186984: default000001555B880280 void __cdecl mdk::abi::FrameReader::stop(void), current state: 0
flutter: mdk.INFO: 2023-09-12 21:14:38.186984: 000001555BA4D780 MediaControl.prepare(0, ...) http://168.138.195.41:5678/d/%E6%AF%8F%E6%97%A5%E6%9B%B4%E6%96%B0/%E7%94%B5%E8%A7%86%E5%89%A7/%E5%9B%BD%E4%BA%A7%E5%89%A7/%E7%8E%89%E9%AA%A8%E9%81%A5/06%204K.mp4
flutter: mdk.INFO: 2023-09-12 21:14:38.186984: default 000001555B880280 FrameReader.start(0, ...)
flutter: mdk.INFO: 2023-09-12 21:14:38.186984: default 000001555B880280 FrameReader::update MediaStatus 0=>0X2
flutter: fvp.FINE: 2023-09-12 21:14:38.189953: 871748931 player1465792201792 onMediaStatus: MediaStatus(noMedia) => MediaStatus(+loading)
flutter: mdk.INFO: 2023-09-12 21:14:38.189953: default FrameReader000001555B880280 state: 0=>0=>1, 0
flutter: mdk.INFO: 2023-09-12 21:14:38.190950: default FrameReader000001555B880280 state: 0=>1=>1, 0
flutter: mdk.INFO: 2023-09-12 21:14:38.190950: start frame reader thread: 6364
flutter: mdk.INFO: 2023-09-12 21:14:38.190950: try to load av module: E:\source-code\flutter-src\wangbin-fvp\example\build\windows\runner\Debug\ffmpeg-6.dll
flutter: mdk.INFO: 2023-09-12 21:14:38.190950: ffmpeg loaded: E:\source-code\flutter-src\wangbin-fvp\example\build\windows\runner\Debug\ffmpeg-6.dll
flutter: mdk.INFO: 2023-09-12 21:14:38.190950: Selected avutil runtime version: 58.17.100 (build: 58.17.100), license: LGPL version 2.1 or later
flutter: mdk.INFO: 2023-09-12 21:14:38.190950: Selected avutil runtime configuration: --extra-version=avbuild --disable-doc --disable-debug --enable-shared --enable-runtime-cpudetect --enable-libvpl --disable-ptx-compression --enable-mediafoundation --disable-postproc --toolchain=msvc --windres=llvm-windres --extra-windresflags='--target=x86_64-pc-windows-msvc -I/c/Program\ Files/Microsoft\ Visual\ Studio/2022/Enterprise/VC/Tools/MSVC/14.35.32215/include -I/c/Program\ Files/Microsoft\ Visual\ Studio/2022/Enterprise/VC/Tools/MSVC/14.35.32215/ATLMFC/include -I/c/Program\ Files/Microsoft\ Visual\ Studio/2022/Enterprise/VC/Auxiliary/VS/include -I/c/Program\ Files\ \(x86\)/Windows\ Kits/10/include/10.0.22621.0/ucrt -I/c/Program\ Files\ \(x86\)/Windows\ Kits/10/include/10.0.22621.0/um -I/c/Program\ Files\ \(x86\)/Windows\ Kits/10/include/10.0.22621.0/shared -I/c/Program\ Files\ \(x86\)/Windows\ Kits/10/include/10.0.22621.0/winrt -I/c/Program\ Files\ \(x86\)/Windows\ Kits/10/include/10.0.22621.0/cppwinrt -I/c/Program\ Files\ \(x86\)/Windows\ Kits/NETFXSDK/4.8/include/um' --enable-pic --extra-cflags='-I/d/a/avbuild/avbuild/tools/Vulkan-Headers/include -MD -Zi -FS -guard:cf -I/d/a/avbuild/avbuild/tools/dep/include -D_WIN32_WINNT=0x0600' --extra-ldflags='-NODEFAULTLIB:libcmt -DEBUG -guard:cf -OPT:REF -SUBSYSTEM:CONSOLE' --enable-small --disable-outdevs --disable-filters --enable-filter='*null*,afade,*fifo,*format,*resample,aeval,allrgb,allyuv,atempo,pan,*bars,color,*key,crop,draw*,eq*,framerate,*_qsv,*_vaapi,*v4l2*,hw*,scale,volume,test*' --disable-muxers --disable-encoders --disable-decoders --disable-demuxers --disable-filter=scale_cuda --enable-decoder='*sub*,movtext,*web*,aac*,*ac3*,alac*,ape,ass,av1*,ccaption,cfhd,cook,dca,dnxhd,eac3*,exr,truehd,ff*,*yuv*,flv,flac,gif,h26[3-4]*,hevc*,hap,mp[1-3]*,prores,*peg*,mlp,mpl2,nellymoser,opus,pcm*,qtrle,*png*,tiff,rawvideo,rv*,sami,srt,ssa,v210*,vc1*,vorbis,vp[6-9]*,wm*,wrapped_avframe' --enable-demuxer='*sub*,*ac3,*ac,*peg*,*web*,au,ape,ass,avi,concat,dnxhd,dts*,*dash*,*flv,gif,hls,h264,hevc,kux,matroska,mov,mp3,mxf,ogg,pcm*,rawvideo,rt*p,spdif,srt,vc1,v210*,wav,*pipe,image2,mlv,nsv,nut' --enable-encoder='aac,cfhd,dnxhd,exr,ff*,*yuv*,gif,h26[3-4]*,av1*,hevc*,mjpeg*,*png,opus,pcm*,prores*,rawvideo,spdif,speedhq,*jpeg,*png,tiff,vp[8-9]*,wrapped_avframe,*nvenc,*qsv,*v4l2m2m,*vaapi,vorbis' --enable-muxer='*jpeg,dnxhd,fifo,flv,gif,hls,h264,hevc,image2,mov,mp4,mpegts,matroska,null,og*,pcm*,rawvideo,spdif,*pipe,*segment,webm,wav,dash,nu*'
flutter: mdk.INFO: 2023-09-12 21:14:38.191949: av_dict_set00007FFAB7649B80
flutter: mdk.INFO: 2023-09-12 21:14:38.191949: Selected avformat runtime version: 60.10.100 (build: 60.10.100), license: LGPL version 2.1 or later
flutter: mdk.INFO: 2023-09-12 21:14:38.191949: avformat_version00007FFAB763A370
flutter: mdk.INFO: 2023-09-12 21:14:38.191949: Trying MediaIO FFmpeg for protocol "http"
flutter: mdk.INFO: 2023-09-12 21:14:38.191949: 000001555BB65440 open url: http://168.138.195.41:5678/d/%E6%AF%8F%E6%97%A5%E6%9B%B4%E6%96%B0/%E7%94%B5%E8%A7%86%E5%89%A7/%E5%9B%BD%E4%BA%A7%E5%89%A7/%E7%8E%89%E9%AA%A8%E9%81%A5/06%204K.mp4
flutter: mdk.INFO: 2023-09-12 21:14:38.191949: FFmpeg/Libav runtime git-2023-08-24-9f66286-avbuild
flutter: mdk.INFO: 2023-09-12 21:14:38.569459: 000001555BB65440 url opened
flutter: mdk.INFO: 2023-09-12 21:14:38.569459: default 000001555B880280 FrameReader::update MediaStatus 0X2=>0X2
flutter: mdk.INFO: 2023-09-12 21:14:38.569459: Selected avcodec runtime version: 60.23.100 (build: 60.23.100), license: LGPL version 2.1 or later
flutter: mdk.INFO: 2023-09-12 21:14:38.569459: av_packet_alloc00007FFAB7153630
flutter: mdk.INFO: 2023-09-12 21:14:38.569459: before avformat_open_input. io: 000001555BB65440(FFmpeg/pb: 000001555BB58B40, url: http://168.138.195.41:5678/d/%E6%AF%8F%E6%97%A5%E6%9B%B4%E6%96%B0/%E7%94%B5%E8%A7%86%E5%89%A7/%E5%9B%BD%E4%BA%A7%E5%89%A7/%E7%8E%89%E9%AA%A8%E9%81%A5/06%204K.mp4
flutter: mdk.INFO: 2023-09-12 21:14:39.405654: after avformat_open_input. pb: 000001555BB58B40, iformat: 00007FFAB78AF9A0 context flags: 2097280, input format flags: 0
flutter: mdk.INFO: 2023-09-12 21:14:39.411638: supports 205 ffmpeg sw pixel formats. unsupported: uyyvyy411 x2rgb10be x2bgr10be p212be p212le p412be p412le
flutter: mdk.INFO: 2023-09-12 21:14:39.411638: Format: matroska,webm, range: 0 +2844663ms, bitrate: 1556709, size: 0
Metadata:
  encoder: libebml v1.4.2 + libmatroska v1.6.4
  creation_time: 2023-07-03T10:18:01.000000Z
  COMMENT: 更多分享关注 微信公众号:Tacit0924 或者 QQ频道 搜索:Alicloud
Streams: 4
 Video:
  stream#0, range: 42 +0ms, frames: 0
  codec: hevc tag: 0 profile: 1 level: 150, yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0, bitrate: 0, 3840x2160, fps: 25, bframes: 4, primaries: bt709, trc: bt709, matrix: bt709, range: narrow
  extra data(128): 01 01 60 00 00 00 90 00 00 00 00 00 96 F0 00 FC FD F8 F8 00 00 0F 03 20 00 01 00 19 40 01 0C 01 FF FF 01 60 00 00 03 00 90 00 00 03 00 00 03 00 96 98 A1 10 24 21 00 01 00 30 42 01 01 01 60 00 00 03 00 90 00 00 03 00 00 03 00 96 A0 01 E0 20 02 1C 59 66 28 46 49 12 6A C0 5A 80 80 80 82 00 00 03 00 02 00 00 03 00 32 10 22 00 02 00 07 44 01 C1 37 7C 08 90 00 08 44 01 50 4D DF 06 24 00
  Metadata:
   BPS: 1429300
   NUMBER_OF_BYTES: 508226816
   DURATION: 00:47:24.618000000
   NUMBER_OF_FRAMES: 70801
   _STATISTICS_WRITING_APP: mkvmerge v66.0.0 ('Josie') 64-bit
   _STATISTICS_WRITING_DATE_UTC: 2023-07-03 10:18:01
   _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  stream#3, range: 0 +2844663ms, frames: 0 sparse
  codec: png tag: 0 profile: -99 level: -99, rgba, bpc:8, bpp:32(32), channels:(4), map: 0 1 2 3, bitrate: 0, 600x600, fps: 90000, bframes: 0, primaries: bt709, trc: srgb, matrix: gbr, range: full
  Metadata:
   filename: WX公.众.号:Tacit0924.png
   mimetype: image/png
 Audio:
  stream#1, range: 0 +0ms, frames: 0
  codec: aac tag: 0 profile: 1 level: -99, sample size: 0/0, block align: 0, frame_size: 1024, f32p stereo(2) @48000Hz, bitrate: 0
  extra data(2): 11 90
  Metadata:
   NUMBER_OF_BYTES: 44375605
   BPS: 124796
   DURATION: 00:47:24.663000000
   NUMBER_OF_FRAMES: 132754
   _STATISTICS_WRITING_DATE_UTC: 2023-07-03 10:18:01
   _STATISTICS_WRITING_APP: mkvmerge v66.0.0 ('Josie') 64-bit
   _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 Subtitle:
  stream#2, range: 0 +2844663ms codec: subrip
  Metadata:
   _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
   language: chi
   NUMBER_OF_BYTES: 138
   BPS: 110
   DURATION: 00:00:10.000000000
   NUMBER_OF_FRAMES: 2
   _STATISTICS_WRITING_DATE_UTC: 2023-07-03 10:18:01
   _STATISTICS_WRITING_APP: mkvmerge v66.0.0 ('Josie') 64-bit
flutter: mdk.INFO: 2023-09-12 21:14:39.412635: default FrameReader000001555B880280 request to pause 1, loaded: 0.
flutter: mdk.INFO: 2023-09-12 21:14:39.412635: default FrameReader000001555B880280 state: 0=>1=>2, 0
flutter: mdk.INFO: 2023-09-12 21:14:39.412635: default FrameReader000001555B880280 state requested: 2, current: 0
flutter: mdk.INFO: 2023-09-12 21:14:39.416626: Loaded libass runtime: libass.dll
flutter: mdk.INFO: 2023-09-12 21:14:39.416626: [ass] libass API version: 0x1700000
flutter: mdk.INFO: 2023-09-12 21:14:39.416626: [ass] libass source: commit: e60ecdc7e14ef63a762c77a225f02425b688182e
flutter: mdk.INFO: 2023-09-12 21:14:39.416626: [ass] Shaper: FriBidi 1.0.12 (SIMPLE) HarfBuzz-ng 6.0.0 (COMPLEX)
flutter: mdk.INFO: 2023-09-12 21:14:39.416626: [ass] Using font provider directwrite (with GDI)
flutter: mdk.INFO: 2023-09-12 21:14:39.416626: 000001555BA4D780 prepared callback is invoked
flutter: mdk.INFO: 2023-09-12 21:14:39.416626: default 000001555B880280 FrameReader::update MediaStatus 0X2=>0X4
flutter: fvp.FINE: 2023-09-12 21:14:39.429990: 871748931 player1465792201792 onMediaStatus: MediaStatus(+loading) => MediaStatus(+loaded)
flutter: mdk.INFO: 2023-09-12 21:14:39.432853: ***buffering progress 0%***
adapter_:flutter: mdk.INFO: 2023-09-12 21:14:39.432853: default 000001555B880280 FrameReader::update MediaStatus 0X4=>0X14
flutter: fvp.FINE: 2023-09-12 21:14:39.432853: 871748931 player1465792201792 onMediaStatus: MediaStatus(+loaded) => MediaStatus(+loaded+buffering)
flutter: mdk.INFO: 2023-09-12 21:14:39.432853: ++++++++++++BUFFERING START++++++++++++
flutter: mdk.INFO: 2023-09-12 21:14:39.432853:
flutter: fvp.FINE: 2023-09-12 21:14:39.433359: 871748931 player1465792201792 onEvent: reader.buffering 0
flutter: mdk.INFO: 2023-09-12 21:14:39.434361: default FrameReader000001555B880280 state: 0=>2=>1, 1
flutter: mdk.INFO: 2023-09-12 21:14:39.434361: default FrameReader000001555B880280 update state: 0=>1
flutter: fvp.FINE: 2023-09-12 21:14:39.434361: 871748931 player1465792201792 onPlaybackStateChanged: PlaybackState.stopped => PlaybackState.playing
flutter: mdk.INFO: 2023-09-12 21:14:39.435359: default FrameReader000001555B880280 state: 1=>1=>2, 1
flutter: mdk.INFO: 2023-09-12 21:14:39.435359: default FrameReader000001555B880280 update state: 1=>2
flutter: fvp.FINE: 2023-09-12 21:14:39.435359: 871748931 player1465792201792 onPlaybackStateChanged: PlaybackState.playing => PlaybackState.paused
flutter: mdk.INFO: 2023-09-12 21:14:39.435359: starting decode loop thread mdk.adec1@2224
flutter: fvp.FINE: 2023-09-12 21:14:39.435359: 871748931 player1465792201792 onEvent: thread.audio 1
flutter: mdk.INFO: 2023-09-12 21:14:39.435359: audio stream#1 starting decoding loop from decoder index 0...
flutter: mdk.INFO: 2023-09-12 21:14:39.435359: starting decode loop thread mdk.vdec0@15276
flutter: mdk.INFO: 2023-09-12 21:14:39.435359: creating audio decoder: auto...
flutter: fvp.FINE: 2023-09-12 21:14:39.435359: 871748931 player1465792201792 onEvent: thread.video 1
flutter: mdk.INFO: 2023-09-12 21:14:39.435359: opening audio decoder: FFmpeg...
flutter: mdk.INFO: 2023-09-12 21:14:39.435359: video stream#0 starting decoding loop from decoder index 0...
flutter: mdk.INFO: 2023-09-12 21:14:39.437354: opening ffmpeg audio decoder: aac ...
flutter: mdk.INFO: 2023-09-12 21:14:39.437354: creating video decoder: MFT:d3d=11...
flutter: mdk.INFO: 2023-09-12 21:14:39.437354: opening video decoder: MFT...
flutter: mdk.INFO: 2023-09-12 21:14:39.437354: try to convert extra data to annexb
flutter: mdk.INFO: 2023-09-12 21:14:39.437354: nal field length: 4, annexb extradata size: 104
flutter: mdk.INFO: 2023-09-12 21:14:39.437354: uninit com required for MFT: true
flutter: mdk.INFO: 2023-09-12 21:14:39.437354: 4MFT flags: 81
flutter: mdk.INFO: 2023-09-12 21:14:39.437354: AVCodec.Audio[aac.] decoder: 1 Single threads
flutter: mdk.INFO: 2023-09-12 21:14:39.437354: aac f32p, stereo @48000Hz
flutter: fvp.FINE: 2023-09-12 21:14:39.437354: 871748931 player1465792201792 onEvent: decoder.audio 0
flutter: mdk.INFO: 2023-09-12 21:14:39.438350: ***buffering progress 100%***
flutter: mdk.INFO: 2023-09-12 21:14:39.438350: default 000001555B880280 FrameReader::update MediaStatus 0X14=>0X124
flutter: fvp.FINE: 2023-09-12 21:14:39.438350: 871748931 player1465792201792 onMediaStatus: MediaStatus(+loaded+buffering) => MediaStatus(+loaded+prepared+buffered)
flutter: mdk.INFO: 2023-09-12 21:14:39.438350: ++++++++++++BUFFERING END++++++++++++
flutter: mdk.INFO: 2023-09-12 21:14:39.440344:
flutter: fvp.FINE: 2023-09-12 21:14:39.441342: 871748931 player1465792201792 onEvent: reader.buffering 100
flutter: mdk.INFO: 2023-09-12 21:14:39.441342: audio stream#1 sending 1 invalid AOT frame @0.000000s. seeking: 0
flutter: mdk.INFO: 2023-09-12 21:14:39.441342: 000001555BA4D780 1st audio frame @0.000000
flutter: mdk.INFO: 2023-09-12 21:14:39.441342: 000001555BA4D780 seek end audio frame @0.000000 seek_pos_: -1, sync_ao_ 1
flutter: mdk.INFO: 2023-09-12 21:14:39.441342: Selected avfilter runtime version: 9.11.100 (build: 9.11.100), license: LGPL version 2.1 or later
flutter: mdk.INFO: 2023-09-12 21:14:39.441342: AudioRenderer format: f32, stereo @48000Hz, requested: f32p, stereo @48000Hz
flutter: mdk.INFO: 2023-09-12 21:14:39.441342: AudioRenderer format changed and reinitialize
flutter: mdk.INFO: 2023-09-12 21:14:39.441342: __cdecl ThreadLocal<struct mdk::abi::ComInit>::Data::Data(void) thread: 2224
flutter: mdk.INFO: 2023-09-12 21:14:39.441342: struct mdk::abi::ComInit *__cdecl ThreadLocal<struct mdk::abi::ComInit>::get(void) const allocate and initialize ThreadLocal data
flutter: mdk.INFO: 2023-09-12 21:14:39.442341: 2224 uninit_com_: true
00000155430C9100
flutter: mdk.INFO: 2023-09-12 21:14:39.457326: 1 MFT class activates found
flutter: mdk.INFO: 2023-09-12 21:14:39.457326: IMFActivate[0] attributes:
flutter: mdk.INFO: 2023-09-12 21:14:39.457326: 13 attributes: MFT_FRIENDLY_NAME_Attribute=HEVCVideoExtension, MF_MEDIA_EXTENSION_PACKAGED_WINDOWS_SIGNED=1, MFT_INPUT_TYPES_Attributes=(64)[{MFMediaType_Video,MFVideoFormat_HEVC},{MFMediaType_Video,MFVideoFormat_HEVC_ES}], MF_MEDIA_EXTENSION_ABSOLUTE_DLLPATH=C:\Program Files\WindowsApps\Microsoft.HEVCVideoExtension_2.0.51121.0_x64__8wekyb3d8bbwe\x64\HEVCDECODER_STORE.dll, MFT_OUTPUT_TYPES_Attributes=(128)[{MFMediaType_Video,MFVideoFormat_NV12},{MFMediaType_Video,MFVideoFormat_IYUV},{MFMediaType_Video,'420O'},{MFMediaType_Video,MFVideoFormat_P010}], MF_TRANSFORM_FLAGS_Attribute=1, MF_MEDIA_EXTENSION_PACKAGE_FULL_NAME=Microsoft.HEVCVideoExtension_2.0.51121.0_x64__8wekyb3d8bbwe, MF_MEDIA_EXTENSION_PACKAGE_FAMILY_NAME=Microsoft.HEVCVideoExtension_8wekyb3d8bbwe, MF_TELEMETRY_OBJECT_INSTANCE_ATTRIBUTE={07833cf5-1be6-4317-8073-f69ad4a88c8c}, MF_TRANSFORM_CATEGORY_Attribute=MFT_CATEGORY_VIDEO_DECODER, MF_MEDIA_EXTENSION_ACTIVATABLE_CLASS_ID=H265Decoder.CH265DecoderTransform, MF_MEDIA_EXTENSION_PACKAGE_REG_NEEDED=0, MF_MEDIA_EXTENSION_WEB_PLATFORM_ALLOWED=1,
flutter: mdk.INFO: 2023-09-12 21:14:39.458296: Activating IMFActivate: HEVCVideoExtension
flutter: mdk.INFO: 2023-09-12 21:14:39.469268: set d3d11 device. Feature level: 0XB000, create flags: 0
flutter: mdk.INFO: 2023-09-12 21:14:39.469268: d3d11: 000001555BB2D528, dxgi adapter vendor 10de, device 1c03, revision a1, NVIDIA GeForce GTX 1060 6GB.
flutter: mdk.INFO: 2023-09-12 21:14:39.469268: set d3d11 device. Feature level: 0XB000, create flags: 0
flutter: mdk.INFO: 2023-09-12 21:14:39.469268: d3d11: 000001555BB2D528, dxgi adapter vendor 10de, device 1c03, revision a1, NVIDIA GeForce GTX 1060 6GB.
flutter: mdk.INFO: 2023-09-12 21:14:39.475251: setLoop(-1), now 0/0
flutter: mdk.INFO: 2023-09-12 21:14:39.475251: 000001555BA4D780 void __cdecl mdk::abi::MediaControlPush::setState(enum mdk::abi::State)@969 requested state 2=>2, current state 2. status: 0X124
flutter: mdk.INFO: 2023-09-12 21:14:39.475251: default FrameReader000001555B880280 request to pause 1, loaded: 4.
flutter: mdk.INFO: 2023-09-12 21:14:39.475251: default FrameReader000001555B880280 state: 2=>2=>2, 0
flutter: mdk.INFO: 2023-09-12 21:14:39.475251: Using audio backend: XAudio2
flutter: mdk.INFO: 2023-09-12 21:14:39.475251: 000001555BA4D780 ao opened: 1, reopen: 1, bad ao: 0
flutter: mdk.INFO: 2023-09-12 21:14:39.476565: 000001555BA39368 filter graph:
flutter: mdk.INFO: 2023-09-12 21:14:39.476565: +-----------+
|    src    |default--[48000Hz fltp:stereo]--swr:default
| (abuffer) |
+-----------+
                                          +---------------+
swr:default--[48000Hz flt:stereo]--default|      dst      |
                                          | (abuffersink) |
                                          +---------------+
                                           +-------------+
src:default--[48000Hz fltp:stereo]--default|     swr     |default--[48000Hz flt:stereo]--dst:default
                                           | (aresample) |
                                           +-------------+
flutter: mdk.INFO: 2023-09-12 21:14:39.476565: >>>>>>>>1st audio frame (after seek) rendered: 1, ao: 0, a: 0, delta: 0 +0.021333
flutter: mdk.INFO: 2023-09-12 21:14:39.512159: starting decode loop thread mdk.sdec2@1216
flutter: fvp.FINE: 2023-09-12 21:14:39.512159: 871748931 player1465792201792 onEvent: thread.subtitle 1
flutter: mdk.INFO: 2023-09-12 21:14:39.513157: subtitle stream#2 starting decoding loop from decoder index 0...
flutter: mdk.INFO: 2023-09-12 21:14:39.513157: creating subtitle decoder: auto...
flutter: mdk.INFO: 2023-09-12 21:14:39.513157: opening subtitle decoder: FFmpeg...
flutter: mdk.INFO: 2023-09-12 21:14:39.513157: opening ffmpeg subtitle decoder: subrip ...
flutter: mdk.INFO: 2023-09-12 21:14:39.513157: AVCodec.Subtitle[subrip.] decoder: 1 Single threads
flutter: mdk.INFO: 2023-09-12 21:14:39.513157: subrip
flutter: fvp.FINE: 2023-09-12 21:14:39.513157: 871748931 player1465792201792 onEvent: decoder.subtitle 0
flutter: mdk.INFO: 2023-09-12 21:14:39.513157: subtitle stream#2 sending 1 invalid AOT frame @3.000000s. seeking: 0
flutter: mdk.INFO: 2023-09-12 21:14:39.513157: 000001555BA4D780 1st subtitle frame @3.000000
flutter: mdk.INFO: 2023-09-12 21:14:39.513157: 000001555BA4D780 seek end subtitle frame @3.000000 seek_pos_: -1
operator ()postCObject error
flutter: mdk.INFO: 2023-09-12 21:14:39.601720: dxgi adapter 0: vendor 10de, device 1c03, revision a1, NVIDIA GeForce GTX 1060 6GB
flutter: mdk.INFO: 2023-09-12 21:14:39.601720:
flutter: mdk.INFO: 2023-09-12 21:14:39.603715: d3d11.1 device feature level: 0xb000, requested: 0xc200.
flutter: mdk.INFO: 2023-09-12 21:14:39.603715: 000001555BA5DA40->mdk::abi::D3D11NativeBufferPool::D3D11NativeBufferPool
flutter: mdk.INFO: 2023-09-12 21:14:39.603715: Selected MFT attributes:
flutter: mdk.INFO: 2023-09-12 21:14:39.603715: 7 attributes: MF_SA_D3D11_AWARE=1, CODECAPI_AVDecVideoThumbnailGenerationMode=0, MF_INPROCDLL_LIFETIME_MANAGER=<UNKNOWN type>, CODECAPI_AVDecNumWorkerThreads=12, MF_SA_D3D_AWARE=1, CODECAPI_AVDecVideoAcceleration_H264=1, MF_TRANSFORM_ASYNC=0,
flutter: mdk.INFO: 2023-09-12 21:14:39.603715: stream cout: in=1, out=1
flutter: mdk.INFO: 2023-09-12 21:14:39.603715: mdk::abi::MFTCodec::selectInputType
flutter: mdk.INFO: 2023-09-12 21:14:39.603715: 2 attributes: MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_SUBTYPE=MFVideoFormat_HEVC,
flutter: mdk.INFO: 2023-09-12 21:14:39.604712: 2 attributes: MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_SUBTYPE=MFVideoFormat_HEVC_ES,
flutter: mdk.INFO: 2023-09-12 21:14:39.604712: selected IMFMediaType index: 0
flutter: mdk.INFO: 2023-09-12 21:14:39.604712: SetInputType:
flutter: mdk.INFO: 2023-09-12 21:14:39.604712: 4 attributes: MF_MT_FRAME_SIZE=16492674418800 (3840x2160), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_HEVC,
flutter: mdk.INFO: 2023-09-12 21:14:39.605710: used input type:
flutter: mdk.INFO: 2023-09-12 21:14:39.605710: 4 attributes: MF_MT_FRAME_SIZE=16492674418800 (3840x2160), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_HEVC,
flutter: mdk.INFO: 2023-09-12 21:14:39.605710: mdk::abi::MFTCodec::selectOutputType0
flutter: mdk.INFO: 2023-09-12 21:14:39.605710: 12 attributes: MF_MT_FRAME_SIZE=16492674418800 (3840x2160), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=3840, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_HEVC_MAIN, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_ORIGINAL_4CC=1129727304, MF_MT_SAMPLE_SIZE=12441600, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12,
flutter: mdk.INFO: 2023-09-12 21:14:39.605710: 12 attributes: MF_MT_FRAME_SIZE=16492674418800 (3840x2160), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=3840, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_HEVC_MAIN, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_ORIGINAL_4CC=1129727304, MF_MT_SAMPLE_SIZE=12441600, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_IYUV,
flutter: mdk.INFO: 2023-09-12 21:14:39.607704: selected IMFMediaType index: 0
flutter: mdk.INFO: 2023-09-12 21:14:39.607704: SetOutputType:
flutter: mdk.INFO: 2023-09-12 21:14:39.607704: 12 attributes: MF_MT_FRAME_SIZE=16492674418800 (3840x2160), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=3840, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_HEVC_MAIN, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_ORIGINAL_4CC=1129727304, MF_MT_SAMPLE_SIZE=12441600, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12,
flutter: mdk.INFO: 2023-09-12 21:14:39.608702: used output type:
flutter: mdk.INFO: 2023-09-12 21:14:39.608702: 0000015542C916C0 12 attributes: MF_MT_FRAME_SIZE=16492674418800 (3840x2160), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=3840, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_HEVC_MAIN, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_ORIGINAL_4CC=1129727304, MF_MT_SAMPLE_SIZE=12441600, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12,
flutter: mdk.INFO: 2023-09-12 21:14:39.610696: input stream info: dwFlags=3, cbSize=12441600, cbAlignment=0, hnsMaxLatency=0, cbMaxLookahead=0
flutter: mdk.INFO: 2023-09-12 21:14:39.610696: output stream info: dwFlags=263, cbSize=12441600, cbAlignment=0
flutter: mdk.INFO: 2023-09-12 21:14:39.610696: onOutputTypeChanged: 12 attributes: MF_MT_FRAME_SIZE=16492674418800 (3840x2160), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=3840, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_HEVC_MAIN, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_ORIGINAL_4CC=1129727304, MF_MT_SAMPLE_SIZE=12441600, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12,
flutter: mdk.INFO: 2023-09-12 21:14:39.610696: output format: nv12, bpc:8, bpp:12(8,16), channels:(1,2), map: 0 1 2 0
flutter: mdk.INFO: 2023-09-12 21:14:39.610696: output size: 3840x2160, stride: 3840x2160
flutter: mdk.INFO: 2023-09-12 21:14:39.610696: MFT decoder is ready
flutter: fvp.FINE: 2023-09-12 21:14:39.610696: 871748931 player1465792201792 onEvent: decoder.video 0
flutter: mdk.INFO: 2023-09-12 21:14:39.611693: decode stored recovery packets: 0
flutter: mdk.INFO: 2023-09-12 21:14:39.612691: MFT_PROCESS_OUTPUT_STATUS_NEW_STREAMS
flutter: mdk.INFO: 2023-09-12 21:14:39.612691: MF_E_TRANSFORM_STREAM_CHANGE
flutter: mdk.INFO: 2023-09-12 21:14:39.612691: mdk::abi::MFTCodec::selectOutputType0
flutter: mdk.INFO: 2023-09-12 21:14:39.612691: 15 attributes: MF_MT_FRAME_SIZE=16492674418800 (3840x2160), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=3840, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_HEVC_MAIN, MF_MT_GEOMETRIC_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_PAN_SCAN_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_MINIMUM_DISPLAY_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_ORIGINAL_4CC=1129727304, MF_MT_SAMPLE_SIZE=12441600, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12,
flutter: mdk.INFO: 2023-09-12 21:14:39.612691: 15 attributes: MF_MT_FRAME_SIZE=16492674418800 (3840x2160), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=3840, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_HEVC_MAIN, MF_MT_GEOMETRIC_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_PAN_SCAN_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_MINIMUM_DISPLAY_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_ORIGINAL_4CC=1129727304, MF_MT_SAMPLE_SIZE=12441600, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_IYUV,
flutter: mdk.INFO: 2023-09-12 21:14:39.615682: selected IMFMediaType index: 0
flutter: mdk.INFO: 2023-09-12 21:14:39.615682: SetOutputType:
flutter: mdk.INFO: 2023-09-12 21:14:39.615682: 15 attributes: MF_MT_FRAME_SIZE=16492674418800 (3840x2160), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=3840, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_HEVC_MAIN, MF_MT_GEOMETRIC_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_PAN_SCAN_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_MINIMUM_DISPLAY_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_ORIGINAL_4CC=1129727304, MF_MT_SAMPLE_SIZE=12441600, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12,
flutter: mdk.INFO: 2023-09-12 21:14:39.615682: used output type:
flutter: mdk.INFO: 2023-09-12 21:14:39.615682: 0000015542C91660 15 attributes: MF_MT_FRAME_SIZE=16492674418800 (3840x2160), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=3840, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_HEVC_MAIN, MF_MT_GEOMETRIC_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_PAN_SCAN_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_MINIMUM_DISPLAY_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_ORIGINAL_4CC=1129727304, MF_MT_SAMPLE_SIZE=12441600, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12,
flutter: mdk.INFO: 2023-09-12 21:14:39.616680: output stream info: dwFlags=263, cbSize=12441600, cbAlignment=0
flutter: mdk.INFO: 2023-09-12 21:14:39.616680: onOutputTypeChanged: 15 attributes: MF_MT_FRAME_SIZE=16492674418800 (3840x2160), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=3840, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_HEVC_MAIN, MF_MT_GEOMETRIC_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_PAN_SCAN_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_MINIMUM_DISPLAY_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_ORIGINAL_4CC=1129727304, MF_MT_SAMPLE_SIZE=12441600, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12,
flutter: mdk.INFO: 2023-09-12 21:14:39.617678: output format: nv12, bpc:8, bpp:12(8,16), channels:(1,2), map: 0 1 2 0
flutter: mdk.INFO: 2023-09-12 21:14:39.617678: output size: 3840x2160, stride: 3840x2160
flutter: mdk.INFO: 2023-09-12 21:14:39.617678: video area: (0, 0), 3840x2160
flutter: mdk.INFO: 2023-09-12 21:14:39.634631: MFT_PROCESS_OUTPUT_STATUS_NEW_STREAMS
flutter: mdk.INFO: 2023-09-12 21:14:39.634631: MF_E_TRANSFORM_STREAM_CHANGE
flutter: mdk.INFO: 2023-09-12 21:14:39.634631: mdk::abi::MFTCodec::selectOutputType0
flutter: mdk.INFO: 2023-09-12 21:14:39.634631: 17 attributes: MF_MT_FRAME_SIZE=16492674418800 (3840x2160), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_TRANSFER_FUNCTION=4, MF_MT_DEFAULT_STRIDE=3840, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_HEVC_MAIN, MF_MT_GEOMETRIC_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_PAN_SCAN_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_MINIMUM_DISPLAY_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_ORIGINAL_4CC=1129727304, MF_MT_SAMPLE_SIZE=12441600, MF_MT_VIDEO_PRIMARIES=2, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12,
flutter: mdk.INFO: 2023-09-12 21:14:39.634631: 17 attributes: MF_MT_FRAME_SIZE=16492674418800 (3840x2160), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_TRANSFER_FUNCTION=4, MF_MT_DEFAULT_STRIDE=3840, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_HEVC_MAIN, MF_MT_GEOMETRIC_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_PAN_SCAN_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_MINIMUM_DISPLAY_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_ORIGINAL_4CC=1129727304, MF_MT_SAMPLE_SIZE=12441600, MF_MT_VIDEO_PRIMARIES=2, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_IYUV,
flutter: mdk.INFO: 2023-09-12 21:14:39.635629: selected IMFMediaType index: 0
flutter: mdk.INFO: 2023-09-12 21:14:39.635629: SetOutputType:
flutter: mdk.INFO: 2023-09-12 21:14:39.635629: 17 attributes: MF_MT_FRAME_SIZE=16492674418800 (3840x2160), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_TRANSFER_FUNCTION=4, MF_MT_DEFAULT_STRIDE=3840, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_HEVC_MAIN, MF_MT_GEOMETRIC_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_PAN_SCAN_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_MINIMUM_DISPLAY_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_ORIGINAL_4CC=1129727304, MF_MT_SAMPLE_SIZE=12441600, MF_MT_VIDEO_PRIMARIES=2, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12,
flutter: mdk.INFO: 2023-09-12 21:14:39.635629: used output type:
flutter: mdk.INFO: 2023-09-12 21:14:39.635629: 0000015542C91660 17 attributes: MF_MT_FRAME_SIZE=16492674418800 (3840x2160), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_TRANSFER_FUNCTION=4, MF_MT_DEFAULT_STRIDE=3840, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_HEVC_MAIN, MF_MT_GEOMETRIC_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_PAN_SCAN_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_MINIMUM_DISPLAY_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_ORIGINAL_4CC=1129727304, MF_MT_SAMPLE_SIZE=12441600, MF_MT_VIDEO_PRIMARIES=2, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12,
flutter: mdk.INFO: 2023-09-12 21:14:39.638261: output stream info: dwFlags=263, cbSize=12441600, cbAlignment=0
flutter: mdk.INFO: 2023-09-12 21:14:39.638261: onOutputTypeChanged: 17 attributes: MF_MT_FRAME_SIZE=16492674418800 (3840x2160), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_TRANSFER_FUNCTION=4, MF_MT_DEFAULT_STRIDE=3840, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_HEVC_MAIN, MF_MT_GEOMETRIC_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_PAN_SCAN_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_MINIMUM_DISPLAY_APERTURE=(16) 0 0 0 0 0 0 0 0 0 f 0 0 70 8 0 0, MF_MT_ORIGINAL_4CC=1129727304, MF_MT_SAMPLE_SIZE=12441600, MF_MT_VIDEO_PRIMARIES=2, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12,
flutter: mdk.INFO: 2023-09-12 21:14:39.638770: output format: nv12, bpc:8, bpp:12(8,16), channels:(1,2), map: 0 1 2 0
flutter: mdk.INFO: 2023-09-12 21:14:39.638770: output size: 3840x2160, stride: 3840x2160
flutter: mdk.INFO: 2023-09-12 21:14:39.638770: video area: (0, 0), 3840x2160
flutter: mdk.INFO: 2023-09-12 21:14:39.638770: Not a IMFTrackedSample
flutter: mdk.INFO: 2023-09-12 21:14:39.638770: video stream#0 sending 1 invalid AOT frame @0.042000s. seeking: 0
flutter: mdk.INFO: 2023-09-12 21:14:39.638770: 000001555BA4D780 1st video frame to render @0.042000s, sync time: 0.080000
flutter: mdk.INFO: 2023-09-12 21:14:39.638770: VideoRenderer clear buffered frames
flutter: mdk.INFO: 2023-09-12 21:14:39.638770: 0-track seek end video frame @0.042000 seek_pos_: -1
flutter: mdk.INFO: 2023-09-12 21:14:39.638770: 000001555BA4D780 1st video frame to render @0.042000s, sync time: 0.080000
flutter: mdk.INFO: 2023-09-12 21:14:39.638770: VideoRenderer WxH=3840.000000x2160.000000 3840.000000x2160.000000, frame: 3840x2160
flutter: mdk.INFO: 2023-09-12 21:14:39.638770: update transform 2d. scale: (1.000000, 1.000000), orientation: 0
flutter: mdk.INFO: 2023-09-12 21:14:39.639766: m: mat<4, 4>(
flutter: mdk.INFO: 2023-09-12 21:14:39.639766: 1  0  0  0
flutter: mdk.INFO: 2023-09-12 21:14:39.639766: 0  1  0  0
flutter: mdk.INFO: 2023-09-12 21:14:39.643257: 0  0  1  0
flutter: mdk.INFO: 2023-09-12 21:14:39.643257: 0  0  0  1
flutter: mdk.INFO: 2023-09-12 21:14:39.643257: )
flutter: mdk.INFO: 2023-09-12 21:14:39.643257: D3D11::Texture::ensureOnDevice from input.  Feature level: 0XB000, create flags: 0X800
flutter: mdk.INFO: 2023-09-12 21:14:39.643257: d3d11: 000001555BEB2B28, dxgi adapter vendor 10de, device 1c03, revision a1, NVIDIA GeForce GTX 1060 6GB.
flutter: mdk.INFO: 2023-09-12 21:14:39.643257: input D3D11_TEXTURE2D_DESC.Width: 3840, Height: 2160, MipLevels: 1, ArraySize: 1, Format: DXGI_FORMAT_NV12(103), SampleDesc{1, 0}, Usage: 0, BindFlags: 200, CPUAccessFlags: 0, MiscFlags: 2. desired bindFlags: 8, miscFlags: 0same device: 0. create a shared texture for input to copy input texture
flutter: mdk.INFO: 2023-09-12 21:14:39.643257: unknown, bpc:0, bpp:0(), channels:(), map: 0 0 0 0 => mapped nv12, bpc:8, bpp:12(8,16), channels:(1,2), map: 0 1 2 0
flutter: mdk.INFO: 2023-09-12 21:14:39.643257: dxgi format 0: DXGI_FORMAT_R8_UNORM
flutter: mdk.INFO: 2023-09-12 21:14:39.643257: dxgi format 1: DXGI_FORMAT_R8G8_UNORM
flutter: mdk.INFO: 2023-09-12 21:14:39.644254: d3d sync by fence
flutter: mdk.INFO: 2023-09-12 21:14:39.659214: frame color: bt709 gamma22 bt709 narrow. gamma: 2.200000, signal peak: 1.000000
flutter: mdk.INFO: 2023-09-12 21:14:39.659214:  -
flutter: mdk.INFO: 2023-09-12 21:14:39.659214: output color: bt709 unknown unknown full. gamma: 2.200000, signal peak: 1.000000
flutter: mdk.INFO: 2023-09-12 21:14:39.659214: rgb primaries matrix: mat<3, 3>(
flutter: mdk.INFO: 2023-09-12 21:14:39.659214: 1  0  0
flutter: mdk.INFO: 2023-09-12 21:14:39.659214: 0  1  0
flutter: mdk.INFO: 2023-09-12 21:14:39.659214: 0  0  1
flutter: mdk.INFO: 2023-09-12 21:14:39.659214: )
flutter: mdk.INFO: 2023-09-12 21:14:39.659214: color transform: mat<4, 4>(
flutter: mdk.INFO: 2023-09-12 21:14:39.659214: 1.16438  0  1.79274  -0.972945
flutter: mdk.INFO: 2023-09-12 21:14:39.659214: 1.16438  -0.213249  -0.532909  0.301483
flutter: mdk.INFO: 2023-09-12 21:14:39.659214: 1.16438  2.1124  0  -1.1334
flutter: mdk.INFO: 2023-09-12 21:14:39.659214: 0  0  0  1
flutter: mdk.INFO: 2023-09-12 21:14:39.659214: )
flutter: mdk.INFO: 2023-09-12 21:14:39.660211: EQ: mat<4, 4>(
flutter: mdk.INFO: 2023-09-12 21:14:39.660211: 1  0  0  0
flutter: mdk.INFO: 2023-09-12 21:14:39.660211: 0  1  0  0
flutter: mdk.INFO: 2023-09-12 21:14:39.660211: 0  0  1  0
flutter: mdk.INFO: 2023-09-12 21:14:39.660211: 0  0  0  1
flutter: mdk.INFO: 2023-09-12 21:14:39.660211: )
flutter: fvp.FINE: 2023-09-12 21:14:39.669187: 871748931 player1465792201792 onEvent: render.video 42
flutter: mdk.INFO: 2023-09-12 21:14:46.502887: 000001555BA4D780 void __cdecl mdk::abi::MediaControlPush::setState(enum mdk::abi::State)@969 requested state 2=>1, current state 2. status: 0X124
flutter: mdk.INFO: 2023-09-12 21:14:46.502887: default FrameReader000001555B880280 request to pause 0, loaded: 4.
flutter: mdk.INFO: 2023-09-12 21:14:46.502887: default FrameReader000001555B880280 state: 2=>2=>1, 0
flutter: mdk.INFO: 2023-09-12 21:14:46.502887: default FrameReader000001555B880280 state requested: 1, current: 2
flutter: mdk.INFO: 2023-09-12 21:14:46.502887: video stream#0 AOT frame is sent
flutter: mdk.INFO: 2023-09-12 21:14:46.502887: audio stream#1 AOT frame is sent
subtitle stream#2 AOT frame is sent
flutter: mdk.INFO: 2023-09-12 21:14:46.502887:
flutter: mdk.INFO: 2023-09-12 21:14:46.503885: default FrameReader000001555B880280 state: 2=>1=>1, 1
flutter: mdk.INFO: 2023-09-12 21:14:46.503915: default FrameReader000001555B880280 update state: 2=>1
flutter: fvp.FINE: 2023-09-12 21:14:46.503915: 871748931 player1465792201792 onPlaybackStateChanged: PlaybackState.paused => PlaybackState.playing
flutter: mdk.INFO: 2023-09-12 21:14:49.490694: [ass] fontselect: (Arial, 400, 0) -> ArialMT, 0, ArialMT
flutter: mdk.INFO: 2023-09-12 21:14:49.490694: [ass] Glyph 0x672C not found, selecting one more font for (Arial, 400, 0)
flutter: mdk.INFO: 2023-09-12 21:14:49.491692: [ass] fontselect: (Arial, 400, 0) -> MicrosoftYaHeiUI, 1, MicrosoftYaHeiUI
flutter: mdk.INFO: 2023-09-12 21:14:49.497676: channel map: mat<4, 4>(
flutter: mdk.INFO: 2023-09-12 21:14:49.497676: 1  0  0  0
flutter: mdk.INFO: 2023-09-12 21:14:49.497676: 0  1  0  0
flutter: mdk.INFO: 2023-09-12 21:14:49.497676: 0  0  1  0
flutter: mdk.INFO: 2023-09-12 21:14:49.497676: 0  0  0  1
flutter: mdk.INFO: 2023-09-12 21:14:49.497676: )
flutter: mdk.INFO: 2023-09-12 21:14:49.497676: frame format: rgba, bpc:8, bpp:32(32), channels:(4), map: 0 1 2 3
flutter: mdk.INFO: 2023-09-12 21:14:49.497676: dxgi format 0: DXGI_FORMAT_R8G8B8A8_UNORM
flutter: mdk.INFO: 2023-09-12 21:14:49.502663: frame color: invalid invalid unknown unknown. gamma: 2.200000, signal peak: 1.000000
flutter: mdk.INFO: 2023-09-12 21:14:49.502663:  -
flutter: mdk.INFO: 2023-09-12 21:14:49.502663: output color: bt709 unknown unknown full. gamma: 2.200000, signal peak: 1.000000
flutter: mdk.INFO: 2023-09-12 21:14:49.502663: rgb primaries matrix: mat<3, 3>(
flutter: mdk.INFO: 2023-09-12 21:14:49.502663: 1  -9.31323e-08  -2.98023e-08
flutter: mdk.INFO: 2023-09-12 21:14:49.502663: 1.74623e-09  1  3.72529e-09
flutter: mdk.INFO: 2023-09-12 21:14:49.502663: 3.72529e-09  1.49012e-08  1
flutter: mdk.INFO: 2023-09-12 21:14:49.503660: )
flutter: mdk.INFO: 2023-09-12 21:14:49.503660: color transform: mat<4, 4>(
flutter: mdk.INFO: 2023-09-12 21:14:49.503660: 1  0  0  0
flutter: mdk.INFO: 2023-09-12 21:14:49.503660: 0  1  0  0
flutter: mdk.INFO: 2023-09-12 21:14:49.503660: 0  0  1  0
flutter: mdk.INFO: 2023-09-12 21:14:49.503660: 0  0  0  1
flutter: mdk.INFO: 2023-09-12 21:14:49.503660: )
flutter: mdk.INFO: 2023-09-12 21:14:49.503660: EQ: mat<4, 4>(
flutter: mdk.INFO: 2023-09-12 21:14:49.503660: 1  0  0  0
flutter: mdk.INFO: 2023-09-12 21:14:49.503660: 0  1  0  0
flutter: mdk.INFO: 2023-09-12 21:14:49.503660: 0  0  1  0
flutter: mdk.INFO: 2023-09-12 21:14:49.503660: 0  0  0  1
flutter: mdk.INFO: 2023-09-12 21:14:49.503660: )
flutter: mdk.INFO: 2023-09-12 21:15:10.643841: 000001555BA4D780 void __cdecl mdk::abi::MediaControlPush::setState(enum mdk::abi::State)@969 requested state 1=>2, current state 1. status: 0X124
flutter: mdk.INFO: 2023-09-12 21:15:10.643841: default FrameReader000001555B880280 request to pause 1, loaded: 4.
flutter: mdk.INFO: 2023-09-12 21:15:10.643841: default FrameReader000001555B880280 state: 1=>1=>2, 0
flutter: mdk.INFO: 2023-09-12 21:15:10.643841: default FrameReader000001555B880280 state requested: 2, current: 1
flutter: mdk.INFO: 2023-09-12 21:15:10.646838: default FrameReader000001555B880280 state: 1=>2=>2, 1
flutter: mdk.INFO: 2023-09-12 21:15:10.646838: default FrameReader000001555B880280 update state: 1=>2
flutter: fvp.FINE: 2023-09-12 21:15:10.646838: 871748931 player1465792201792 onPlaybackStateChanged: PlaybackState.playing => PlaybackState.paused
flutter: mdk.INFO: 2023-09-12 21:15:25.458575: 000001555BA4D780 void __cdecl mdk::abi::MediaControlPush::setState(enum mdk::abi::State)@969 requested state 2=>1, current state 2. status: 0X124
flutter: mdk.INFO: 2023-09-12 21:15:25.459573: default FrameReader000001555B880280 request to pause 0, loaded: 4.
flutter: mdk.INFO: 2023-09-12 21:15:25.459573: default FrameReader000001555B880280 state: 2=>2=>1, 0
flutter: mdk.INFO: 2023-09-12 21:15:25.459573: default FrameReader000001555B880280 state requested: 1, current: 2
flutter: mdk.INFO: 2023-09-12 21:15:25.459573: default FrameReader000001555B880280 state: 2=>1=>1, 1
flutter: mdk.INFO: 2023-09-12 21:15:25.459573: default FrameReader000001555B880280 update state: 2=>1
flutter: fvp.FINE: 2023-09-12 21:15:25.459573: 871748931 player1465792201792 onPlaybackStateChanged: PlaybackState.paused => PlaybackState.playing
flutter: mdk.INFO: 2023-09-12 21:15:46.394642: 000001555BA4D780 void __cdecl mdk::abi::MediaControlPush::setState(enum mdk::abi::State)@969 requested state 1=>2, current state 1. status: 0X124
flutter: mdk.INFO: 2023-09-12 21:15:46.394642: default FrameReader000001555B880280 request to pause 1, loaded: 4.
flutter: mdk.INFO: 2023-09-12 21:15:46.395640: default FrameReader000001555B880280 state: 1=>1=>2, 0
flutter: mdk.INFO: 2023-09-12 21:15:46.395640: default FrameReader000001555B880280 state requested: 2, current: 1
flutter: mdk.INFO: 2023-09-12 21:15:46.400626: default FrameReader000001555B880280 state: 1=>2=>2, 1
flutter: mdk.INFO: 2023-09-12 21:15:46.400626: default FrameReader000001555B880280 update state: 1=>2
flutter: fvp.FINE: 2023-09-12 21:15:46.400626: 871748931 player1465792201792 onPlaybackStateChanged: PlaybackState.playing => PlaybackState.paused
wang-bin commented 1 year ago

输出错位了看不出来,加的那行你改成 assert(!!adapter_);用debug编译看运行会不会挂掉,如果没挂的话我也不知道原因了,我这边没法复现了

wang-bin commented 1 year ago

mdk用最新的

moxun33 commented 1 year ago

输出错位了看不出来,加的那行你改成 assert(!!adapter_);用debug编译看运行会不会挂掉,如果没挂的话我也不知道原因了,我这边没法复现了

debug模式没有挂掉。mdk也更新到最新的了。

wang-bin commented 1 year ago

要么你发我一份编译好的程序

moxun33 commented 1 year ago

要么你发我一份编译好的程序

这是我本地编译好的。 Release.zip

wang-bin commented 1 year ago

一个电脑上会闪,一个正常,原因不清楚,相关代码其实和老版本没任何区别

wang-bin commented 9 months ago

你试下 DXVA作为解码器 https://github.com/wang-bin/fvp/issues/68#issuecomment-1915316954

moxun33 commented 9 months ago

你试下 DXVA作为解码器 #68 (comment)

偶尔闪,只是没之前频繁了。

wang-bin commented 4 months ago

master分支已修复,不过不清楚为什么老代码没问题