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

Video filckers and become transparent for a few frames #68

Closed Bonfra04 closed 9 months ago

Bonfra04 commented 9 months ago

I'm not sure if this issue is directly caused by the FVP implementation or if it is something to do with the video player itself. I only registered with platforms Windows and, on mobile (where FVP is not active) it works fine. I'm guessing so it's an issue with FVP but correct me if I'm wrong.

Context: I'm streaming an m3u8 file (from a server that I have zero knowledge or control over) in a Flutter video player. I also tested without any fancy wrapper like Chewie and the problem persists. (anyway this is specific code I'm running).

Every time I overload the application with too many update states (like for example moving the mouse, pressing some keys or things like that) the video starts flickering. By flickering I mean that the surface where the media is rendered becomes transparent and any widget behind it is visible for some frames. This issue is not very noticeable in a light weight application. I think it's important to note that this happens only while the video is playing and not while it's paused.

Here is a video showing the thing I tried to describe above: recording-2024-01-29-00-26-28.webm Obviously now that I have to show it, it has become a lot less prominent than how it is usually but this is usually much worse.

Log

Launching lib\main.dart on Windows in debug mode...
Building Windows application...                                    10,4s
Ô£ô  Built build\windows\x64\runner\Debug\stronzflix.exe.
flutter: FINE: 2024-01-29 00:30:25.939717: registerVideoPlayerPlatformsWith: {platforms: [linux, windows]}
flutter: INFO: 2024-01-29 00:30:25.978718: 0.24.0 (git 59d22bc) - Multimedia Development Kit. Copyright (c) 2016-2024 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Windows0x0600/10.0.19045 x86_64; MSVC1937; vcruntime14.37.32822.0/msvcp140.dll; 15:39:59 Jan 28 2024

Syncing files to device Windows...                                 119ms

Flutter run key commands.
r Hot reload. ­ƒöÑ­ƒöÑ­ƒöÑ
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

