Closed abdelaziz-mahdy closed 3 months ago
thats another crash logs, same steps
flutter: FVP fvp.FINE: 18:04:14.446: registerVideoPlayerPlatformsWith: {platforms: [windows, linux, macos, android], player: {buffer: 2000+60000, demux.buffer.ranges: 8, demux.buffer.protocols: file,http,https}}
flutter: FVP mdk.INFO: 18:04:14.836: 0.29.0 (git 0a3bd27) - Multimedia Development Kit. Copyright (c) 2016-2024 WangBin(QtAV author) <wbsecg1 at gmail.com>
flutter: FVP fvp.FINE: 18:04:21.976: 864706595 player4964935936 create(https://82psw98llfa.pradoi.com/hls2/01/04637/cbuywjhu6l9i_,n,h,x,.urlset/index-f3-v1-a1.m3u8?t=iC2wl71Oo0_kXKuSicj8KMgZrcY1A5eLNatP2Qq86d0&s=1723496659&e=129600&f=23186966&srv=xhisossxof6ziadr&i=0.0&sp=500&p1=xhisossxof6ziadr&p2=xhisossxof6ziadr&asn=11260)
flutter: FVP mdk.FINE: 18:04:22.043: default 0x127eeabd0 new FrameReader...
flutter: FVP mdk.FINE: 18:04:22.043: Registered audio backends: AudioQueue OpenAL null
flutter: FVP mdk.FINE: 18:04:22.043: default 0x127ef50d0 new FrameReader...
flutter: FVP mdk.FINE: 18:04:22.043: Registered audio backends: AudioQueue OpenAL null
flutter: FVP mdk.FINE: 18:04:22.043: 0x127eefd70 player.Player()
flutter: FVP mdk.FINE: 18:04:22.043: 0x127eefd70 player.onEvent(1, 0x16dc71240)
flutter: FVP mdk.FINE: 18:04:22.043: 0x127eefd70 player.onStateChanged(1)
flutter: FVP mdk.FINE: 18:04:22.043: 0x127eefd70 player.onMediaStatus(1)
flutter: FVP mdk.FINE: 18:04:22.043: 0x127eefd70 player property: video.decoder = shader_resource=0
flutter: FVP mdk.FINE: 18:04:22.043: 0x127eefd70 player property: avformat.strict = experimental
flutter: FVP mdk.FINE: 18:04:22.043: 0x127eefd70 player property: avio.reconnect = 1
flutter: FVP mdk.FINE: 18:04:22.043: 0x127eefd70 player property: avio.reconnect_delay_max = 7
flutter: FVP mdk.FINE: 18:04:22.043: 0x127eefd70 player property: avio.protocol_whitelist = file,rtmp,http,https,tls,rtp,tcp,udp,crypto,httpproxy,data,concatf,concat,subfile
flutter: FVP mdk.FINE: 18:04:22.043: 0x127eefd70 player property: avformat.rtsp_transport = tcp
flutter: FVP mdk.FINE: 18:04:22.043: 0x127eefd70 player property: buffer = 2000+60000
flutter: FVP mdk.FINE: 18:04:22.043: 0x127eefd70 player.setBufferRange(2000, 60000, 0)
flutter: FVP mdk.FINE: 18:04:22.043: 0x127eefd70 player property: demux.buffer.ranges = 8
flutter: FVP mdk.FINE: 18:04:22.043: 0x127eefd70 player property: demux.buffer.protocols = file,http,https
flutter: FVP mdk.FINE: 18:04:22.043: 0x127eefd70 player.setDecoders(video, [VT, FFmpeg])
flutter: FVP mdk.FINE: 18:04:22.043: video decoders: "VT", "FFmpeg"
flutter: FVP mdk.FINE: 18:04:22.043: video decoders: "VT", "FFmpeg"
flutter: FVP mdk.FINE: 18:04:22.043: 0x127eefd70 player property: avio.headers = Accept: */*
flutter: FVP mdk.FINE: 18:04:22.043: 0x127eefd70 player.setMedia(https://82psw98llfa.pradoi.com/hls2/01/04637/cbuywjhu6l9i_,n,h,x,.urlset/index-f3-v1-a1.m3u8?t=iC2wl71Oo0_kXKuSicj8KMgZrcY1A5eLNatP2Qq86d0&s=1723496659&e=129600&f=23186966&srv=xhisossxof6ziadr&i=0.0&sp=500&p1=xhisossxof6ziadr&p2=xhisossxof6ziadr&asn=11260)
flutter: FVP mdk.FINE: 18:04:22.043: default FrameReader0x127eeabd0 state: 0=>0=>0, 0
flutter: FVP mdk.INFO: 18:04:22.044: default0x127eeabd0 stop, current state: 0
flutter: FVP mdk.FINE: 18:04:22.044: AudioQueueStart ERROR: 0
flutter: FVP mdk.FINE: 18:04:22.044: default FrameReader0x127eeabd0 state: 0=>0=>0, 0
flutter: FVP mdk.INFO: 18:04:22.044: default0x127eeabd0 stop, current state: 0
flutter: FVP mdk.FINE: 18:04:22.044: 0x127eefd70 player.prepare(0, ..., 1282)
flutter: FVP mdk.FINE: 18:04:22.044: AudioQueueStart ERROR: 0
flutter: FVP mdk.INFO: 18:04:22.044: 0x128698800 MediaControl.prepare(0, ...) https://82psw98llfa.pradoi.com/hls2/01/04637/cbuywjhu6l9i_,n,h,x,.urlset/index-f3-v1-a1.m3u8?t=iC2wl71Oo0_kXKuSicj8KMgZrcY1A5eLNatP2Qq86d0&s=1723496659&e=129600&f=23186966&srv=xhisossxof6ziadr&i=0.0&sp=500&p1=xhisossxof6ziadr&p2=xhisossxof6ziadr&asn=11260
flutter: FVP mdk.FINE: 18:04:22.044: default 0x127eeabd0 FrameReader.start(0, ...)
flutter: FVP mdk.FINE: 18:04:22.044: default 0x127eeabd0 FrameReader::update MediaStatus 0=>0X2
flutter: FVP fvp.FINE: 18:04:22.045: 90156322 player4964935936 onMediaStatus: MediaStatus(noMedia) => MediaStatus(+loading)
flutter: FVP mdk.FINE: 18:04:22.046: default FrameReader0x127eeabd0 state: 0=>0=>1, 0
flutter: FVP mdk.FINE: 18:04:22.046: default FrameReader0x127eeabd0 state: 0=>1=>1, 0
flutter: FVP mdk.FINE: 18:04:22.046: default FrameReader0x127eeabd0 request to pause 1, loaded: 0.
flutter: FVP mdk.FINE: 18:04:22.046: default FrameReader0x127eeabd0 state: 0=>1=>2, 0
flutter: FVP mdk.FINE: 18:04:22.046: default FrameReader0x127eeabd0 state requested: 2, current: 0
flutter: FVP mdk.FINE: 18:04:22.046: virtual void mdk::AudioBackendAudioQueue::pause(bool)138 ERROR>>> AudioQueuePause(queue_): -50
flutter: FVP mdk.FINE: 18:04:22.046:
flutter: FVP mdk.FINE: 18:04:22.046: start frame reader thread: 0x306307000
flutter: FVP mdk.FINE: 18:04:22.046: FFmpeg/Libav runtime git-2024-07-09-9fb8d13-avbuild
flutter: FVP mdk.FINE: 18:04:22.046: Selected avutil runtime version: 59.28.100 (build: 59.28.100), license: LGPL version 2.1 or later
flutter: FVP mdk.FINE: 18:04:22.046: Selected avutil runtime configuration: --extra-version=avbuild --disable-doc --disable-debug --disable-static --enable-shared --enable-runtime-cpudetect --disable-iamf --disable-vulkan --enable-libxml2 --disable-libxcb --disable-xlib --disable-postproc --enable-cross-compile --arch=arm64 --target-os=darwin --install_name_dir='@rpath' --cc=clang --enable-lto --enable-pic --extra-cflags='-I=/usr/include/libxml2 -arch arm64 -mmacosx-version-min=11.0' --extra-ldflags='-arch arm64 -mmacosx-version-min=11.0 -Wl,-dead_strip -Wl,-rpath,@loader_path -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,@loader_path/Libraries -Wl,-rpath,@loader_path/../lib' --enable-small --disable-outdevs --disable-filters --disable-muxers --disable-encoders --disable-decoders --disable-demuxers --disable-protocols --enable-decoder='*sub*,movtext,*web*,aac*,ac3*,eac3*,alac*,ape,ass,ccaption,cfhd,cook,dca,dnxhd,exr,truehd,*yuv*,flv,flac,gif,h26[3-4]*,hevc*,hap,mp[1-3]*,prores,*[mj]peg*,mlp,mpl2,nellymoser,opus,pcm*,qtrle,*png*,tiff,rawvideo,rv*,sami,srt,ssa,v210*,vc1*,vorbis,vp[6-9]*,wm*,wrapped_avframe,av1*,ffv*' --enable-demuxer='*sub*,*ac3,*ac,*[mj]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='*_at,aac,gif,h26[3-4]*,av1*,hevc*,mjpeg*,*png,opus,pcm*,prores*,rawvideo,spdif,speedhq,*jpeg,*png,vp[8-9]*,wrapped_avframe,ff*,*nvenc,*qsv,*v4l2m2m,*vaapi,vorbis,*yuv*' --enable-muxer='*jpeg,fifo,flv,gif,hls,h264,hevc,image2,mov,mp4,mpegts,matroska,null,pcm*,rawvideo,spdif,*pipe,*segment,webm,wav,dash,nu*,og*' --enable-filter='*null*,afade,*fifo,*format,*resample,aeval,atempo,pan,crop,eq*,framerate,hw*,scale,volume,allrgb,allyuv,*bars,color,test*,*key,draw*,*_qsv,*_vaapi,*v4l2*' --enable-protocol='cache,concat*,crypto*,data,fd,*file,ftp,h*,i*,pipe,rt*,s*,t*,u*'
flutter: FVP mdk.FINE: 18:04:22.046: global option: ffmpeg.configuration = --extra-version=avbuild --disable-doc --disable-debug --disable-static --enable-shared --enable-runtime-cpudetect --disable-iamf --disable-vulkan --enable-libxml2 --disable-libxcb --disable-xlib --disable-postproc --enable-cross-compile --arch=arm64 --target-os=darwin --install_name_dir='@rpath' --cc=clang --enable-lto --enable-pic --extra-cflags='-I=/usr/include/libxml2 -arch arm64 -mmacosx-version-min=11.0' --extra-ldflags='-arch arm64 -mmacosx-version-min=11.0 -Wl,-dead_strip -Wl,-rpath,@loader_path -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,@loader_path/Libraries -Wl,-rpath,@loader_path/../lib' --enable-small --disable-outdevs --disable-filters --disable-muxers --disable-encoders --disable-decoders --disable-demuxers --disable-protocols --enable-decoder='*sub*,movtext,*web*,aac*,ac3*,eac3*,alac*,ape,ass,ccaption,cfhd,cook,dca,dnxhd,exr,truehd,*yuv*,flv,flac,gif,h26[3-4]*,hevc*,hap,mp[1-3]*,prores,*[mj]peg*,mlp,mpl2,nellymoser,opus,pcm*,qtrle,*png*,tiff,rawvideo,rv*,sami,srt,ssa,v210*,vc1*,vorbis,vp[6-9]*,wm*,wrapped_avframe,av1*,ffv*' --enable-demuxer='*sub*,*ac3,*ac,*[mj]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='*_at,aac,gif,h26[3-4]*,av1*,hevc*,mjpeg*,*png,opus,pcm*,prores*,rawvideo,spdif,speedhq,*jpeg,*png,vp[8-9]*,wrapped_avframe,ff*,*nvenc,*qsv,*v4l2m2m,*vaapi,vorbis,*yuv*' --enable-muxer='*jpeg,fifo,flv,gif,hls,h264,hevc,image2,mov,mp4,mpegts,matroska,null,pcm*,rawvideo,spdif,*pipe,*segment,webm,wav,dash,nu*,og*' --enable-filter='*null*,afade,*fifo,*format,*resample,aeval,atempo,pan,crop,eq*,framerate,hw*,scale,volume,allrgb,allyuv,*bars,color,test*,*key,draw*,*_qsv,*_vaapi,*v4l2*' --enable-protocol='cache,concat*,crypto*,data,fd,*file,ftp,h*,i*,pipe,rt*,s*,t*,u*'
flutter: FVP mdk.FINE: 18:04:22.046: global option: ffmpeg.version = 7
flutter: FVP mdk.FINE: 18:04:22.046: av_dict_set0x109236e44
flutter: FVP mdk.FINE: 18:04:22.046: Selected avformat runtime version: 61.5.101 (build: 61.5.101), license: LGPL version 2.1 or later
flutter: FVP mdk.FINE: 18:04:22.046: avformat_version0x10917b854
flutter: FVP mdk.FINE: 18:04:22.046: Trying MediaIO FFmpeg
flutter: FVP mdk.FINE: 18:04:22.047: 0x17a861d60 open url:
flutter: FVP mdk.FINE: 18:04:22.047: FFmpeg/Libav runtime git-2024-07-09-9fb8d13-avbuild
flutter: FVP mdk.FINE: 18:04:23.846: 0x17a861d60 url opened
flutter: FVP mdk.FINE: 18:04:23.846: Selected avcodec runtime version: 61.10.100 (build: 61.10.100), license: LGPL version 2.1 or later
flutter: FVP mdk.FINE: 18:04:23.846: avcodec_descriptor_next0x108f92aac
flutter: FVP mdk.FINE: 18:04:23.848: format adts is used for https://82psw98llfa.pradoi.com/hls2/01/04637/cbuywjhu6l9i_,n,h,x,.urlset/index-f3-v1-a1.m3u8?t=iC2wl71Oo0_kXKuSicj8KMgZrcY1A5eLNatP2Qq86d0&s=1723496659&e=129600&f=23186966&srv=xhisossxof6ziadr&i=0.0&sp=500&p1=xhisossxof6ziadr&p2=xhisossxof6ziadr&asn=11260
flutter: FVP mdk.FINE: 18:04:23.849: default 0x127eeabd0 FrameReader::update MediaStatus 0X2=>0X2
flutter: FVP mdk.FINE: 18:04:23.849: 0x129054270 avio set class
flutter: FVP mdk.FINE: 18:04:23.849: before avformat_open_input. io: 0x17a861d60(FFmpeg)/pb: 0x129054270, url: https://82psw98llfa.pradoi.com/hls2/01/04637/cbuywjhu6l9i_,n,h,x,.urlset/index-f3-v1-a1.m3u8?t=iC2wl71Oo0_kXKuSicj8KMgZrcY1A5eLNatP2Qq86d0&s=1723496659&e=129600&f=23186966&srv=xhisossxof6ziadr&i=0.0&sp=500&p1=xhisossxof6ziadr&p2=xhisossxof6ziadr&asn=11260
flutter: FVP mdk.FINE: 18:04:23.849: [FFmpeg:hls] Skip ('#EXT-X-ALLOW-CACHE:YES')
flutter: FVP mdk.FINE: 18:04:23.849: [FFmpeg:hls] Skip ('#EXT-X-VERSION:3')
flutter: FVP mdk.FINE: 18:04:24.001: [FFmpeg:hls] Opening 'https://82psw98llfa.pradoi.com/hls2/01/04637/cbuywjhu6l9i_,n,h,x,.urlset/seg-1-f3-v1-a1.ts?t=iC2wl71Oo0_kXKuSicj8KMgZrcY1A5eLNatP2Qq86d0&s=1723496659&e=129600&f=23186966&srv=xhisossxof6ziadr&i=0.0&sp=500&p1=xhisossxof6ziadr&p2=xhisossxof6ziadr&asn=11260' for reading
flutter: FVP mdk.FINE: 18:04:25.635: [FFmpeg:hls] Opening 'https://82psw98llfa.pradoi.com/hls2/01/04637/cbuywjhu6l9i_,n,h,x,.urlset/seg-2-f3-v1-a1.ts?t=iC2wl71Oo0_kXKuSicj8KMgZrcY1A5eLNatP2Qq86d0&s=1723496659&e=129600&f=23186966&srv=xhisossxof6ziadr&i=0.0&sp=500&p1=xhisossxof6ziadr&p2=xhisossxof6ziadr&asn=11260' for reading
flutter: FVP mdk.FINE: 18:04:27.291: after avformat_open_input. pb: 0x129054270, iformat: 0x1094c10c0, context flags: 2097280, input format flags: 49664
flutter: FVP mdk.FINE: 18:04:27.297: unsupported avformat options: headers=Accept: */*
flutter: FVP mdk.FINE: 18:04:27.298: supports 208 ffmpeg sw pixel formats. unsupported: uyyvyy411 rgb8 x2rgb10be x2bgr10be gbrap14be gbrap14le
flutter: FVP mdk.FINE: 18:04:27.298: Unsupported stream type: data, codec: timed_id3
flutter: FVP mdk.INFO: 18:04:27.298: Format: hls, range: 101 +1425055ms, bitrate: 0, size: 0
flutter: FVP mdk.FINE: 18:04:27.298: 0x128698800 prepared callback is invoked
flutter: FVP mdk.FINE: 18:04:27.313: default 0x127eeabd0 FrameReader::update MediaStatus 0X2=>0X4
flutter: FVP fvp.FINE: 18:04:27.313: 90156322 player4964935936 onMediaStatus: MediaStatus(+loading) => MediaStatus(+loaded)
flutter: FVP mdk.INFO: 18:04:27.313: ***buffering progress 0%***
flutter: FVP mdk.FINE: 18:04:27.313: default 0x127eeabd0 FrameReader::update MediaStatus 0X4=>0X14
flutter: FVP mdk.FINE: 18:04:27.313: virtual void mdk::AudioBackendAudioQueue::pause(bool)138 ERROR>>> AudioQueuePause(queue_): -50
flutter: FVP mdk.FINE: 18:04:27.313:
flutter: FVP fvp.FINE: 18:04:27.313: 90156322 player4964935936 onMediaStatus: MediaStatus(+loaded) => MediaStatus(+loaded+buffering)
flutter: FVP mdk.INFO: 18:04:27.313: ++++++++++++BUFFERING START++++++++++++
flutter: FVP mdk.FINE: 18:04:27.313:
flutter: FVP fvp.FINE: 18:04:27.314: 90156322 player4964935936 onEvent: reader.buffering - - 0
flutter: FVP mdk.FINE: 18:04:27.314: 0x1290b1f50 cache: find stream seek result in ranges
flutter: FVP mdk.FINE: 18:04:27.315: 0x1290b1f50 cache: ranges 0/8:
flutter: FVP mdk.FINE: 18:04:27.315: 0x1290b1f50 cache: new range from video@0.101000
flutter: FVP mdk.FINE: 18:04:27.315: 0x1290b1f50 cache: ranges 1/8: [0.101000, 0.101000], current: [0.101000, 0.101000]
flutter: FVP fvp.FINE: 18:04:27.315: 90156322 player4964935936 onEvent: cache.ranges - - 1
flutter: FVP mdk.FINE: 18:04:27.315: default FrameReader0x127eeabd0 state: 0=>2=>1, 1
flutter: FVP mdk.FINE: 18:04:27.315: default FrameReader0x127eeabd0 update state: 0=>1
flutter: FVP fvp.FINE: 18:04:27.315: 90156322 player4964935936 onPlaybackStateChanged: PlaybackState.stopped => PlaybackState.playing
flutter: FVP mdk.FINE: 18:04:27.315: default FrameReader0x127eeabd0 state: 1=>1=>2, 1
flutter: FVP mdk.FINE: 18:04:27.316: default FrameReader0x127eeabd0 update state: 1=>2
flutter: FVP fvp.FINE: 18:04:27.316: 90156322 player4964935936 onPlaybackStateChanged: PlaybackState.playing => PlaybackState.paused
flutter: FVP mdk.FINE: 18:04:27.316: starting decode loop thread mdk.vdec0@0x17ce9b000
flutter: FVP fvp.FINE: 18:04:27.316: 90156322 player4964935936 onEvent: thread.video - - 1
flutter: FVP mdk.FINE: 18:04:27.316: video stream#0 starting decoding loop from decoder index 0...
flutter: FVP mdk.FINE: 18:04:27.316: creating video decoder: VT...
flutter: FVP mdk.FINE: 18:04:27.316: 0x127fdba68mdk::NativeVideoBufferPool::NativeVideoBufferPool()
flutter: FVP mdk.FINE: 18:04:27.316: Try to use IOSurface OpenGL(ES) interop: true
flutter: FVP mdk.INFO: 18:04:27.316: opening video decoder: VT...
flutter: FVP mdk.FINE: 18:04:27.316: starting decode loop thread mdk.adec1@0x17cf27000
flutter: FVP fvp.FINE: 18:04:27.316: 90156322 player4964935936 onEvent: thread.audio - - 1
flutter: FVP mdk.FINE: 18:04:27.316: audio stream#1 starting decoding loop from decoder index 0...
flutter: FVP mdk.FINE: 18:04:27.316: creating audio decoder: auto...
flutter: FVP mdk.INFO: 18:04:27.316: opening audio decoder: FFmpeg...
flutter: FVP mdk.FINE: 18:04:27.316: opening ffmpeg audio decoder: aac
flutter: FVP mdk.FINE: 18:04:27.316: AVCodec.Audio[aac.] decoder: 1 Single threads
flutter: FVP mdk.FINE: 18:04:27.316: aac f32p, stereo @44100Hz
flutter: FVP fvp.FINE: 18:04:27.316: 90156322 player4964935936 onEvent: decoder.audio - FFmpeg - 0
flutter: FVP mdk.INFO: 18:04:27.316: ***buffering progress 32%***
flutter: FVP fvp.FINE: 18:04:27.316: 90156322 player4964935936 onEvent: reader.buffering - - 32
flutter: FVP mdk.FINE: 18:04:27.316: audio stream#1 sending 1 invalid AOT frame @0.101000s. seeking: 0
flutter: FVP mdk.FINE: 18:04:27.316: 0x128698800 1st audio frame @0.101000
flutter: FVP mdk.INFO: 18:04:27.316: 0x128698800 seek end audio frame @0.101000 seek_pos_: -1, sync_ao_ 1
flutter: FVP mdk.FINE: 18:04:27.316: Selected avfilter runtime version: 10.2.102 (build: 10.2.102), license: LGPL version 2.1 or later
flutter: FVP mdk.FINE: 18:04:27.316: AudioRenderer format: f32, stereo @44100Hz, requested: f32p, stereo @44100Hz
flutter: FVP mdk.FINE: 18:04:27.317: AudioRenderer format changed and reinitialize
flutter: FVP mdk.FINE: 18:04:27.317: codec 'avc1' for VT
flutter: FVP mdk.FINE: 18:04:27.386: 0x127eefd80 setRenderAPI(3, 0x0)
flutter: FVP mdk.FINE: 18:04:27.387: getVideoOutContext 0x0 => 0x129344dc0. vo count: 1
flutter: FVP mdk.FINE: 18:04:27.387: 0x127eefd80 setVideoSurfaceSize(1920x1080, 0x0)
flutter: FVP mdk.FINE: 18:04:27.387: 0x127eefd70 player.setLoop(0)
flutter: FVP mdk.INFO: 18:04:27.387: setLoop(0), now 0/0
flutter: FVP mdk.FINE: 18:04:27.387: 0x127eefd70 player.setVolume(1.000000, -1)
flutter: FVP mdk.FINE: 18:04:27.387: 0x127eefd70 player.set(2)
flutter: FVP mdk.FINE: 18:04:27.387: 0x128698800 virtual void mdk::MediaControlPush::setState(PlaybackState)@1068 requested state 2=>2, current state 2. status: 0X14
flutter: FVP mdk.FINE: 18:04:27.387: default FrameReader0x127eeabd0 request to pause 1, loaded: 4.
flutter: FVP mdk.FINE: 18:04:27.387: default FrameReader0x127eeabd0 state: 2=>2=>2, 0
flutter: FVP mdk.FINE: 18:04:27.387: VT hardware decode support: 1
flutter: FVP mdk.FINE: 18:04:27.387: NALU count: 2
flutter: FVP mdk.FINE: 18:04:27.387: 0: 3+31, SPS
flutter: FVP mdk.FINE: 18:04:27.387: 1: 37+7, PPS
flutter: FVP mdk.FINE: 18:04:27.387: <CMVideoFormatDescription 0x17da4c140 [0x1f0f6c8c0]> {
flutter: FVP mdk.FINE: 18:04:27.387: 0x127eefd70 player.seek(352000, 1026, ...)
flutter: FVP mdk.INFO: 18:04:27.387: 0x128698800-MediaControl::seek(pos: 352000, flag:0X402 +FromStart). now: 0
flutter: FVP mdk.FINE: 18:04:27.387: default 0x127eeabd0-FrameReader::seek(352000, 0X402)
flutter: FVP mdk.FINE: 18:04:27.387: default 0x127eeabd0 FrameReader::update MediaStatus 0X14=>0X94
flutter: FVP fvp.FINE: 18:04:27.387: 90156322 player4964935936 onMediaStatus: MediaStatus(+loaded+buffering) => MediaStatus(+loaded+buffering+seeking)
flutter: FVP mdk.FINE: 18:04:27.387: 0x127eeabd0 default FrameReaderImpl::seekTo(352000, 0X402 #1)
flutter: FVP mdk.FINE: 18:04:27.387: 0x127eefd70 player.set(1)
flutter: FVP mdk.FINE: 18:04:27.387: 0x128698800 virtual void mdk::MediaControlPush::setState(PlaybackState)@1068 requested state 2=>1, current state 2. status: 0X94
flutter: FVP mdk.FINE: 18:04:27.387: Using audio backend: AudioQueue
flutter: FVP mdk.FINE: 18:04:27.387: default FrameReader0x127eeabd0 request to pause 0, loaded: 4.
flutter: FVP mdk.FINE: 18:04:27.387: default FrameReader0x127eeabd0 state: 2=>2=>1, 0
flutter: FVP mdk.FINE: 18:04:27.387: default FrameReader0x127eeabd0 state requested: 1, current: 2
flutter: FVP mdk.FINE: 18:04:27.387: 0x128698800 ao opened: 1, reopen: 1, bad ao: 0. valid: 0
flutter: FVP mdk.FINE: 18:04:27.388: 0x1293af9b8 filter graph:
flutter: FVP mdk.FINE: 18:04:27.388: +-----------+
flutter: FVP mdk.FINE: 18:04:27.388: 0x127eefd70 player.setPlaybackRate(1.000000)
flutter: FVP mdk.FINE: 18:04:27.390: >>>>>>>>1st audio frame (after seek) rendered: 1, ao: 115, a: 100, delta: 15 +0.023220
flutter: FVP mdk.FINE: 18:04:27.390: audio stream#1 AOT frame is sent
flutter: FVP mdk.INFO: 18:04:27.390: ***buffering progress 33%***
flutter: FVP fvp.FINE: 18:04:27.390: 90156322 player4964935936 onEvent: reader.buffering - - 33
flutter: FVP mdk.FINE: 18:04:27.390: seeking media's position is 352000=====
flutter: FVP mdk.FINE: 18:04:27.394: UsingHardwareAcceleratedVideoDecoder: 1
flutter: FVP fvp.FINE: 18:04:27.394: 90156322 player4964935936 onEvent: decoder.video - VT - 0
flutter: FVP mdk.FINE: 18:04:27.394: decode stored recovery packets: 0
flutter: FVP mdk.FINE: 18:04:27.410: video stream#0 sending 1 invalid AOT frame @0.184411s. seeking: 0
flutter: FVP mdk.FINE: 18:04:27.410: 0x128698800 1st video frame to render @0.184411s, sync time: 0.101000
flutter: FVP mdk.FINE: 18:04:27.411: VideoRenderer clear buffered frames
flutter: FVP mdk.FINE: 18:04:27.411: 0-track seek end video frame @0.184411 seek_pos_: 352000
flutter: FVP mdk.FINE: 18:04:27.411: 0x128698800 1st video frame to render @0.184411s, sync time: 0.101000
flutter: FVP fvp.FINE: 18:04:27.411: 90156322 player4964935936 onEvent: video - size - 0
flutter: FVP mdk.FINE: 18:04:27.411: VideoRenderer WxH=1920.000000x1080.000000 1920.000000x1080.000000, frame: 1920x1080
flutter: FVP mdk.FINE: 18:04:27.411: update transform 2d. scale: (1.000000, 1.000000), orientation: 0
flutter: FVP mdk.FINE: 18:04:27.411: m: mat<4, 4>(
flutter: FVP mdk.FINE: 18:04:27.411: 1 0 0 0
flutter: FVP mdk.FINE: 18:04:27.411: 0 1 0 0
flutter: FVP mdk.FINE: 18:04:27.411: 0 0 1 0
flutter: FVP mdk.FINE: 18:04:27.411: 0 0 0 1
flutter: FVP mdk.FINE: 18:04:27.411: )
flutter: FVP mdk.FINE: 18:04:27.411: 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: FVP mdk.FINE: 18:04:27.411: Metal pixel format 0: MTLPixelFormatR8Unorm
flutter: FVP mdk.FINE: 18:04:27.411: Metal pixel format 1: MTLPixelFormatRG8Unorm
flutter: FVP mdk.FINE: 18:04:27.411: channel map: mat<4, 4>(
flutter: FVP mdk.FINE: 18:04:27.411: 1 0 0 0
flutter: FVP mdk.FINE: 18:04:27.411: 0 1 0 0
flutter: FVP mdk.FINE: 18:04:27.412: 0 0 1 0
flutter: FVP mdk.FINE: 18:04:27.412: 0 0 0 1
flutter: FVP mdk.FINE: 18:04:27.412: )
flutter: FVP mdk.FINE: 18:04:27.412: frame format: nv12, bpc:8, bpp:12(8,16), channels:(1,2), map: 0 1 2 0
flutter: FVP mdk.FINE: 18:04:27.412: frame color: BT709 BT709 BT709 Limited. gamma: 2.200000, signal peak: 1.000000
flutter: FVP mdk.FINE: 18:04:27.412: -
flutter: FVP mdk.FINE: 18:04:27.412: output color: BT709 UNSPECIFIED RGB Full. gamma: 2.200000, signal peak: 1.000000
flutter: FVP mdk.FINE: 18:04:27.412: rgb primaries matrix: mat<3, 3>(
flutter: FVP mdk.FINE: 18:04:27.412: 1 0 0
flutter: FVP mdk.FINE: 18:04:27.414: 0 1 0
flutter: FVP mdk.FINE: 18:04:27.414: 0 0 1
flutter: FVP mdk.FINE: 18:04:27.414: )
flutter: FVP mdk.FINE: 18:04:27.414: scale: 1.000000, color transform: mat<4, 4>(
flutter: FVP mdk.FINE: 18:04:27.414: 1.16438 0 1.79274 -0.972945
flutter: FVP mdk.FINE: 18:04:27.414: 1.16438 -0.213249 -0.532909 0.301483
flutter: FVP mdk.FINE: 18:04:27.414: 1.16438 2.1124 0 -1.1334
flutter: FVP mdk.FINE: 18:04:27.414: 0 0 0 1
flutter: FVP mdk.FINE: 18:04:27.414: )
flutter: FVP mdk.FINE: 18:04:27.414: EQ: mat<4, 4>(
flutter: FVP mdk.FINE: 18:04:27.415: 1 0 0 0
flutter: FVP mdk.FINE: 18:04:27.415: 0 1 0 0
flutter: FVP mdk.FINE: 18:04:27.415: 0 0 1 0
flutter: FVP mdk.FINE: 18:04:27.415: 0 0 0 1
flutter: FVP mdk.FINE: 18:04:27.415: )
flutter: FVP mdk.FINE: 18:04:27.415: shader id: 2321
flutter: FVP mdk.FINE: 18:04:27.415: dump UBO layout:
flutter: FVP fvp.FINE: 18:04:27.415: 90156322 player4964935936 onEvent: render.video - 1st_frame - 184
flutter: FVP mdk.FINE: 18:04:27.415: video stream#0 AOT frame is sent
flutter: FVP mdk.FINE: 18:04:27.606: seekTo(352000) found video stream#0 packet at -3 in [1.018578, 1.059578] s
flutter: FVP mdk.FINE: 18:04:27.606: seekTo(352000) found audio stream#1 packet at -3 in [0.124211, 0.797211] s
flutter: FVP mdk.INFO: 18:04:27.606: ***buffering progress 100%***
flutter: FVP mdk.FINE: 18:04:27.606: default 0x127eeabd0 FrameReader::update MediaStatus 0X94=>0X1A4
flutter: FVP fvp.FINE: 18:04:27.606: 90156322 player4964935936 onMediaStatus: MediaStatus(+loaded+buffering+seeking) => MediaStatus(+loaded+prepared+buffered+seeking)
flutter: FVP mdk.INFO: 18:04:27.606: ++++++++++++BUFFERING END++++++++++++
flutter: FVP mdk.FINE: 18:04:27.606:
flutter: FVP fvp.FINE: 18:04:27.607: 90156322 player4964935936 onEvent: reader.buffering - - 100
flutter: FVP mdk.INFO: 18:04:27.607: virtual int64_t mdk::PacketIOWrapper::seek(int64_t, SeekFlag)@699 seek target(from 101): 352000ms, flags: +FromStart. now: 1.060278
flutter: FVP mdk.FINE: 18:04:27.607: default 0x127eeabd0 FrameReader::update MediaStatus 0X1A4=>0X1A4
flutter: FVP mdk.FINE: 18:04:27.607: 0x1290b1f50 cache: seek 352.000000 check range [0.101000, 0.976867]
flutter: FVP mdk.FINE: 18:04:27.607: 0x1290b1f50 cache: too few video key frames(1) in current range[0.101000, 0.976867], drop
flutter: FVP mdk.FINE: 18:04:27.607: 0x1290b1f50 cache: ranges 0/8:
flutter: FVP mdk.FINE: 18:04:27.607: Seek start. target time: 352101000 avseek flags: 1
flutter: FVP mdk.FINE: 18:04:27.607: Seek end
flutter: FVP mdk.FINE: 18:04:27.607: 1 packets is read after seek. read more to get target pts
flutter: FVP mdk.FINE: 18:04:27.607: [FFmpeg:hls] Opening 'https://82psw98llfa.pradoi.com/hls2/01/04637/cbuywjhu6l9i_,n,h,x,.urlset/seg-35-f3-v1-a1.ts?t=iC2wl71Oo0_kXKuSicj8KMgZrcY1A5eLNatP2Qq86d0&s=1723496659&e=129600&f=23186966&srv=xhisossxof6ziadr&i=0.0&sp=500&p1=xhisossxof6ziadr&p2=xhisossxof6ziadr&asn=11260' for reading
flutter: FVP mdk.FINE: 18:04:27.607: seeking media's position is 352000=====
flutter: FVP mdk.INFO: 18:04:27.614: ***buffering progress 0%***
flutter: FVP mdk.FINE: 18:04:27.614: default 0x127eeabd0 FrameReader::update MediaStatus 0X1A4=>0X194
flutter: FVP fvp.FINE: 18:04:27.646: 90156322 player4964935936 onMediaStatus: MediaStatus(+loaded+prepared+buffered+seeking) => MediaStatus(+loaded+prepared+buffering+seeking)
flutter: FVP mdk.INFO: 18:04:27.646: ++++++++++++BUFFERING START++++++++++++
flutter: FVP mdk.FINE: 18:04:27.647:
flutter: FVP fvp.FINE: 18:04:27.647: 90156322 player4964935936 onEvent: reader.buffering - - 0
flutter: FVP mdk.FINE: 18:04:27.647: seeking media's position is 352000=====
flutter: FVP mdk.FINE: 18:04:27.877: seeking media's position is 352000=====
flutter: FVP fvp.FINE: 18:04:28.269: 864706595 player6402719856 create(https://www3.mp4upload.com:183/d/r2x2ziemz3b4quuoicrbejcncvfl6nuscjjq3ce7ycivnzwbuu4hptt4gebqf3b2gt7xufnx/video.mp4)
flutter: FVP mdk.FINE: 18:04:28.305: default 0x17da75960 new FrameReader...
flutter: FVP mdk.FINE: 18:04:28.306: Registered audio backends: AudioQueue OpenAL null
flutter: FVP mdk.FINE: 18:04:28.306: default 0x17da75ca0 new FrameReader...
flutter: FVP mdk.FINE: 18:04:28.306: Registered audio backends: AudioQueue OpenAL null
flutter: FVP mdk.FINE: 18:04:28.306: 0x17da272b0 player.Player()
flutter: FVP mdk.FINE: 18:04:28.306: 0x17da272b0 player.onEvent(1, 0x16dc711b0)
flutter: FVP mdk.FINE: 18:04:28.306: 0x17da272b0 player.onStateChanged(1)
flutter: FVP mdk.FINE: 18:04:28.306: 0x17da272b0 player.onMediaStatus(1)
flutter: FVP mdk.FINE: 18:04:28.306: 0x17da272b0 player property: video.decoder = shader_resource=0
flutter: FVP mdk.FINE: 18:04:28.306: 0x17da272b0 player property: avformat.strict = experimental
flutter: FVP mdk.FINE: 18:04:28.306: 0x17da272b0 player property: avio.reconnect = 1
flutter: FVP mdk.FINE: 18:04:28.306: 0x17da272b0 player property: avio.reconnect_delay_max = 7
flutter: FVP mdk.FINE: 18:04:28.306: 0x17da272b0 player property: avio.protocol_whitelist = file,rtmp,http,https,tls,rtp,tcp,udp,crypto,httpproxy,data,concatf,concat,subfile
flutter: FVP mdk.FINE: 18:04:28.306: 0x17da272b0 player property: avformat.rtsp_transport = tcp
flutter: FVP mdk.FINE: 18:04:28.306: 0x17da272b0 player property: buffer = 2000+60000
flutter: FVP mdk.FINE: 18:04:28.306: 0x17da272b0 player.setBufferRange(2000, 60000, 0)
flutter: FVP mdk.FINE: 18:04:28.306: 0x17da272b0 player property: demux.buffer.ranges = 8
flutter: FVP mdk.FINE: 18:04:28.306: 0x17da272b0 player property: demux.buffer.protocols = file,http,https
flutter: FVP mdk.FINE: 18:04:28.306: 0x17da272b0 player.setDecoders(video, [VT, FFmpeg])
flutter: FVP mdk.FINE: 18:04:28.306: video decoders: "VT", "FFmpeg"
flutter: FVP mdk.FINE: 18:04:28.306: video decoders: "VT", "FFmpeg"
flutter: FVP mdk.FINE: 18:04:28.306: 0x17da272b0 player property: avio.headers = referer: https://mp4upload.com/
flutter: FVP mdk.FINE: 18:04:28.306: 0x17da272b0 player.setMedia(https://www3.mp4upload.com:183/d/r2x2ziemz3b4quuoicrbejcncvfl6nuscjjq3ce7ycivnzwbuu4hptt4gebqf3b2gt7xufnx/video.mp4)
flutter: FVP mdk.FINE: 18:04:28.306: default FrameReader0x17da75960 state: 0=>0=>0, 0
flutter: FVP mdk.INFO: 18:04:28.306: default0x17da75960 stop, current state: 0
flutter: FVP mdk.FINE: 18:04:28.306: AudioQueueStart ERROR: 0
flutter: FVP mdk.FINE: 18:04:28.306: default FrameReader0x17da75960 state: 0=>0=>0, 0
flutter: FVP mdk.INFO: 18:04:28.306: default0x17da75960 stop, current state: 0
flutter: FVP mdk.FINE: 18:04:28.306: 0x17da272b0 player.prepare(0, ..., 1282)
flutter: FVP mdk.FINE: 18:04:28.306: AudioQueueStart ERROR: 0
flutter: FVP mdk.INFO: 18:04:28.306: 0x3301d0400 MediaControl.prepare(0, ...) https://www3.mp4upload.com:183/d/r2x2ziemz3b4quuoicrbejcncvfl6nuscjjq3ce7ycivnzwbuu4hptt4gebqf3b2gt7xufnx/video.mp4
flutter: FVP mdk.FINE: 18:04:28.306: default 0x17da75960 FrameReader.start(0, ...)
flutter: FVP mdk.FINE: 18:04:28.306: default 0x17da75960 FrameReader::update MediaStatus 0=>0X2
flutter: FVP fvp.FINE: 18:04:28.306: 382933138 player6402719856 onMediaStatus: MediaStatus(noMedia) => MediaStatus(+loading)
flutter: FVP mdk.FINE: 18:04:28.307: default FrameReader0x17da75960 state: 0=>0=>1, 0
flutter: FVP mdk.FINE: 18:04:28.307: default FrameReader0x17da75960 state: 0=>1=>1, 0
flutter: FVP mdk.FINE: 18:04:28.307: default FrameReader0x17da75960 request to pause 1, loaded: 0.
flutter: FVP mdk.FINE: 18:04:28.307: default FrameReader0x17da75960 state: 0=>1=>2, 0
flutter: FVP mdk.FINE: 18:04:28.307: default FrameReader0x17da75960 state requested: 2, current: 0
flutter: FVP mdk.FINE: 18:04:28.307: virtual void mdk::AudioBackendAudioQueue::pause(bool)138 ERROR>>> AudioQueuePause(queue_): -50
flutter: FVP mdk.FINE: 18:04:28.307:
flutter: FVP mdk.FINE: 18:04:28.307: start frame reader thread: 0x17dd07000
flutter: FVP mdk.FINE: 18:04:28.307: Trying MediaIO FFmpeg
flutter: FVP mdk.FINE: 18:04:28.307: 0x129049030 open url:
flutter: FVP mdk.FINE: 18:04:28.307: 0x127eefd80 setVideoSurfaceSize(-1x-1, 0x0)
flutter: FVP mdk.FINE: 18:04:28.307: mdk::VideoRenderer::Private::~Private() @127
You have to debug(lldb for macos) the program and show me backtrace, otherwise I can't know where it crashes.
crash screenshot until i can figure out how to extract using lldb
lldb crash logs
btw it crashed once on android too, most likely same issue since it was the same steps
type p pkt
after (lldb)
, then will show the value of variable pkt
, i need to know this value
Process 33415 stopped
* thread #64, name = 'mdk.vdec0@0x17105b000', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x0000000101ef3040 mdk`mdk::abi::VideoToolboxDecoder::decode(this=0x000060000275a340, pkt=0x000000017105a8e8) at VideoToolboxDecoder.cpp:469:44 [opt]
Target 0: (Anime Here) stopped.
warning: mdk was compiled with optimization - stepping may behave oddly; variables may not be available.
(lldb) p pkt
(const mdk::Packet &) 0x000000017105a8e8: {
type = Video
hasKeyFrame = false
buffer = nullptr {
__ptr_ = nullptr
}
pts = 0.10100000000000001
duration = -1
dts = 1
position = -9223372036854775808
stream = 0
metadata = size=0 {}
}
(lldb) bt
* thread #64, name = 'mdk.vdec0@0x17105b000', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
* frame #0: 0x0000000101ef3040 mdk`mdk::abi::VideoToolboxDecoder::decode(this=0x000060000275a340, pkt=0x000000017105a8e8) at VideoToolboxDecoder.cpp:469:44 [opt]
frame #1: 0x0000000101e9eaa4 mdk`bool mdk::abi::FrameReaderImpl::decodeLoop<(mdk::abi::MediaType)0>(int, int) at FrameReader.cpp:2283:43 [opt]
frame #2: 0x0000000101e9e8ac mdk`bool mdk::abi::FrameReaderImpl::decodeLoop<(mdk::abi::MediaType)0>(this=0x0000000174f63240, stream=<unavailable>, decoderIndex=<unavailable>) at FrameReader.cpp:2385:26 [opt]
frame #3: 0x0000000101e9c238 mdk`void* std::__1::__thread_proxy[abi:un170006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, mdk::abi::FrameReaderImpl::startDecodeThread(mdk::abi::FrameReaderImpl::DecLoopState&, mdk::abi::MediaType, int)::$_32>>(void*) at FrameReader.cpp:2717:28 [opt]
frame #4: 0x0000000101e9bed4 mdk`void* std::__1::__thread_proxy[abi:un170006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, mdk::abi::FrameReaderImpl::startDecodeThread(mdk::abi::FrameReaderImpl::DecLoopState&, mdk::abi::MediaType, int)::$_32>>(void*) [inlined] decltype(std::declval<mdk::abi::FrameReaderImpl::startDecodeThread(mdk::abi::FrameReaderImpl::DecLoopState&, mdk::abi::MediaType, int)::$_32>()()) std::__1::__invoke[abi:un170006]<mdk::abi::FrameReaderImpl::startDecodeThread(mdk::abi::FrameReaderImpl::DecLoopState&, mdk::abi::MediaType, int)::$_32>(__f=0x000060000036fca8) at invoke.h:340:25 [opt]
frame #5: 0x0000000101e9bed4 mdk`void* std::__1::__thread_proxy[abi:un170006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, mdk::abi::FrameReaderImpl::startDecodeThread(mdk::abi::FrameReaderImpl::DecLoopState&, mdk::abi::MediaType, int)::$_32>>(void*) [inlined] void std::__1::__thread_execute[abi:un170006]<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, mdk::abi::FrameReaderImpl::startDecodeThread(mdk::abi::FrameReaderImpl::DecLoopState&, mdk::abi::MediaType, int)::$_32>(__t=size=2, (null)=<unavailable>) at thread.h:227:5 [opt]
frame #6: 0x0000000101e9bed4 mdk`void* std::__1::__thread_proxy[abi:un170006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, mdk::abi::FrameReaderImpl::startDecodeThread(mdk::abi::FrameReaderImpl::DecLoopState&, mdk::abi::MediaType, int)::$_32>>(__vp=<unavailable>) at thread.h:238:5 [opt]
frame #7: 0x0000000183f6df94 libsystem_pthread.dylib`_pthread_start + 136
(lldb)
How do you copy the log? a log message may contains multiple lines, only the first line will prepend flutter: FVP mdk.FINE:
, so if you filter FVP
, the following lines will not visible.
When crashing, some log messages will not write to dart logging. You can run
export MDK_CLOG=1
./build/macos/Build/Products/Debug/$APPNAME.app/Contents/MacOS/$APPNAME
then will write log as much as possible
Ok I will disable my app logs and send all logs using the method you mentioned, and yes I prefix logs with fvp
this is the logs, keep in mind i start playback with a fast source then i switch to the slow one and slow one gives me time to reproduce the issue
try the latest mdk. I'm not sure how it happens, I add more details in the log. the latest change may fix the crash and may not
i cant reproduce the crash, so i think it fixed, will provide logs just for the sake of info
Thanks for your log
Describe the bug when playing video mentioned in logs if i dispose controller before it loads like how the logs show, the app crashes
Expected behavior no crash
Log Add