A Dart VM Service on Windows is available at: http://127.0.0.1:53207/XE1yuwuWGu4=/
The Flutter DevTools debugger and profiler on Windows is available at: http://127.0.0.1:9102?uri=http://127.0.0.1:53207/XE1yuwuWGu4=/
flutter: FINE: 2024-01-29 00:30:29.237560: 622174473 player2941542125728 create(https://vixcloud.co/playlist/144386.m3u8?token=l1TF4uYCuzDeBxCTBBiDBA&token360p=&token480p=Q5yX_R96kKIXNp4FV38Ckg&token720p=uHoqeTb3Gx0Gia994_9X9A&token1080p=&expires=1711668629)
flutter: INFO: 2024-01-29 00:30:29.248530: default000002ACE1996A70 new FrameReader...
flutter: INFO: 2024-01-29 00:30:29.248530: Registered audio backends: XAudio2 DSound null 
flutter: INFO: 2024-01-29 00:30:29.249530: XAudio2_9.dll
flutter: INFO: 2024-01-29 00:30:29.249530: Build with XAudio2 from Win8+ SDK
flutter: INFO: 2024-01-29 00:30:29.249530: Try symbol 'XAudio2Create' from Windows SDK dll
flutter: INFO: 2024-01-29 00:30:29.249530: default000002ACE1086650 new FrameReader...
flutter: INFO: 2024-01-29 00:30:29.249530: Registered audio backends: XAudio2 DSound null 
flutter: INFO: 2024-01-29 00:30:29.249530: 000002ACD67D1D00__cdecl mdk::abi::Player::Player(void)
flutter: INFO: 2024-01-29 00:30:29.251533: player property: avio.protocol_whitelist = file,rtmp,http,https,tls,rtp,tcp,udp,crypto,httpproxy,data,concatf,concat,subfile
flutter: INFO: 2024-01-29 00:30:29.251533: player property: avformat.rtsp_transport = tcp
flutter: INFO: 2024-01-29 00:30:29.251533: video decoders: "MFT:d3d=11", "D3D11", "CUDA", "FFmpeg"
flutter: INFO: 2024-01-29 00:30:29.251533: video decoders: "MFT:d3d=11", "D3D11", "CUDA", "FFmpeg"
flutter: INFO: 2024-01-29 00:30:29.251533: default FrameReader000002ACE1996A70 state: 0=>0=>0, 0
flutter: INFO: 2024-01-29 00:30:29.251533: default000002ACE1996A70 void __cdecl mdk::abi::FrameReader::stop(void), current state: 0
flutter: INFO: 2024-01-29 00:30:29.251533: default FrameReader000002ACE1996A70 state: 0=>0=>0, 0
flutter: INFO: 2024-01-29 00:30:29.251533: default000002ACE1996A70 void __cdecl mdk::abi::FrameReader::stop(void), current state: 0
flutter: INFO: 2024-01-29 00:30:29.251533: 000002ACE1996040 MediaControl.prepare(0, ...) https://vixcloud.co/playlist/144386.m3u8?token=l1TF4uYCuzDeBxCTBBiDBA&token360p=&token480p=Q5yX_R96kKIXNp4FV38Ckg&token720p=uHoqeTb3Gx0Gia994_9X9A&token1080p=&expires=1711668629
flutter: INFO: 2024-01-29 00:30:29.251533: default 000002ACE1996A70 FrameReader.start(0, ...)
flutter: INFO: 2024-01-29 00:30:29.252530: default 000002ACE1996A70 FrameReader::update MediaStatus 0=>0X2
flutter: FINE: 2024-01-29 00:30:29.254530: 352667190 player2941542125728 onMediaStatus: MediaStatus(noMedia) => MediaStatus(+loading)
flutter: INFO: 2024-01-29 00:30:29.255541: default FrameReader000002ACE1996A70 state: 0=>0=>1, 0
flutter: INFO: 2024-01-29 00:30:29.255541: default FrameReader000002ACE1996A70 state: 0=>1=>1, 0
flutter: INFO: 2024-01-29 00:30:29.255541: start frame reader thread: 29940
flutter: INFO: 2024-01-29 00:30:29.255541: try to load av module: F:\stronzflix\build\windows\x64\runner\Debug\ffmpeg-6.dll
flutter: INFO: 2024-01-29 00:30:29.255541: ffmpeg loaded: F:\stronzflix\build\windows\x64\runner\Debug\ffmpeg-6.dll
flutter: INFO: 2024-01-29 00:30:29.255541: FFmpeg/Libav runtime git-2024-01-20-6c4388b-avbuild
flutter: INFO: 2024-01-29 00:30:29.255541: Selected avutil runtime version: 58.36.101 (build: 58.36.101), license: LGPL version 2.1 or later
flutter: INFO: 2024-01-29 00:30:29.255541: 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.37.32822/include -I/c/Program\ Files/Microsoft\ Visual\ Studio/2022/Enterprise/VC/Tools/MSVC/14.37.32822/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: INFO: 2024-01-29 00:30:29.256531: global option: ffmpeg.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.37.32822/include -I/c/Program\ Files/Microsoft\ Visual\ Studio/2022/Enterprise/VC/Tools/MSVC/14.37.32822/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: INFO: 2024-01-29 00:30:29.256531: global option: ffmpeg.version = 6
flutter: INFO: 2024-01-29 00:30:29.256531: av_dict_set00007FFA3C1E2790
flutter: INFO: 2024-01-29 00:30:29.256531: Selected avformat runtime version: 60.20.100 (build: 60.20.100), license: LGPL version 2.1 or later
flutter: INFO: 2024-01-29 00:30:29.256531: avformat_version00007FFA3C1D31A0
flutter: INFO: 2024-01-29 00:30:29.257531: Trying MediaIO FFmpeg for protocol "https"
flutter: INFO: 2024-01-29 00:30:29.257531: 000002ACE0E82D90 open url: https://vixcloud.co/playlist/144386.m3u8?token=l1TF4uYCuzDeBxCTBBiDBA&token360p=&token480p=Q5yX_R96kKIXNp4FV38Ckg&token720p=uHoqeTb3Gx0Gia994_9X9A&token1080p=&expires=1711668629
flutter: INFO: 2024-01-29 00:30:29.278108: FFmpeg/Libav runtime git-2024-01-20-6c4388b-avbuild
flutter: INFO: 2024-01-29 00:30:29.532246: 000002ACE0E82D90 url opened
flutter: INFO: 2024-01-29 00:30:29.532246: Selected avcodec runtime version: 60.37.100 (build: 60.37.100), license: LGPL version 2.1 or later
flutter: INFO: 2024-01-29 00:30:29.532246: avcodec_descriptor_next00007FFA3BD45430
flutter: INFO: 2024-01-29 00:30:29.533286: format adts is used for https://vixcloud.co/playlist/144386.m3u8?token=l1TF4uYCuzDeBxCTBBiDBA&token360p=&token480p=Q5yX_R96kKIXNp4FV38Ckg&token720p=uHoqeTb3Gx0Gia994_9X9A&token1080p=&expires=1711668629
flutter: INFO: 2024-01-29 00:30:29.534255: default 000002ACE1996A70 FrameReader::update MediaStatus 0X2=>0X2
flutter: INFO: 2024-01-29 00:30:29.534255: before avformat_open_input. io: 000002ACE0E82D90(FFmpeg/pb: 000002ACE1937680, url: https://vixcloud.co/playlist/144386.m3u8?token=l1TF4uYCuzDeBxCTBBiDBA&token360p=&token480p=Q5yX_R96kKIXNp4FV38Ckg&token720p=uHoqeTb3Gx0Gia994_9X9A&token1080p=&expires=1711668629
flutter: INFO: 2024-01-29 00:30:29.534255: [FFmpeg:hls] Can't support the subtitle(uri: https://vixcloud.co/playlist/144386?type=subtitle&rendition=ita-forced&token=l1TF4uYCuzDeBxCTBBiDBA&expires=1711668629)
flutter: INFO: 2024-01-29 00:30:29.534255: [FFmpeg:hls] Can't support the subtitle(uri: https://vixcloud.co/playlist/144386?type=subtitle&rendition=ita&token=l1TF4uYCuzDeBxCTBBiDBA&expires=1711668629)
flutter: INFO: 2024-01-29 00:30:29.534255: [FFmpeg:hls] Can't support the subtitle(uri: https://vixcloud.co/playlist/144386?type=subtitle&rendition=eng&token=l1TF4uYCuzDeBxCTBBiDBA&expires=1711668629)
flutter: INFO: 2024-01-29 00:30:29.535256: [FFmpeg:hls] Opening 'https://vixcloud.co/playlist/144386?type=video&rendition=720p&token=uHoqeTb3Gx0Gia994_9X9A&expires=1711668629' for reading
flutter: INFO: 2024-01-29 00:30:29.792376: [FFmpeg:hls] Skip ('#EXT-X-VERSION:3')
flutter: INFO: 2024-01-29 00:30:29.939216: [FFmpeg:https] Opening 'https://vixcloud.co/playlist/144386?type=video&rendition=480p&token=Q5yX_R96kKIXNp4FV38Ckg&expires=1711668629' for reading
flutter: INFO: 2024-01-29 00:30:30.053238: [FFmpeg:hls] Skip ('#EXT-X-VERSION:3')
flutter: INFO: 2024-01-29 00:30:30.105209: [FFmpeg:hls] Opening 'https://vixcloud.co/storage/enc.key' for reading
flutter: INFO: 2024-01-29 00:30:30.322121: [FFmpeg:hls] Opening 'crypto+https://sc-u7-01.scws-content.net/hls/190/d/fc/dfc93859-aeec-400a-8169-e92119611e37/video/720p/0000-0075.ts' for reading
flutter: INFO: 2024-01-29 00:30:31.278223: [FFmpeg:hls] Opening 'https://vixcloud.co/storage/enc.key' for reading
flutter: INFO: 2024-01-29 00:30:31.495117: [FFmpeg:hls] Opening 'crypto+https://sc-u7-01.scws-content.net/hls/190/d/fc/dfc93859-aeec-400a-8169-e92119611e37/video/480p/0000-0075.ts' for reading
flutter: INFO: 2024-01-29 00:30:32.455200: after avformat_open_input. pb: 000002ACE1937680, iformat: 00007FFA3C43C330 context flags: 2097280, input format flags: 49664
flutter: INFO: 2024-01-29 00:30:32.455200: unsupported avformat options:  rtsp_transport=tcp
flutter: INFO: 2024-01-29 00:30:32.463229: supports 204 ffmpeg sw pixel formats. unsupported: uyyvyy411 rgb8 x2rgb10be x2bgr10be p212be p212le p412be p412le gbrap14be gbrap14le
flutter: INFO: 2024-01-29 00:30:32.464225: Format: hls, range: 62 +10871337ms, bitrate: 0, size: 0
Programs:
 Program id 0
 Metadata:
  variant_bitrate: 2150000
 Video:
 track 0  stream#0, range: 83 +0ms, frames: 0
  codec: h264 tag: 0X1B profile: 100 level: 40, yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0, bitrate: 0, 1280x536, fps: 24, bframes: 2
  extra data(40): 00 00 01 67 64 00 28 AC D9 80 50 04 5F 97 01 10 00 00 03 00 10 00 00 03 03 00 F1 83 19 A0 00 00 00 01 68 E9 78 B2 C8 B0 
  Metadata:
   variant_bitrate: 2150000
 Audio:
 track 0  stream#1, range: 62 +0ms, frames: 0
  codec: aac tag: 0XF profile: 1 level: -99, sample size: 0/0, block align: 0, frame_size: 1024, f32p stereo(2) @48000Hz, bitrate: 0
  Metadata:
   variant_bitrate: 2150000
   language: und
 Program id 1
 Metadata:
  variant_bitrate: 1200000
 Video:
 track 1  stream#2, range: 83 +0ms, frames: 0
  codec: h264 tag: 0X1B profile: 100 level: 40, yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0, bitrate: 0, 854x356 par: 0.995491, fps: 24, bframes: 2
  extra data(44): 00 00 01 67 64 00 28 AC D9 80 D8 2F E6 9F FF 07 C3 07 CC 10 00 00 03 00 10 00 00 03 03 00 F1 83 19 A0 00 00 00 01 68 E9 78 B2 C8 B0 
  Metadata:
   variant_bitrate: 1200000
 Audio:
 track 1  stream#3, range: 62 +0ms, frames: 0
  codec: aac tag: 0XF profile: 1 level: -99, sample size: 0/0, block align: 0, frame_size: 1024, f32p stereo(2) @48000Hz, bitrate: 0
  Metadata:
   variant_bitrate: 1200000
   language: und

flutter: INFO: 2024-01-29 00:30:32.464225: default FrameReader000002ACE1996A70 request to pause 1, loaded: 0.
flutter: INFO: 2024-01-29 00:30:32.464225: default FrameReader000002ACE1996A70 state: 0=>1=>2, 0
flutter: INFO: 2024-01-29 00:30:32.464225: default FrameReader000002ACE1996A70 state requested: 2, current: 0
flutter: INFO: 2024-01-29 00:30:32.464225: 000002ACE1996040 prepared callback is invoked
flutter: INFO: 2024-01-29 00:30:32.477342: default 000002ACE1996A70 FrameReader::update MediaStatus 0X2=>0X4
flutter: FINE: 2024-01-29 00:30:32.477342: 352667190 player2941542125728 onMediaStatus: MediaStatus(+loading) => MediaStatus(+loaded)
flutter: INFO: 2024-01-29 00:30:32.478344: ***buffering progress 0%***
flutter: INFO: 2024-01-29 00:30:32.478344: default 000002ACE1996A70 FrameReader::update MediaStatus 0X4=>0X14
flutter: FINE: 2024-01-29 00:30:32.478344: 352667190 player2941542125728 onMediaStatus: MediaStatus(+loaded) => MediaStatus(+loaded+buffering)
flutter: INFO: 2024-01-29 00:30:32.478344: ++++++++++++BUFFERING START++++++++++++
flutter: INFO: 2024-01-29 00:30:32.478344: 
flutter: FINE: 2024-01-29 00:30:32.478344: 352667190 player2941542125728 onEvent: reader.buffering 0
flutter: INFO: 2024-01-29 00:30:32.479343: default FrameReader000002ACE1996A70 state: 0=>2=>1, 1
flutter: INFO: 2024-01-29 00:30:32.479343: default FrameReader000002ACE1996A70 update state: 0=>1
flutter: FINE: 2024-01-29 00:30:32.480343: 352667190 player2941542125728 onPlaybackStateChanged: PlaybackState.stopped => PlaybackState.playing
flutter: INFO: 2024-01-29 00:30:32.480343: default FrameReader000002ACE1996A70 state: 1=>1=>2, 1
flutter: INFO: 2024-01-29 00:30:32.480343: default FrameReader000002ACE1996A70 update state: 1=>2
flutter: FINE: 2024-01-29 00:30:32.480343: 352667190 player2941542125728 onPlaybackStateChanged: PlaybackState.playing => PlaybackState.paused
flutter: INFO: 2024-01-29 00:30:32.480343: starting decode loop thread mdk.vdec0@15520
flutter: FINE: 2024-01-29 00:30:32.480343: 352667190 player2941542125728 onEvent: thread.video 1
flutter: INFO: 2024-01-29 00:30:32.480343: video stream#0 starting decoding loop from decoder index 0...
flutter: INFO: 2024-01-29 00:30:32.481343: creating video decoder: MFT:d3d=11...
flutter: INFO: 2024-01-29 00:30:32.481343: opening video decoder: MFT...
flutter: INFO: 2024-01-29 00:30:32.481343: starting decode loop thread mdk.adec1@27744
flutter: INFO: 2024-01-29 00:30:32.481343: uninit com required for MFT: true
flutter: FINE: 2024-01-29 00:30:32.481343: 352667190 player2941542125728 onEvent: thread.audio 1
flutter: INFO: 2024-01-29 00:30:32.482343: audio stream#1 starting decoding loop from decoder index 0...
flutter: INFO: 2024-01-29 00:30:32.482343: creating audio decoder: auto...
flutter: INFO: 2024-01-29 00:30:32.482343: opening audio decoder: FFmpeg...
flutter: INFO: 2024-01-29 00:30:32.482343: opening ffmpeg audio decoder: aac ...
flutter: INFO: 2024-01-29 00:30:32.482343: 4MFT flags: 81
flutter: INFO: 2024-01-29 00:30:32.483344: AVCodec.Audio[aac.] decoder: 1 Single threads
flutter: INFO: 2024-01-29 00:30:32.483344: aac f32p, stereo @48000Hz
flutter: FINE: 2024-01-29 00:30:32.483344: 352667190 player2941542125728 onEvent: decoder.audio 0
flutter: INFO: 2024-01-29 00:30:32.483344: ***buffering progress 100%***
flutter: INFO: 2024-01-29 00:30:32.483344: default 000002ACE1996A70 FrameReader::update MediaStatus 0X14=>0X124
flutter: FINE: 2024-01-29 00:30:32.483344: 352667190 player2941542125728 onMediaStatus: MediaStatus(+loaded+buffering) => MediaStatus(+loaded+prepared+buffered)
flutter: INFO: 2024-01-29 00:30:32.483344: ++++++++++++BUFFERING END++++++++++++
flutter: INFO: 2024-01-29 00:30:32.483344: 
flutter: FINE: 2024-01-29 00:30:32.484344: 352667190 player2941542125728 onEvent: reader.buffering 100
flutter: INFO: 2024-01-29 00:30:32.484344: audio stream#1 sending 1 invalid AOT frame @0.062000s. seeking: 0
flutter: INFO: 2024-01-29 00:30:32.484344: 000002ACE1996040 1st audio frame @0.062000
flutter: INFO: 2024-01-29 00:30:32.484344: 000002ACE1996040 seek end audio frame @0.062000 seek_pos_: -1, sync_ao_ 1
flutter: INFO: 2024-01-29 00:30:32.484344: Selected avfilter runtime version: 9.17.100 (build: 9.17.100), license: LGPL version 2.1 or later
flutter: INFO: 2024-01-29 00:30:32.484344: AudioRenderer format: f32, stereo @48000Hz, requested: f32p, stereo @48000Hz
flutter: INFO: 2024-01-29 00:30:32.484344: AudioRenderer format changed and reinitialize
flutter: INFO: 2024-01-29 00:30:32.484344: __cdecl ThreadLocal<struct mdk::abi::ComInit>::Data::Data(void) thread: 27744
flutter: INFO: 2024-01-29 00:30:32.484344: struct mdk::abi::ComInit *__cdecl ThreadLocal<struct mdk::abi::ComInit>::get(void) const allocate and initialize ThreadLocal data
flutter: INFO: 2024-01-29 00:30:32.484344: 27744 uninit_com_: true
flutter: INFO: 2024-01-29 00:30:32.491343: 1 MFT class activates found
flutter: INFO: 2024-01-29 00:30:32.492345: IMFActivate[0] attributes:
flutter: INFO: 2024-01-29 00:30:32.492345: 6 attributes: MFT_FRIENDLY_NAME_Attribute=Microsoft H264 Video Decoder MFT, MFT_INPUT_TYPES_Attributes=(64)[{MFMediaType_Video,MFVideoFormat_H264},{MFMediaType_Video,MFVideoFormat_H264_ES}], MFT_TRANSFORM_CLSID_Attribute=CLSID_MSH264DecoderMFT, MFT_OUTPUT_TYPES_Attributes=(160)[{MFMediaType_Video,MFVideoFormat_NV12},{MFMediaType_Video,MFVideoFormat_YV12},{MFMediaType_Video,MFVideoFormat_IYUV},{MFMediaType_Video,MFVideoFormat_I420},{MFMediaType_Video,MFVideoFormat_YUY2}], MF_TRANSFORM_FLAGS_Attribute=1, MF_TRANSFORM_CATEGORY_Attribute=MFT_CATEGORY_VIDEO_DECODER, 
flutter: INFO: 2024-01-29 00:30:32.492345: Activating IMFActivate: Microsoft H264 Video Decoder MFT
flutter: INFO: 2024-01-29 00:30:32.492345: max supported size: 7680x4320
flutter: INFO: 2024-01-29 00:30:32.492345: dxgi adapter 0: vendor 10de, device 2504, revision a1, NVIDIA GeForce RTX 3060
flutter: INFO: 2024-01-29 00:30:32.492345: (hr = D3D11CreateDevice(adapter.Get(), adapter ? D3D_DRIVER_TYPE_UNKNOWN : D3D_DRIVER_TYPE_HARDWARE , nullptr, flags, pFls, nFls , ( 7 ), &dev, nullptr, nullptr))  ERROR@254D3D::CreateDevice11: (80070057) Parametro non corretto.
flutter: INFO: 2024-01-29 00:30:32.492345: 
flutter: INFO: 2024-01-29 00:30:32.525344: 000002ACD67D1D10 setRenderAPI(4, 0000000000000000)
flutter: INFO: 2024-01-29 00:30:32.525344: getVideoOutContext 0000000000000000 => 000002ACD679C070. vo count: 1
flutter: INFO: 2024-01-29 00:30:32.525344: 000002ACD67D1D10 setVideoSurfaceSize(1280x536, 0000000000000000)
flutter: INFO: 2024-01-29 00:30:32.526344: set d3d11 device. Feature level: 0XB000, create flags: 0
flutter: INFO: 2024-01-29 00:30:32.526344: d3d11: 000002ACE1BBF918, dxgi adapter vendor 10de, device 2504, revision a1, NVIDIA GeForce RTX 3060. 
flutter: INFO: 2024-01-29 00:30:32.526344: set d3d11 device. Feature level: 0XB000, create flags: 0
flutter: INFO: 2024-01-29 00:30:32.526344: d3d11: 000002ACE1BBF918, dxgi adapter vendor 10de, device 2504, revision a1, NVIDIA GeForce RTX 3060. 
flutter: INFO: 2024-01-29 00:30:32.535343: setLoop(0), now 0/0
flutter: INFO: 2024-01-29 00:30:32.536345: 000002ACE1996040 void __cdecl mdk::abi::MediaControlPush::setState(enum mdk::abi::State)@1048 requested state 2=>2, current state 2. status: 0X124
flutter: INFO: 2024-01-29 00:30:32.536345: default FrameReader000002ACE1996A70 request to pause 1, loaded: 4.
flutter: INFO: 2024-01-29 00:30:32.536345: default FrameReader000002ACE1996A70 state: 2=>2=>2, 0
flutter: INFO: 2024-01-29 00:30:32.536345: 000002ACE1996040 void __cdecl mdk::abi::MediaControlPush::setState(enum mdk::abi::State)@1048 requested state 2=>1, current state 2. status: 0X124
flutter: INFO: 2024-01-29 00:30:32.536345: default FrameReader000002ACE1996A70 request to pause 0, loaded: 4.
flutter: INFO: 2024-01-29 00:30:32.536345: default FrameReader000002ACE1996A70 state: 2=>2=>1, 0
flutter: INFO: 2024-01-29 00:30:32.536345: default FrameReader000002ACE1996A70 state requested: 1, current: 2
flutter: INFO: 2024-01-29 00:30:32.536345: setLoop(0), now 0/0
flutter: INFO: 2024-01-29 00:30:32.536345: 000002ACE1996040 void __cdecl mdk::abi::MediaControlPush::setState(enum mdk::abi::State)@1048 requested state 1=>1, current state 2. status: 0X124
flutter: INFO: 2024-01-29 00:30:32.537344: default FrameReader000002ACE1996A70 request to pause 0, loaded: 4.
flutter: INFO: 2024-01-29 00:30:32.537344: default FrameReader000002ACE1996A70 state: 2=>1=>1, 0
flutter: INFO: 2024-01-29 00:30:32.537344: 000002ACE1996040-MediaControl::seek(pos: 5005389, flag:0X402 +FromStart). now: 0
flutter: INFO: 2024-01-29 00:30:32.537344: default 000002ACE1996A70-FrameReader::seek(5005389, 0X402)
flutter: INFO: 2024-01-29 00:30:32.537344: default 000002ACE1996A70 FrameReader::update MediaStatus 0X124=>0X1A4
flutter: FINE: 2024-01-29 00:30:32.537344: 352667190 player2941542125728 onMediaStatus: MediaStatus(+loaded+prepared+buffered) => MediaStatus(+loaded+prepared+buffered)
flutter: INFO: 2024-01-29 00:30:32.537344: 000002ACE1996A70 default FrameReaderImpl::seekTo(5005389, 0X402 #1)
flutter: INFO: 2024-01-29 00:30:32.737362: Using audio backend: XAudio2
flutter: INFO: 2024-01-29 00:30:32.737362: 000002ACE1996040 ao opened: 1, reopen: 1, bad ao: 0
flutter: INFO: 2024-01-29 00:30:32.737362: 000002ACEC5E5058 filter graph: 
flutter: INFO: 2024-01-29 00:30:32.737362: +-----------+
|    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: INFO: 2024-01-29 00:30:32.737362: d3d11.1 device feature level: 0xb000, requested: 0xc200.
flutter: INFO: 2024-01-29 00:30:32.737362: 000002ACE1292960__cdecl mdk::abi::NativeVideoBufferPool::NativeVideoBufferPool(void)
flutter: INFO: 2024-01-29 00:30:32.737362: 000002ACE1292960->mdk::abi::D3D11NativeBufferPool::D3D11NativeBufferPool

flutter: INFO: 2024-01-29 00:30:32.737362: Selected MFT attributes:
flutter: INFO: 2024-01-29 00:30:32.738343: 12 attributes: MF_SA_D3D11_AWARE=1, CODECAPI_AVDecVideoThumbnailGenerationMode=0, CODECAPI_AVDecVideoMaxCodedWidth=7680, CODECAPI_AVDecVideoMaxCodedHeight=4320, CODECAPI_AVDecNumWorkerThreads=6, CODECAPI_AVLowLatencyMode=1, MFT_DECODER_QUALITY_MANAGEMENT_CUSTOM_CONTROL=0, {ac2c1838-1eb9-4933-85a3-cd62d1b9ec1b}=0, MFT_DECODER_QUALITY_MANAGEMENT_RECOVERY_WITHOUT_ARTIFACTS=0, MF_SA_D3D_AWARE=1, MFT_DECODER_EXPOSE_OUTPUT_TYPES_IN_NATIVE_ORDER=0, CODECAPI_AVDecVideoAcceleration_H264=1, 
flutter: INFO: 2024-01-29 00:30:32.738343: stream cout: in=1, out=1
flutter: INFO: 2024-01-29 00:30:32.738343: mdk::abi::MFTCodec::selectInputType
flutter: INFO: 2024-01-29 00:30:32.738343: 2 attributes: MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_SUBTYPE=MFVideoFormat_H264, 
flutter: INFO: 2024-01-29 00:30:32.741343: 2 attributes: MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_SUBTYPE=MFVideoFormat_H264_ES, 
flutter: INFO: 2024-01-29 00:30:32.741343: selected IMFMediaType index: 0
flutter: INFO: 2024-01-29 00:30:32.741343: SetInputType:
flutter: INFO: 2024-01-29 00:30:32.741343: 5 attributes: MF_MT_FRAME_SIZE=5497558139416 (1280x536), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_USER_DATA=(40) 0 0 1 67 64 0 28 ac d9 80 50 4 5f 97 1 10 0 0 3 0 10 0 0 3 3 0 f1 83 19 a0 0 0 0 1 68 e9 78 b2 c8 b0, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_H264, 
flutter: INFO: 2024-01-29 00:30:32.742343: used input type: 
flutter: INFO: 2024-01-29 00:30:32.742343: 10 attributes: MF_MT_FRAME_SIZE=5497558139416 (1280x536), MF_MT_COMPRESSED=1, MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=0, MF_MT_AVG_BIT_ERROR_RATE=0, MF_MT_USER_DATA=(40) 0 0 1 67 64 0 28 ac d9 80 50 4 5f 97 1 10 0 0 3 0 10 0 0 3 3 0 f1 83 19 a0 0 0 0 1 68 e9 78 b2 c8 b0, MF_MT_FIXED_SIZE_SAMPLES=0, MF_MT_ALL_SAMPLES_INDEPENDENT=0, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_H264, 
flutter: INFO: 2024-01-29 00:30:32.742343: mdk::abi::MFTCodec::selectOutputType0
flutter: INFO: 2024-01-29 00:30:32.743343: 12 attributes: MF_MT_FRAME_SIZE=5497558139416 (1280x536), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=1280, MF_MT_USER_DATA=(40) 7e 7 87 bc 8 2b 0 0 6e 4b 3f bf fa 7f 0 0 50 d9 4d c9 ac 2 0 0 b8 9b 4f c9 ac 2 0 0 0 0 0 0 0 0 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_ROTATION=0, MF_MT_FRAME_RATE=128849018881001 (30000:1001), MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_SAMPLE_SIZE=1029120, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12, 
flutter: INFO: 2024-01-29 00:30:32.743343: 12 attributes: MF_MT_FRAME_SIZE=5497558139416 (1280x536), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=1280, MF_MT_USER_DATA=(40) 7e 7 87 bc 8 2b 0 0 6e 4b 3f bf fa 7f 0 0 50 d9 4d c9 ac 2 0 0 b8 9b 4f c9 ac 2 0 0 0 0 0 0 0 0 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_ROTATION=0, MF_MT_FRAME_RATE=128849018881001 (30000:1001), MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_SAMPLE_SIZE=1029120, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_YV12, 
flutter: INFO: 2024-01-29 00:30:32.743343: 12 attributes: MF_MT_FRAME_SIZE=5497558139416 (1280x536), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=1280, MF_MT_USER_DATA=(40) 7e 7 87 bc 8 2b 0 0 6e 4b 3f bf fa 7f 0 0 50 d9 4d c9 ac 2 0 0 b8 9b 4f c9 ac 2 0 0 0 0 0 0 0 0 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_ROTATION=0, MF_MT_FRAME_RATE=128849018881001 (30000:1001), MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_SAMPLE_SIZE=1029120, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_IYUV, 
flutter: INFO: 2024-01-29 00:30:32.744342: 12 attributes: MF_MT_FRAME_SIZE=5497558139416 (1280x536), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=1280, MF_MT_USER_DATA=(40) 7e 7 87 bc 8 2b 0 0 6e 4b 3f bf fa 7f 0 0 50 d9 4d c9 ac 2 0 0 b8 9b 4f c9 ac 2 0 0 0 0 0 0 0 0 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_ROTATION=0, MF_MT_FRAME_RATE=128849018881001 (30000:1001), MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_SAMPLE_SIZE=1029120, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_I420, 
flutter: INFO: 2024-01-29 00:30:32.744342: 12 attributes: MF_MT_FRAME_SIZE=5497558139416 (1280x536), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=2560, MF_MT_USER_DATA=(40) 7e 7 87 bc 8 2b 0 0 6e 4b 3f bf fa 7f 0 0 50 d9 4d c9 ac 2 0 0 b8 9b 4f c9 ac 2 0 0 0 0 0 0 0 0 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_ROTATION=0, MF_MT_FRAME_RATE=128849018881001 (30000:1001), MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_SAMPLE_SIZE=1372160, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_YUY2, 
flutter: INFO: 2024-01-29 00:30:32.744342: selected IMFMediaType index: 0
flutter: INFO: 2024-01-29 00:30:32.744342: SetOutputType:
flutter: INFO: 2024-01-29 00:30:32.744342: 12 attributes: MF_MT_FRAME_SIZE=5497558139416 (1280x536), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=1280, MF_MT_USER_DATA=(40) 7e 7 87 bc 8 2b 0 0 6e 4b 3f bf fa 7f 0 0 50 d9 4d c9 ac 2 0 0 b8 9b 4f c9 ac 2 0 0 0 0 0 0 0 0 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_ROTATION=0, MF_MT_FRAME_RATE=128849018881001 (30000:1001), MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_SAMPLE_SIZE=1029120, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12, 
flutter: INFO: 2024-01-29 00:30:32.744342: used output type: 
flutter: INFO: 2024-01-29 00:30:32.744342: 000002ACC9501270 14 attributes: MF_MT_FRAME_SIZE=5497558139416 (1280x536), MF_MT_COMPRESSED=0, MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=1280, MF_MT_AVG_BIT_ERROR_RATE=0, MF_MT_USER_DATA=(40) 7e 7 87 bc 8 2b 0 0 6e 4b 3f bf fa 7f 0 0 50 d9 4d c9 ac 2 0 0 b8 9b 4f c9 ac 2 0 0 0 0 0 0 0 0 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_ROTATION=0, MF_MT_FRAME_RATE=128849018881001 (30000:1001), MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_SAMPLE_SIZE=1029120, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12, 
flutter: INFO: 2024-01-29 00:30:32.744342: input stream info: dwFlags=7, cbSize=4096, cbAlignment=0, hnsMaxLatency=0, cbMaxLookahead=0
flutter: INFO: 2024-01-29 00:30:32.744342: output stream info: dwFlags=263, cbSize=1372160, cbAlignment=0
flutter: INFO: 2024-01-29 00:30:32.744342: onOutputTypeChanged: 14 attributes: MF_MT_FRAME_SIZE=5497558139416 (1280x536), MF_MT_COMPRESSED=0, MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=1280, MF_MT_AVG_BIT_ERROR_RATE=0, MF_MT_USER_DATA=(40) 7e 7 87 bc 8 2b 0 0 6e 4b 3f bf fa 7f 0 0 50 d9 4d c9 ac 2 0 0 b8 9b 4f c9 ac 2 0 0 0 0 0 0 0 0 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_ROTATION=0, MF_MT_FRAME_RATE=128849018881001 (30000:1001), MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1), MF_MT_ALL_SAMPLES_INDEPENDENT=1, MF_MT_SAMPLE_SIZE=1029120, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12, 
flutter: INFO: 2024-01-29 00:30:32.745342: output format: nv12, bpc:8, bpp:12(8,16), channels:(1,2), map: 0 1 2 0
flutter: INFO: 2024-01-29 00:30:32.745342: output size: 1280x536, stride: 1280x536
flutter: INFO: 2024-01-29 00:30:32.745342: MFT decoder is ready
flutter: FINE: 2024-01-29 00:30:32.745342: 352667190 player2941542125728 onEvent: decoder.video 0
flutter: INFO: 2024-01-29 00:30:32.745342: decode stored recovery packets: 0
flutter: INFO: 2024-01-29 00:30:32.745342: MFT_PROCESS_OUTPUT_STATUS_NEW_STREAMS
flutter: INFO: 2024-01-29 00:30:32.745342: MF_E_TRANSFORM_STREAM_CHANGE. status: 0x100
flutter: INFO: 2024-01-29 00:30:32.745342: mdk::abi::MFTCodec::selectOutputType0
flutter: INFO: 2024-01-29 00:30:32.745342: 17 attributes: MF_MT_FRAME_SIZE=5497558139424 (1280x544), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=1280, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_H264, MF_MT_GEOMETRIC_APERTURE=(16) 0 0 0 0 0 0 0 0 0 5 0 0 18 2 0 0, MF_MT_PAN_SCAN_APERTURE=(16) 0 0 0 0 0 0 0 0 0 5 0 0 18 2 0 0, MF_MT_USER_DATA=(40) 3e 6 87 bc 8 2b 0 0 c8 9b 4f c9 ac 2 0 0 0 0 0 0 0 0 0 0 20 90 4f c9 ac 2 0 0 c8 9b 4f c9 ac 2 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_VIDEO_ROTATION=0, MF_MT_FRAME_RATE=128849018881001 (30000:1001), 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 5 0 0 18 2 0 0, MF_MT_SAMPLE_SIZE=1044480, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12, 
flutter: INFO: 2024-01-29 00:30:32.745342: selected IMFMediaType index: 0
flutter: INFO: 2024-01-29 00:30:32.746373: SetOutputType:
flutter: INFO: 2024-01-29 00:30:32.746373: 17 attributes: MF_MT_FRAME_SIZE=5497558139424 (1280x544), MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=1280, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_H264, MF_MT_GEOMETRIC_APERTURE=(16) 0 0 0 0 0 0 0 0 0 5 0 0 18 2 0 0, MF_MT_PAN_SCAN_APERTURE=(16) 0 0 0 0 0 0 0 0 0 5 0 0 18 2 0 0, MF_MT_USER_DATA=(40) 3e 6 87 bc 8 2b 0 0 c8 9b 4f c9 ac 2 0 0 0 0 0 0 0 0 0 0 20 90 4f c9 ac 2 0 0 c8 9b 4f c9 ac 2 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_VIDEO_ROTATION=0, MF_MT_FRAME_RATE=128849018881001 (30000:1001), 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 5 0 0 18 2 0 0, MF_MT_SAMPLE_SIZE=1044480, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12, 
flutter: INFO: 2024-01-29 00:30:32.748341: used output type: 
flutter: INFO: 2024-01-29 00:30:32.749343: 000002ACC9501210 19 attributes: MF_MT_FRAME_SIZE=5497558139424 (1280x544), MF_MT_COMPRESSED=0, MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=1280, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_H264, MF_MT_GEOMETRIC_APERTURE=(16) 0 0 0 0 0 0 0 0 0 5 0 0 18 2 0 0, MF_MT_PAN_SCAN_APERTURE=(16) 0 0 0 0 0 0 0 0 0 5 0 0 18 2 0 0, MF_MT_AVG_BIT_ERROR_RATE=0, MF_MT_USER_DATA=(40) 3e 6 87 bc 8 2b 0 0 c8 9b 4f c9 ac 2 0 0 0 0 0 0 0 0 0 0 20 90 4f c9 ac 2 0 0 c8 9b 4f c9 ac 2 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_VIDEO_ROTATION=0, MF_MT_FRAME_RATE=128849018881001 (30000:1001), 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 5 0 0 18 2 0 0, MF_MT_SAMPLE_SIZE=1044480, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12, 
flutter: INFO: 2024-01-29 00:30:32.749343: output stream info: dwFlags=263, cbSize=1392640, cbAlignment=0
flutter: INFO: 2024-01-29 00:30:32.749343: onOutputTypeChanged: 19 attributes: MF_MT_FRAME_SIZE=5497558139424 (1280x544), MF_MT_COMPRESSED=0, MF_MT_MAJOR_TYPE=MFMediaType_Video, MF_MT_DEFAULT_STRIDE=1280, MF_MT_D3D_DECODE_PROFILE_GUID=PROFILE_H264, MF_MT_GEOMETRIC_APERTURE=(16) 0 0 0 0 0 0 0 0 0 5 0 0 18 2 0 0, MF_MT_PAN_SCAN_APERTURE=(16) 0 0 0 0 0 0 0 0 0 5 0 0 18 2 0 0, MF_MT_AVG_BIT_ERROR_RATE=0, MF_MT_USER_DATA=(40) 3e 6 87 bc 8 2b 0 0 c8 9b 4f c9 ac 2 0 0 0 0 0 0 0 0 0 0 20 90 4f c9 ac 2 0 0 c8 9b 4f c9 ac 2 0 0, MF_MT_FIXED_SIZE_SAMPLES=1, MF_MT_VIDEO_NOMINAL_RANGE=2, MF_MT_VIDEO_ROTATION=0, MF_MT_FRAME_RATE=128849018881001 (30000:1001), 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 5 0 0 18 2 0 0, MF_MT_SAMPLE_SIZE=1044480, MF_MT_INTERLACE_MODE=7, MF_MT_SUBTYPE=MFVideoFormat_NV12, 
flutter: INFO: 2024-01-29 00:30:32.749343: output format: nv12, bpc:8, bpp:12(8,16), channels:(1,2), map: 0 1 2 0
flutter: INFO: 2024-01-29 00:30:32.749343: output size: 1280x544, stride: 1280x544
flutter: INFO: 2024-01-29 00:30:32.749343: video area: (0, 0), 1280x536
flutter: INFO: 2024-01-29 00:30:32.750343: >>>>>>>>1st audio frame (after seek) rendered: 1, ao: 77, a: 62, delta: 15 +0.021333
flutter: INFO: 2024-01-29 00:30:32.750343: audio stream#1 AOT frame is sent
flutter: INFO: 2024-01-29 00:30:32.750343: video stream#0 sending 1 invalid AOT frame @0.083333s. seeking: 0
flutter: INFO: 2024-01-29 00:30:32.750343: 000002ACE1996040 1st video frame to render @0.083333s, sync time: 0.083333
flutter: INFO: 2024-01-29 00:30:32.751344: VideoRenderer clear buffered frames
flutter: INFO: 2024-01-29 00:30:32.751344: 0-track seek end video frame @0.083333 seek_pos_: 5005389
flutter: INFO: 2024-01-29 00:30:32.751344: 000002ACE1996040 1st video frame to render @0.083333s, sync time: 0.083333
flutter: FINE: 2024-01-29 00:30:32.751344: 352667190 player2941542125728 onEvent: video 0
flutter: INFO: 2024-01-29 00:30:32.751344: VideoRenderer WxH=1280.000000x536.000000 1280.000000x536.000000, frame: 1280x536
flutter: INFO: 2024-01-29 00:30:32.751344: update transform 2d. scale: (1.000000, 1.000000), orientation: 0
flutter: INFO: 2024-01-29 00:30:32.751344: m: mat<4, 4>(
flutter: INFO: 2024-01-29 00:30:32.751344: 1  0  0  0  
flutter: INFO: 2024-01-29 00:30:32.751344: 0  1  0  0  
flutter: INFO: 2024-01-29 00:30:32.751344: 0  0  1  0  
flutter: INFO: 2024-01-29 00:30:32.751344: 0  0  0  1  
flutter: INFO: 2024-01-29 00:30:32.751344: )
flutter: INFO: 2024-01-29 00:30:32.751344: D3D11::Texture::ensureOnDevice from input.  Feature level: 0XB000, create flags: 0X800
flutter: INFO: 2024-01-29 00:30:32.751344: d3d11: 000002ACEC5B4858, dxgi adapter vendor 10de, device 2504, revision a1, NVIDIA GeForce RTX 3060. 
flutter: INFO: 2024-01-29 00:30:32.751344: input D3D11_TEXTURE2D_DESC.Width: 1280, Height: 544, MipLevels: 1, ArraySize: 12, Format: DXGI_FORMAT_NV12(103), SampleDesc{1, 0}, Usage: 0, BindFlags: 208, CPUAccessFlags: 0, MiscFlags: 2. desired bindFlags: 8, miscFlags: 0same device: 0. no copy, share from input texture
flutter: INFO: 2024-01-29 00:30:32.751344: 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: INFO: 2024-01-29 00:30:32.751344: dxgi format 0: DXGI_FORMAT_R8_UNORM
flutter: INFO: 2024-01-29 00:30:32.751344: dxgi format 1: DXGI_FORMAT_R8G8_UNORM
flutter: INFO: 2024-01-29 00:30:32.751344: 000002ACE1DEEF20 d3d11 sync by fence
flutter: INFO: 2024-01-29 00:30:32.752343: frame color: UNSPECIFIED UNSPECIFIED UNSPECIFIED Limited. gamma: 2.200000, signal peak: 1.000000
flutter: INFO: 2024-01-29 00:30:32.752343:  - 
flutter: INFO: 2024-01-29 00:30:32.752343: output color: BT709 UNSPECIFIED RGB Full. gamma: 2.200000, signal peak: 1.000000
flutter: INFO: 2024-01-29 00:30:32.752343: rgb primaries matrix: mat<3, 3>(
flutter: INFO: 2024-01-29 00:30:32.752343: 1  -9.31323e-08  -2.98023e-08  
flutter: INFO: 2024-01-29 00:30:32.752343: 1.74623e-09  1  3.72529e-09  
flutter: INFO: 2024-01-29 00:30:32.752343: 3.72529e-09  1.49012e-08  1  
flutter: INFO: 2024-01-29 00:30:32.752343: )
flutter: INFO: 2024-01-29 00:30:32.752343: color transform: mat<4, 4>(
flutter: INFO: 2024-01-29 00:30:32.752343: 1.16438  0  1.79274  -0.972945  
flutter: INFO: 2024-01-29 00:30:32.752343: 1.16438  -0.213249  -0.532909  0.301483  
flutter: INFO: 2024-01-29 00:30:32.752343: 1.16438  2.1124  0  -1.1334  
flutter: INFO: 2024-01-29 00:30:32.752343: 0  0  0  1  
flutter: INFO: 2024-01-29 00:30:32.753344: )
flutter: INFO: 2024-01-29 00:30:32.753344: EQ: mat<4, 4>(
flutter: INFO: 2024-01-29 00:30:32.753344: 1  0  0  0  
flutter: INFO: 2024-01-29 00:30:32.753344: 0  1  0  0  
flutter: INFO: 2024-01-29 00:30:32.753344: 0  0  1  0  
flutter: INFO: 2024-01-29 00:30:32.753344: 0  0  0  1  
flutter: INFO: 2024-01-29 00:30:32.753344: )
flutter: INFO: 2024-01-29 00:30:32.754343: 000002ACE1DEEE60 d3d11 sync by fence
flutter: INFO: 2024-01-29 00:30:32.754343: 000002ACE1DEEE60 open fence from context 000002ACE1BC0BC0 in 000002ACE1BF3F70
flutter: FINE: 2024-01-29 00:30:32.754343: 352667190 player2941542125728 onEvent: render.video 83
flutter: INFO: 2024-01-29 00:30:32.754343: video stream#0 AOT frame is sent
flutter: INFO: 2024-01-29 00:30:33.036168: seeking media's position is 5005389=====
flutter: INFO: 2024-01-29 00:30:33.121132: default FrameReader000002ACE1996A70 state: 2=>1=>1, 1
flutter: INFO: 2024-01-29 00:30:33.121132: default FrameReader000002ACE1996A70 update state: 2=>1
flutter: FINE: 2024-01-29 00:30:33.121132: 352667190 player2941542125728 onPlaybackStateChanged: PlaybackState.paused => PlaybackState.playing
flutter: INFO: 2024-01-29 00:30:33.121132: __int64 __cdecl mdk::abi::PacketIOWrapper::seek(__int64,enum mdk::abi::SeekFlag)@550 seek target(from 62): 5005389ms, flags: +FromStart. now: 2.216667
flutter: INFO: 2024-01-29 00:30:33.121132: default 000002ACE1996A70 FrameReader::update MediaStatus 0X1A4=>0X1A4
flutter: INFO: 2024-01-29 00:30:33.121132: Seek start. target time: 5005451000 avseek flags: 1
flutter: INFO: 2024-01-29 00:30:33.121132: Seek end
flutter: INFO: 2024-01-29 00:30:33.121132: 1 packets is read after seek. read more to get target pts
flutter: INFO: 2024-01-29 00:30:33.122105: [FFmpeg:hls] Opening 'crypto+https://sc-u7-01.scws-content.net/hls/190/d/fc/dfc93859-aeec-400a-8169-e92119611e37/video/720p/1250-0750.ts' for reading
flutter: INFO: 2024-01-29 00:30:33.148243: audio stream#1 is seeking #1... got flush pkt. flush decoder and  drop frames until seek target 5005.4470s...
flutter: INFO: 2024-01-29 00:30:33.148243: invalid audio frame @-1.000000
flutter: INFO: 2024-01-29 00:30:33.222503: video stream#0 is seeking #1... got flush pkt. flush decoder and  drop frames until seek target 5005.4470s...
flutter: INFO: 2024-01-29 00:30:33.223503: invalid video frame @-1.000000
flutter: INFO: 2024-01-29 00:30:33.535340: seeking media's position is 5005389=====
flutter: INFO: 2024-01-29 00:30:34.036231: seeking media's position is 5005389=====
flutter: INFO: 2024-01-29 00:30:34.535258: seeking media's position is 5005389=====
flutter: INFO: 2024-01-29 00:30:34.979324: [FFmpeg:hls] Opening 'crypto+https://sc-u7-01.scws-content.net/hls/190/d/fc/dfc93859-aeec-400a-8169-e92119611e37/video/720p/1251-0750.ts' for reading
flutter: INFO: 2024-01-29 00:30:35.035155: seeking media's position is 5005389=====
flutter: INFO: 2024-01-29 00:30:35.395298: [FFmpeg:hls] Opening 'crypto+https://sc-u7-01.scws-content.net/hls/190/d/fc/dfc93859-aeec-400a-8169-e92119611e37/video/480p/1250-0500.ts' for reading
flutter: INFO: 2024-01-29 00:30:35.535477: seeking media's position is 5005389=====
flutter: INFO: 2024-01-29 00:30:35.730046: 1 packets is read after seek. seek result pts: 5001.56s, requested: 5005451
flutter: INFO: 2024-01-29 00:30:35.731020: default 000002ACE1996A70 FrameReader::update MediaStatus 0X1A4=>0X124
flutter: FINE: 2024-01-29 00:30:35.731020: 352667190 player2941542125728 onMediaStatus: MediaStatus(+loaded+prepared+buffered) => MediaStatus(+loaded+prepared+buffered)
flutter: INFO: 2024-01-29 00:30:35.731020: seek_drop_non_video_: 5005447 ms, seek_wait_frame_: 0...
flutter: INFO: 2024-01-29 00:30:36.035986: seeking media's position is 5005389=====
flutter: INFO: 2024-01-29 00:30:36.536175: seeking media's position is 5005389=====
flutter: INFO: 2024-01-29 00:30:36.966143: [FFmpeg:hls] Opening 'crypto+https://sc-u7-01.scws-content.net/hls/190/d/fc/dfc93859-aeec-400a-8169-e92119611e37/video/480p/1251-0500.ts' for reading
flutter: INFO: 2024-01-29 00:30:37.036157: seeking media's position is 5005389=====
flutter: INFO: 2024-01-29 00:30:37.428194: #1/1 audio seek_done: 1, seek_wait_frame_: 0/1
flutter: INFO: 2024-01-29 00:30:37.429103: audio stream#1 sending 1 invalid AOT frame @5005.608666s. seeking: 0
flutter: INFO: 2024-01-29 00:30:37.429103: 000002ACE1996040 seek end audio frame @5005.608666 seek_pos_: 5005389, sync_ao_ 1
flutter: INFO: 2024-01-29 00:30:37.476103: #1/1 video seek_done: 1, seek_wait_frame_: 0/0
flutter: INFO: 2024-01-29 00:30:37.476103: video stream#0 sending 1 invalid AOT frame @5005.627355s. seeking: 0
flutter: INFO: 2024-01-29 00:30:37.476103: VideoRenderer clear buffered frames
flutter: INFO: 2024-01-29 00:30:37.476103: 0-track seek end video frame @5005.627355 seek_pos_: 5005389
flutter: INFO: 2024-01-29 00:30:37.477103: video stream#0 AOT frame is sent
flutter: INFO: 2024-01-29 00:30:37.477103: >>>>>>>>1st audio frame (after seek) rendered: 1, ao: 5005623, a: 5005608, delta: 15 +0.021333
flutter: INFO: 2024-01-29 00:30:37.477103: audio stream#1 AOT frame is sent
flutter: INFO: 2024-01-29 00:30:37.477103: ***buffering progress 16%***
flutter: INFO: 2024-01-29 00:30:37.477103: default 000002ACE1996A70 FrameReader::update MediaStatus 0X124=>0X114
flutter: FINE: 2024-01-29 00:30:37.477103: 352667190 player2941542125728 onMediaStatus: MediaStatus(+loaded+prepared+buffered) => MediaStatus(+loaded+prepared+buffering)
flutter: INFO: 2024-01-29 00:30:37.477103: ++++++++++++BUFFERING START++++++++++++
flutter: INFO: 2024-01-29 00:30:37.477103: 
flutter: FINE: 2024-01-29 00:30:37.477103: 352667190 player2941542125728 onEvent: reader.buffering 16
flutter: INFO: 2024-01-29 00:30:37.477103: seeking media's position is 5005389=====
flutter: INFO: 2024-01-29 00:30:37.508102: default FrameReader000002ACE1996A70 #1 seekComplete 5005627
flutter: INFO: 2024-01-29 00:30:37.508102: default 000002ACE1996A70 FrameReader::update MediaStatus 0X114=>0X114
flutter: INFO: 2024-01-29 00:30:37.509103: default FrameReader 000002ACE1996A70 callbacks 1, seeking: 0, seekComplete#1 @5005627
flutter: INFO: 2024-01-29 00:30:37.509103: default FrameReader 000002ACE1996A70 callbacks 0, seeking 0 flag 0, seekComplete#1 @5005627
flutter: INFO: 2024-01-29 00:30:37.517101: ***buffering progress 50%***
flutter: FINE: 2024-01-29 00:30:37.517101: 352667190 player2941542125728 onEvent: reader.buffering 50
flutter: INFO: 2024-01-29 00:30:37.593760: ***buffering progress 79%***
flutter: FINE: 2024-01-29 00:30:37.593760: 352667190 player2941542125728 onEvent: reader.buffering 79
flutter: INFO: 2024-01-29 00:30:37.679880: ***buffering progress 100%***
flutter: INFO: 2024-01-29 00:30:37.679880: default 000002ACE1996A70 FrameReader::update MediaStatus 0X114=>0X124
flutter: FINE: 2024-01-29 00:30:37.679880: 352667190 player2941542125728 onMediaStatus: MediaStatus(+loaded+prepared+buffering) => MediaStatus(+loaded+prepared+buffered)
flutter: INFO: 2024-01-29 00:30:37.679880: ++++++++++++BUFFERING END++++++++++++
flutter: INFO: 2024-01-29 00:30:37.679880: 
flutter: FINE: 2024-01-29 00:30:37.679880: 352667190 player2941542125728 onEvent: reader.buffering 100
flutter: INFO: 2024-01-29 00:30:38.501605: [FFmpeg:hls] Opening 'crypto+https://sc-u7-01.scws-content.net/hls/190/d/fc/dfc93859-aeec-400a-8169-e92119611e37/video/720p/1252-0500.ts' for reading
flutter: INFO: 2024-01-29 00:30:38.943036: [FFmpeg:hls] Opening 'crypto+https://sc-u7-01.scws-content.net/hls/190/d/fc/dfc93859-aeec-400a-8169-e92119611e37/video/480p/1252-0500.ts' for reading
flutter: INFO: 2024-01-29 00:30:41.461056: [FFmpeg:hls] Opening 'crypto+https://sc-u7-01.scws-content.net/hls/190/d/fc/dfc93859-aeec-400a-8169-e92119611e37/video/720p/1253-0500.ts' for reading
flutter: INFO: 2024-01-29 00:30:42.011750: [FFmpeg:hls] Opening 'crypto+https://sc-u7-01.scws-content.net/hls/190/d/fc/dfc93859-aeec-400a-8169-e92119611e37/video/480p/1253-0250.ts' for reading
flutter: INFO: 2024-01-29 00:30:43.780165: 000002ACD67D1D10 setVideoSurfaceSize(-1x-1, 0000000000000000)
flutter: INFO: 2024-01-29 00:30:43.780165: __cdecl mdk::abi::VideoRenderer::Private::~Private(void) @126
flutter: INFO: 2024-01-29 00:30:44.022405: 000002ACE1996040 void __cdecl mdk::abi::MediaControlPush::setState(enum mdk::abi::State)@1048 requested state 1=>0, current state 1. status: 0X124
flutter: INFO: 2024-01-29 00:30:44.023405: default FrameReader000002ACE1996A70 state: 1=>1=>0, 0
flutter: INFO: 2024-01-29 00:30:44.023405: default000002ACE1996A70 void __cdecl mdk::abi::FrameReader::stop(void), current state: 1
flutter: INFO: 2024-01-29 00:30:44.023405: 000002ACE1996A70 bool __cdecl mdk::abi::FrameReaderImpl::unload(void), current status 0x124, invalid: 0, loading: 0, loaded: 4, buffering: 0, seeking: 0, prepared: 256, EOF: 0
flutter: INFO: 2024-01-29 00:30:44.023405: 000002ACD67355D0 request avformat input interrupt
flutter: INFO: 2024-01-29 00:30:44.023405: 000002ACE0E82DB0 request to interrupt io operation
flutter: INFO: 2024-01-29 00:30:44.023405: EOS audio frame of track 0
flutter: INFO: 2024-01-29 00:30:44.023405: audio stream#1 decoding loop is finished. packets: 188, pts: [5011.859333, 5015.848667]
flutter: INFO: 2024-01-29 00:30:44.023405: __cdecl ThreadLocal<struct mdk::abi::ComInit>::Data::~Data(void) thread: 27744
flutter: INFO: 2024-01-29 00:30:44.023405: interrupted by user
flutter: INFO: 2024-01-29 00:30:44.023405: [FFmpeg:tls] Failed to send close message
flutter: INFO: 2024-01-29 00:30:44.023405: interrupted by user
flutter: INFO: 2024-01-29 00:30:44.023405: [FFmpeg:tls] Failed to send close message
flutter: INFO: 2024-01-29 00:30:44.023405: interrupted by user
flutter: INFO: 2024-01-29 00:30:44.023405: [FFmpeg:tls] Failed to send close message
flutter: INFO: 2024-01-29 00:30:44.023405: free custome avio: 000002ACE1937680
flutter: INFO: 2024-01-29 00:30:44.023405: 
flutter: INFO: 2024-01-29 00:30:44.023405: 000002ACE0E82D90 close url: https://vixcloud.co/playlist/144386.m3u8?token=l1TF4uYCuzDeBxCTBBiDBA&token360p=&token480p=Q5yX_R96kKIXNp4FV38Ckg&token720p=uHoqeTb3Gx0Gia994_9X9A&token1080p=&expires=1711668629
flutter: INFO: 2024-01-29 00:30:44.023405: 29940default 000002ACE1996A70 bool __cdecl mdk::abi::FrameReader::update(enum mdk::abi::MediaStatus) @1107: reset status_mask. status: 121
flutter: INFO: 2024-01-29 00:30:44.023405: default 000002ACE1996A70 FrameReader::update MediaStatus 0X124=>0X1
flutter: INFO: 2024-01-29 00:30:44.023405: stop by user. clear packet queues and send eof packets for each thread...
flutter: INFO: 2024-01-29 00:30:44.023405: FrameReader@000002ACE1996A70 sending Packet::End to all packet queues. PacketIO@000002ACD68CDB80 ->url: https://vixcloud.co/playlist/144386.m3u8?token=l1TF4uYCuzDeBxCTBBiDBA&token360p=&token480p=Q5yX_R96kKIXNp4FV38Ckg&token720p=uHoqeTb3Gx0Gia994_9X9A&token1080p=&expires=1711668629
flutter: INFO: 2024-01-29 00:30:44.024405: clear packet queue for stream 0
flutter: INFO: 2024-01-29 00:30:44.024405: clear packet queue for stream 1
flutter: INFO: 2024-01-29 00:30:44.024405: before changed() 1
flutter: INFO: 2024-01-29 00:30:44.024405: default FrameReader000002ACE1996A70 state: 1=>0=>0, 0
flutter: INFO: 2024-01-29 00:30:44.024405: 000002ACE1996A70 bool __cdecl mdk::abi::FrameReaderImpl::unload(void), current status 0x1, invalid: 0, loading: 0, loaded: 0, buffering: 0, seeking: 0, prepared: 0, EOF: 0
flutter: INFO: 2024-01-29 00:30:44.025405: 000002ACD67D1D00__cdecl mdk::abi::Player::~Player(void)64
flutter: INFO: 2024-01-29 00:30:44.025405: setNext from -1 url:
flutter: INFO: 2024-01-29 00:30:44.026407: default FrameReader000002ACE1996A70 state: 1=>0=>0, 0
flutter: INFO: 2024-01-29 00:30:44.026407: default000002ACE1996A70 void __cdecl mdk::abi::FrameReader::stop(void), current state: 1
flutter: INFO: 2024-01-29 00:30:44.026407: default FrameReader000002ACE1996A70 state: 1=>0=>0, 0
flutter: INFO: 2024-01-29 00:30:44.026407: default000002ACE1996A70 void __cdecl mdk::abi::FrameReader::stop(void), current state: 1
flutter: INFO: 2024-01-29 00:30:44.026407: __cdecl mdk::abi::MediaPlayer::Private::~Private(void)
flutter: INFO: 2024-01-29 00:30:44.026407: 000002ACE1996040 void __cdecl mdk::abi::MediaControlPush::setState(enum mdk::abi::State)@1048 requested state 0=>0, current state 1. status: 0X1
flutter: INFO: 2024-01-29 00:30:44.026407: default FrameReader000002ACE1996A70 state: 1=>0=>0, 0
flutter: INFO: 2024-01-29 00:30:44.026407: default000002ACE1996A70 void __cdecl mdk::abi::FrameReader::stop(void), current state: 1
flutter: INFO: 2024-01-29 00:30:44.026407: 000002ACE1292960->mdk::abi::D3D11NativeBufferPool::~D3D11NativeBufferPool

flutter: INFO: 2024-01-29 00:30:44.027405: 000002ACE1292C10__cdecl UGL::opengl::Context::Local<struct mdk::abi::D3D11NativeBufferPool::ctx_res_t,struct mdk::abi::D3D11NativeBufferPool::ctx_res_t>::~Local(void)0000000000000000 count: 0
flutter: INFO: 2024-01-29 00:30:44.027405: 000002ACE1292960 __cdecl mdk::abi::NativeVideoBufferPool::~NativeVideoBufferPool(void)
flutter: INFO: 2024-01-29 00:30:44.027405: EOS video frame of track 0
flutter: INFO: 2024-01-29 00:30:44.027405: video stream#0 decoding loop is finished. packets: 2, pts: [0.000000, 0.000000]
flutter: INFO: 2024-01-29 00:30:44.027405: default FrameReader000002ACE1996A70 state: 1=>0=>0, 1
flutter: INFO: 2024-01-29 00:30:44.027405: default FrameReader000002ACE1996A70 update state: 1=>0
flutter: INFO: 2024-01-29 00:30:44.027405: default000002ACE1996A70 deleting FrameReader...
flutter: INFO: 2024-01-29 00:30:44.027405: 000002ACE1998560 void __cdecl mdk::abi::MediaControlPush::setState(enum mdk::abi::State)@1048 requested state 0=>0, current state 0. status: 0
flutter: INFO: 2024-01-29 00:30:44.028406: default000002ACE1086650 deleting FrameReader...
flutter: INFO: 2024-01-29 00:30:44.028406: player is destroyed 
flutter: INFO: 2024-01-29 00:30:44.028406: __cdecl mdk::abi::VideoRenderer::Private::~Private(void) @126
Lost connection to device.
wang-bin commented 9 months ago

Can you try to adding an environment var D3D11_ZERO_COPY=0 and run again? I tried to improve performance recently, but not perfect for some gpus.

Bonfra04 commented 9 months ago

I added the variable both to Windows system-wide env variables and directly passed it to to flutter with --dart-define=D3D11_ZERO_COPY=0 but the issue persists.

Anyway, I forgot to mention that all the tests I've run were on an Nvidia RTX 3060 and an Nvidia RTX 3050 Mobile.

wang-bin commented 9 months ago

same as #7 . I will test RTX 3050 Mobile

Bonfra04 commented 9 months ago

I tried to read it with google translate so excuse me if I misunderstood something, but it appears that the problem there is random squares of content missing or not being rendered? Here is the full frame going missing (and the stream is in 720p in my case)

Bonfra04 commented 9 months ago

So... I continued playing around with parameters and things and I noticed that if I set the video.decoders's first entry to DXVA (I think it takes precedence 'cause it's first) It does solve the issue. I had to also insert FFmpeg as a second entry in the list to correctly support linux too but it doesn't count since FFmpeg doesn't work on windows. Basically i tried every single decoder and this one seems to be the only one that works.

registerWith(options: {'platforms': [ 'linux', 'windows' ], 'video.decoders': [ 'DXVA', 'FFmpeg' ]});

In my specific case, the issue can be considered closed with the fix being: "use DXVA as video decoder under windows" but in general all other decoders appear to have the flickering problem. If you believe more tests are to be performed to better examine this thing please tell me if I can help, otherwise close the issue :)

wang-bin commented 9 months ago

try fvp 0.14.0

Bonfra04 commented 9 months ago

Sorry for the late response, nope the video stays completely dark and doesn't even start playing with version 0.14.0. I tried both with and without overriding the custom encoders and the D3D11_ZERO_COPY env variable. So in a way it's behaving worse than the previous version :(

wang-bin commented 9 months ago

i need your log

wang-bin commented 4 months ago

should be fixed in master branch