Comments (3)
'VT' decoder open error, and software decoder is used. Can you add 'VideoToolbox' after 'VT' and try again? https://github.com/wang-bin/fvp/blob/master/lib/src/video_player_mdk.dart#L135-L136
from fvp.
'VT' decoder open error, and software decoder is used. Can you add 'VideoToolbox' after 'VT' and try again? https://github.com/wang-bin/fvp/blob/master/lib/src/video_player_mdk.dart#L135-L136
the config
fvp.registerWith(
options: {
'video.decoders': switch (defaultTargetPlatform) {
TargetPlatform.windows => ['MFT:d3d=11', "D3D11", 'CUDA', 'FFmpeg'],
TargetPlatform.macOS => ['VT', 'VideoToolbox', 'FFmpeg'],
TargetPlatform.iOS => ['VT', 'VideoToolbox', 'FFmpeg'],
TargetPlatform.linux => ['VAAPI', 'CUDA', 'VDPAU', 'FFmpeg'],
TargetPlatform.android => ['AMediaCodec', 'FFmpeg'],
TargetPlatform.fuchsia => ['auto'],
},
'lowLatency': 2,
},
It doesn't seem to work, the live streaming is still stuttering.
iOS stutters
flutter: fvp.FINE: 2023-11-23 10:28:20.407429: 144110156 player4417346832 create(rtsp://192.168.169.1:554)
flutter: mdk.INFO: 2023-11-23 10:28:20.412535: default0x1074b7040 new FrameReader...
flutter: mdk.INFO: 2023-11-23 10:28:20.412593: Registered audio backends: AudioQueue OpenAL null
flutter: mdk.INFO: 2023-11-23 10:28:20.412629: default0x1074964c0 new FrameReader...
flutter: mdk.INFO: 2023-11-23 10:28:20.412664: Registered audio backends: AudioQueue OpenAL null
flutter: mdk.INFO: 2023-11-23 10:28:20.412698: 0x1074b5f40mdk::Player::Player()
flutter: mdk.INFO: 2023-11-23 10:28:20.412735: player property: avio.protocol_whitelist = file,rtmp,http,https,tls,rtp,tcp,udp,crypto,httpproxy,data,concatf,concat,subfile
flutter: mdk.INFO: 2023-11-23 10:28:20.412765: player property: avformat.rtsp_transport = tcp
flutter: mdk.INFO: 2023-11-23 10:28:20.412794: video decoders: "VT", "VideoToolbox", "FFmpeg"
flutter: mdk.INFO: 2023-11-23 10:28:20.412824: video decoders: "VT", "VideoToolbox", "FFmpeg"
flutter: mdk.INFO: 2023-11-23 10:28:20.412851: player property: avformat.fflags = +nobuffer
flutter: mdk.INFO: 2023-11-23 10:28:20.412879: player property: avformat.fpsprobesize = 0
flutter: mdk.INFO: 2023-11-23 10:28:20.412908: default FrameReader0x1074b7040 state: 0=>0=>0, 0
flutter: mdk.INFO: 2023-11-23 10:28:20.412937: default0x1074b7040 virtual void mdk::FrameReader::stop(), current state: 0
flutter: mdk.INFO: 2023-11-23 10:28:20.412966: default FrameReader0x1074b7040 state: 0=>0=>0, 0
flutter: mdk.INFO: 2023-11-23 10:28:20.412995: default0x1074b7040 virtual void mdk::FrameReader::stop(), current state: 0
flutter: mdk.INFO: 2023-11-23 10:28:20.413023: AudioQueueStart ERROR: 0
flutter: mdk.INFO: 2023-11-23 10:28:20.413060: 0x12382ae00 MediaControl.prepare(0, ...) rtsp://192.168.169.1:554
flutter: mdk.INFO: 2023-11-23 10:28:20.413099: default 0x1074b7040 FrameReader.start(0, ...)
flutter: mdk.INFO: 2023-11-23 10:28:20.413137: default 0x1074b7040 FrameReader::update MediaStatus 0=>0X2
flutter: fvp.FINE: 2023-11-23 10:28:20.414038: 961490308 player4417346832 onMediaStatus: MediaStatus(noMedia) => MediaStatus(+loading)
flutter: mdk.INFO: 2023-11-23 10:28:20.414406: default FrameReader0x1074b7040 state: 0=>0=>1, 0
flutter: mdk.INFO: 2023-11-23 10:28:20.414446: default FrameReader0x1074b7040 state: 0=>1=>1, 0
flutter: mdk.INFO: 2023-11-23 10:28:20.414478: start frame reader thread: 0x16c023000
flutter: mdk.INFO: 2023-11-23 10:28:20.414522: FFmpeg/Libav runtime git-2023-10-29-1056575-avbuild
flutter: mdk.INFO: 2023-11-23 10:28:20.414553: Selected avutil runtime version: 58.28.100 (build: 58.28.100), license: LGPL version 2.1 or later
flutter: mdk.INFO: 2023-11-23 10:28:20.414585: Selected avutil runtime configuration: --extra-version=avbuild --disable-doc --disable-debug --enable-runtime-cpudetect --disable-programs --disable-vulkan --disable-avdevice --enable-libxml2 --disable-postproc --install_name_dir='@rpath' --enable-cross-compile --arch=arm64 --target-os=darwin --cc=clang --sysroot=/Applications/Xcode_14.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.2.sdk --enable-lto --enable-pic --extra-cflags='-I=/usr/include/libxml2 -arch arm64 -miphoneos-version-min=7.0' --extra-ldflags='-arch arm64 -miphoneos-version-min=7.0 -Wl,-dead_strip' --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 --enable-wolfssl --disable-avdevice --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' --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' --enable-muxer='*jpeg,dnxhd,fifo,flv,gif,hls,h264,hevc,image2,mov,mp4,mpegts,matroska,null,og*,pcm*,rawvideo,spdif,*pipe,*segment,webm,wav'
flutter: mdk.INFO: 2023-11-23 10:28:20.414703: global option: ffmpeg.configuration = --extra-version=avbuild --disable-doc --disable-debug --enable-runtime-cpudetect --disable-programs --disable-vulkan --disable-avdevice --enable-libxml2 --disable-postproc --install_name_dir='@rpath' --enable-cross-compile --arch=arm64 --target-os=darwin --cc=clang --sysroot=/Applications/Xcode_14.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.2.sdk --enable-lto --enable-pic --extra-cflags='-I=/usr/include/libxml2 -arch arm64 -miphoneos-version-min=7.0' --extra-ldflags='-arch arm64 -miphoneos-version-min=7.0 -Wl,-dead_strip' --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 --enable-wolfssl --disable-avdevice --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' --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' --enable-muxer='*jpeg,dnxhd,fifo,flv,gif,hls,h264,hevc,image2,mov,mp4,mpegts,matroska,null,og*,pcm*,rawvideo,spdif,*pipe,*segment,webm,wav'
flutter: mdk.INFO: 2023-11-23 10:28:20.414780: global option: ffmpeg.version = 6
flutter: mdk.INFO: 2023-11-23 10:28:20.414807: av_dict_set0x107dd49cc
flutter: mdk.WARNING: 2023-11-23 10:28:20.414865: Failed to create io for url. io: 0x0, open: false
flutter: mdk.INFO: 2023-11-23 10:28:20.414894: default 0x1074b7040 FrameReader::update MediaStatus 0X2=>0X2
flutter: mdk.INFO: 2023-11-23 10:28:20.414922: Selected avcodec runtime version: 60.30.102 (build: 60.30.102), license: LGPL version 2.1 or later
flutter: mdk.INFO: 2023-11-23 10:28:20.414952: av_packet_alloc0x107b4810c
flutter: mdk.INFO: 2023-11-23 10:28:20.414983: Selected avformat runtime version: 60.15.101 (build: 60.15.101), license: LGPL version 2.1 or later
flutter: mdk.INFO: 2023-11-23 10:28:20.415010: avformat_alloc_context0x107acace0
flutter: mdk.INFO: 2023-11-23 10:28:20.415037: before avformat_open_input. io: 0x0(/pb: 0x0, url: rtsp://192.168.169.1:554
flutter: mdk.INFO: 2023-11-23 10:28:20.415755: FFmpeg/Libav runtime git-2023-10-29-1056575-avbuild
flutter: mdk.INFO: 2023-11-23 10:28:20.696088: after avformat_open_input. pb: 0x0, iformat: 0x10801e700 context flags: 2097216, input format flags: 1
flutter: mdk.INFO: 2023-11-23 10:28:20.699459: [FFmpeg:aac] invalid sampling rate index 13
flutter: mdk.INFO: 2023-11-23 10:28:20.699652: [FFmpeg:rtsp] Failed to open codec in avformat_find_stream_info
flutter: mdk.INFO: 2023-11-23 10:28:26.558175: [FFmpeg:rtsp] Could not find codec parameters for stream 0 (Audio: aac, 44100 Hz, 0 channels, fltp): unspecified number of channels
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
flutter: mdk.INFO: 2023-11-23 10:28:26.562264: supports 205 ffmpeg sw pixel formats. unsupported: uyyvyy411 x2rgb10be x2bgr10be p212be p212le p412be p412le gbrap14be gbrap14le
flutter: mdk.INFO: 2023-11-23 10:28:26.562701: Format: rtsp, range: 233 +0ms, bitrate: 0, size: 0
Streams: 2
Video:
stream#1, range: 233 +0ms, frames: 0
codec: h264 tag: 0 profile: 100 level: 51, yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0, bitrate: 0, 960x540, fps: 30, bframes: 0, range: Full
extra data(40): 00 00 00 01 00 00 00 01 67 64 00 33 AC EA 0F 01 15 EE 6C 80 00 01 F4 00 00 75 30 42 00 00 00 01 00 00 00 01 68 EE 3C B0
Audio:
stream#0, range: 0 +0ms, frames: 0
codec: aac tag: 0 profile: -99 level: -99, sample size: 0/0, block align: 0, frame_size: 0, f32p mono(1) @44100Hz, bitrate: 0
extra data(5): 0E 80 56 E5 00
flutter: mdk.INFO: 2023-11-23 10:28:26.562935: default FrameReader0x1074b7040 request to pause 1, loaded: 0.
flutter: mdk.INFO: 2023-11-23 10:28:26.563118: default FrameReader0x1074b7040 state: 0=>1=>2, 0
flutter: mdk.INFO: 2023-11-23 10:28:26.563271: default FrameReader0x1074b7040 state requested: 2, current: 0
flutter: mdk.INFO: 2023-11-23 10:28:26.563424: 142 AudioBackendAudioQueue ERROR>>> AudioQueuePause(queue_): -50
flutter: mdk.INFO: 2023-11-23 10:28:26.563557:
flutter: mdk.INFO: 2023-11-23 10:28:26.563739: 0x12382ae00 prepared callback is invoked
flutter: mdk.INFO: 2023-11-23 10:28:26.583578: default 0x1074b7040 FrameReader::update MediaStatus 0X2=>0X4
flutter: fvp.FINE: 2023-11-23 10:28:26.583861: 961490308 player4417346832 onMediaStatus: MediaStatus(+loading) => MediaStatus(+loaded)
flutter: mdk.INFO: 2023-11-23 10:28:26.584793: ***buffering progress 0%***
flutter: mdk.INFO: 2023-11-23 10:28:26.584921: default 0x1074b7040 FrameReader::update MediaStatus 0X4=>0X14
flutter: mdk.INFO: 2023-11-23 10:28:26.585008: 142 AudioBackendAudioQueue ERROR>>> AudioQueuePause(queue_): -50
flutter: mdk.INFO: 2023-11-23 10:28:26.585087:
flutter: fvp.FINE: 2023-11-23 10:28:26.585179: 961490308 player4417346832 onMediaStatus: MediaStatus(+loaded) => MediaStatus(+loaded+buffering)
flutter: mdk.INFO: 2023-11-23 10:28:26.585293: ++++++++++++BUFFERING START++++++++++++
flutter: mdk.INFO: 2023-11-23 10:28:26.585370:
flutter: fvp.FINE: 2023-11-23 10:28:26.585936: 961490308 player4417346832 onEvent: reader.buffering 0
flutter: mdk.INFO: 2023-11-23 10:28:26.590716: 0 pkt duration: 0.034367, duration:4900, dy_duration_delta=0=>34, live_eos_timeout=5000
flutter: mdk.INFO: 2023-11-23 10:28:26.591012: 0 pkt duration: 0.034367, duration:4900, dy_duration_delta=0=>34, live_eos_timeout=5000
flutter: mdk.INFO: 2023-11-23 10:28:26.591165: default FrameReader0x1074b7040 state: 0=>2=>1, 1
flutter: mdk.INFO: 2023-11-23 10:28:26.591269: default FrameReader0x1074b7040 update state: 0=>1
flutter: fvp.FINE: 2023-11-23 10:28:26.591966: 961490308 player4417346832 onPlaybackStateChanged: PlaybackState.stopped => PlaybackState.playing
flutter: mdk.INFO: 2023-11-23 10:28:26.592266: default FrameReader0x1074b7040 state: 1=>1=>2, 1
flutter: mdk.INFO: 2023-11-23 10:28:26.592402: default FrameReader0x1074b7040 update state: 1=>2
flutter: fvp.FINE: 2023-11-23 10:28:26.592566: 961490308 player4417346832 onPlaybackStateChanged: PlaybackState.playing => PlaybackState.paused
flutter: mdk.INFO: 2023-11-23 10:28:26.592776: starting decode loop thread mdk.vdec1@0x176407000
flutter: fvp.FINE: 2023-11-23 10:28:26.592880: 961490308 player4417346832 onEvent: thread.video 1
flutter: mdk.INFO: 2023-11-23 10:28:26.592953: video stream#1 starting decoding loop from decoder index 0...
flutter: mdk.INFO: 2023-11-23 10:28:26.597875: creating video decoder: VT...
flutter: mdk.INFO: 2023-11-23 10:28:26.597984: Try to use IOSurface OpenGL(ES) interop: true
flutter: mdk.INFO: 2023-11-23 10:28:26.598051: opening video decoder: VideoToolbox...
flutter: mdk.INFO: 2023-11-23 10:28:26.598112: codec 'avc1' for VT
flutter: mdk.INFO: 2023-11-23 10:28:26.598169: setLoop(0), now 0/0
flutter: mdk.INFO: 2023-11-23 10:28:26.598224: 0x12382ae00 virtual void mdk::MediaControlPush::setState(mdk::PlaybackState)@1013 requested state 2=>2, current state 2. status: 0X14
flutter: mdk.INFO: 2023-11-23 10:28:26.598289: 142 AudioBackendAudioQueue ERROR>>> AudioQueuePause(queue_): -50
flutter: mdk.INFO: 2023-11-23 10:28:26.598345:
flutter: mdk.INFO: 2023-11-23 10:28:26.598412: default FrameReader0x1074b7040 request to pause 1, loaded: 4.
flutter: mdk.INFO: 2023-11-23 10:28:26.598467: default FrameReader0x1074b7040 state: 2=>2=>2, 0
flutter: mdk.INFO: 2023-11-23 10:28:26.598522: 0x12382ae00 virtual void mdk::MediaControlPush::setState(mdk::PlaybackState)@1013 requested state 2=>1, current state 2. status: 0X14
flutter: mdk.INFO: 2023-11-23 10:28:26.598578: AudioQueueStart ERROR: 0
flutter: mdk.INFO: 2023-11-23 10:28:26.598632: default FrameReader0x1074b7040 request to pause 0, loaded: 4.
flutter: mdk.INFO: 2023-11-23 10:28:26.736185: default FrameReader0x1074b7040 state: 2=>2=>1, 0
flutter: mdk.INFO: 2023-11-23 10:28:26.736679: default FrameReader0x1074b7040 state requested: 1, current: 2
flutter: mdk.INFO: 2023-11-23 10:28:27.178950: default FrameReader0x1074b7040 state: 2=>1=>1, 1
flutter: mdk.INFO: 2023-11-23 10:28:27.183065: default FrameReader0x1074b7040 update state: 2=>1
flutter: fvp.FINE: 2023-11-23 10:28:27.183323: 961490308 player4417346832 onPlaybackStateChanged: PlaybackState.paused => PlaybackState.playing
flutter: mdk.INFO: 2023-11-23 10:28:27.610682: VT hardware decode support: 1
flutter: mdk.INFO: 2023-11-23 10:28:27.611126: bad level detected in stream
flutter: mdk.INFO: 2023-11-23 10:28:27.611261: NALU count: 4
flutter: mdk.INFO: 2023-11-23 10:28:27.611360: 0: 4+0, unused
flutter: mdk.INFO: 2023-11-23 10:28:27.611469: 1: 8+20, SPS
flutter: mdk.INFO: 2023-11-23 10:28:27.611583: 2: 32+0, unused
flutter: mdk.INFO: 2023-11-23 10:28:27.611677: 3: 36+4, PPS
flutter: mdk.INFO: 2023-11-23 10:28:27.611785: virtual bool mdk::VideoToolboxDecoder::open()207 ERROR>>> CMVideoFormatDescriptionCreateFromH264ParameterSets(kCFAllocatorDefault, ps_count, ps.data(), ps_len.data(), nalu_header_len_, &fmtdesc_): -12712
flutter: mdk.INFO: 2023-11-23 10:28:27.611936:
flutter: mdk.INFO: 2023-11-23 10:28:27.612051: 0x10770c738UGL::opengl::Context::Local<mdk::CVBufferPool::ctx_res_t>::~Local() [T = mdk::CVBufferPool::ctx_res_t, DT = mdk::CVBufferPool::ctx_res_t]0x0 count: 0
flutter: mdk.INFO: 2023-11-23 10:28:27.612253: 0x10770c6f8virtual mdk::NativeVideoBufferPool::~NativeVideoBufferPool()
flutter: mdk.WARNING: 2023-11-23 10:28:27.612363: ERROR! failed to setup decoder: video
flutter: fvp.FINE: 2023-11-23 10:28:27.612535: 961490308 player4417346832 onEvent: decoder.video -1
flutter: mdk.INFO: 2023-11-23 10:28:27.612659: 0x12382ae00 1st video frame to render @0.000000s, sync time: 0.000000
flutter: mdk.INFO: 2023-11-23 10:28:27.612747: unsupported pixel format for Metal: unknown, bpc:0, bpp:0(), channels:(), map: 0 0 0 0
flutter: mdk.INFO: 2023-11-23 10:28:27.619269: 0-track seek end video frame @0.000000 seek_pos_: -1
flutter: mdk.INFO: 2023-11-23 10:28:27.619466: 0x12382ae00 1st video frame to render @-1.000000s, sync time: 0.000000
flutter: mdk.INFO: 2023-11-23 10:28:27.619566: invalid video frame @-1.000000
flutter: mdk.INFO: 2023-11-23 10:28:27.619649: try the next decoder if available
flutter: mdk.INFO: 2023-11-23 10:28:27.619749: video stream#1 starting decoding loop from decoder index 1...
flutter: mdk.INFO: 2023-11-23 10:28:27.619853: creating video decoder: VideoToolbox...
flutter: mdk.INFO: 2023-11-23 10:28:27.619942: opening video decoder: VideoToolbox...
flutter: mdk.INFO: 2023-11-23 10:28:27.620037: opening ffmpeg video decoder: h264 ...
flutter: mdk.INFO: 2023-11-23 10:28:27.620182: Try to use IOSurface OpenGL(ES) interop: true
flutter: mdk.INFO: 2023-11-23 10:28:27.620318: AVCodec.Video[h264.] decoder: 1 Single threads
flutter: mdk.INFO: 2023-11-23 10:28:27.620448: unsupported avcodec options: hwcontext=videotoolbox
flutter: mdk.INFO: 2023-11-23 10:28:27.620536: h264 yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0 960x540
flutter: fvp.FINE: 2023-11-23 10:28:27.620626: 961490308 player4417346832 onEvent: decoder.video 0
flutter: mdk.INFO: 2023-11-23 10:28:27.620714: decode stored recovery packets: 0
flutter: mdk.INFO: 2023-11-23 10:28:27.620796: ***buffering progress 100%***
flutter: mdk.INFO: 2023-11-23 10:28:27.620873: default 0x1074b7040 FrameReader::update MediaStatus 0X14=>0X124
flutter: mdk.INFO: 2023-11-23 10:28:27.620951: AudioQueueStart ERROR: 0
flutter: fvp.FINE: 2023-11-23 10:28:27.621070: 961490308 player4417346832 onMediaStatus: MediaStatus(+loaded+buffering) => MediaStatus(+loaded+prepared+buffered)
flutter: mdk.INFO: 2023-11-23 10:28:27.621343: ++++++++++++BUFFERING END++++++++++++
flutter: mdk.INFO: 2023-11-23 10:28:27.621481:
flutter: fvp.FINE: 2023-11-23 10:28:27.621714: 961490308 player4417346832 onEvent: reader.buffering 100
flutter: mdk.INFO: 2023-11-23 10:28:27.621943: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.622246: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.622350: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.622494: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.622636: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.622770: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.622919: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.623054: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.623178: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.623282: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.623363: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.623444: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.623524: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.623604: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.623681: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.623758: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.635995: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.636222: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.636334: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.636432: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.636521: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.636603: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:28:27.636894: h264 codec pixel format list: (expected videotoolbox_vld)
flutter: mdk.INFO: 2023-11-23 10:28:27.636984: videotoolbox_vld (selected)
flutter: mdk.INFO: 2023-11-23 10:28:27.637069: yuvj420p
flutter: mdk.INFO: 2023-11-23 10:28:27.638158: no sw format is requested, and no special option is required for hw frames context. using AVHWFramesContext created by avcodec
flutter: mdk.INFO: 2023-11-23 10:28:27.638306: hwdec hw output pixel format: videotoolbox_vld
flutter: fvp.FINE: 2023-11-23 10:28:27.638377: 961490308 player4417346832 onEvent: decoder.video 0
flutter: mdk.INFO: 2023-11-23 10:28:27.704903: video stream#1 sending 1 invalid AOT frame @5.867000s. seeking: 0
flutter: mdk.INFO: 2023-11-23 10:28:27.705016: 0x12382ae00 1st video frame to render @5.867000s, sync time: 0.000000
flutter: mdk.INFO: 2023-11-23 10:28:27.705061: VideoRenderer clear buffered frames
flutter: mdk.INFO: 2023-11-23 10:28:27.705097: 0-track seek end video frame @5.867000 seek_pos_: -1
flutter: mdk.INFO: 2023-11-23 10:28:27.705136: 0x12382ae00 1st video frame to render @5.867000s, sync time: 0.000000
flutter: mdk.INFO: 2023-11-23 10:28:27.705214: VideoRenderer WxH=960.000000x540.000000 960.000000x540.000000, frame: 960x540
flutter: mdk.INFO: 2023-11-23 10:28:27.705257: update transform 2d. scale: (1.000000, 1.000000), orientation: 0
flutter: mdk.INFO: 2023-11-23 10:28:27.705303: m: mat<4, 4>(
flutter: mdk.INFO: 2023-11-23 10:28:27.705343: 1 0 0 0
flutter: mdk.INFO: 2023-11-23 10:28:27.705401: 0 1 0 0
flutter: mdk.INFO: 2023-11-23 10:28:27.705455: 0 0 1 0
flutter: mdk.INFO: 2023-11-23 10:28:27.705500: 0 0 0 1
flutter: mdk.INFO: 2023-11-23 10:28:27.705531: )
flutter: mdk.INFO: 2023-11-23 10:28:27.705577: unknown, bpc:0, bpp:0(), channels:(), map: 0 0 0 0 => mapped nv12, bpc:8, bpp:12(8,16), channels:(1,2), map: 0 1 2 0
flutter: mdk.INFO: 2023-11-23 10:28:27.705626: Metal pixel format 0: MTLPixelFormatR8Unorm
flutter: mdk.INFO: 2023-11-23 10:28:27.705662: Metal pixel format 1: MTLPixelFormatRG8Unorm
flutter: mdk.INFO: 2023-11-23 10:28:27.705719: frame color: UNSPECIFIED UNSPECIFIED UNSPECIFIED Full. gamma: 2.200000, signal peak: 1.000000
flutter: mdk.INFO: 2023-11-23 10:28:27.705756: -
flutter: mdk.INFO: 2023-11-23 10:28:27.705820: output color: BT709 UNSPECIFIED RGB Full. gamma: 2.200000, signal peak: 1.000000
flutter: mdk.INFO: 2023-11-23 10:28:27.705886: rgb primaries matrix: mat<3, 3>(
flutter: mdk.INFO: 2023-11-23 10:28:27.705935: 1 4.08422e-09 1.90629e-09
flutter: mdk.INFO: 2023-11-23 10:28:27.705978: -1.97514e-08 1 4.36139e-09
flutter: mdk.INFO: 2023-11-23 10:28:27.706035: 2.49444e-09 3.82445e-09 1
flutter: mdk.INFO: 2023-11-23 10:28:27.706084: )
flutter: mdk.INFO: 2023-11-23 10:28:27.706196: color transform: mat<4, 4>(
flutter: mdk.INFO: 2023-11-23 10:28:27.706230: 1 0 1.5748 -0.7874
flutter: mdk.INFO: 2023-11-23 10:28:27.706286: 1 -0.187324 -0.468124 0.327724
flutter: mdk.INFO: 2023-11-23 10:28:27.706320: 1 1.8556 0 -0.9278
flutter: mdk.INFO: 2023-11-23 10:28:27.706438: 0 0 0 1
flutter: mdk.INFO: 2023-11-23 10:28:27.706489: )
flutter: mdk.INFO: 2023-11-23 10:28:27.706576: EQ: mat<4, 4>(
flutter: mdk.INFO: 2023-11-23 10:28:27.706637: 1 0 0 0
flutter: mdk.INFO: 2023-11-23 10:28:27.706677: 0 1 0 0
flutter: mdk.INFO: 2023-11-23 10:28:27.706749: 0 0 1 0
flutter: mdk.INFO: 2023-11-23 10:28:27.706826: 0 0 0 1
flutter: mdk.INFO: 2023-11-23 10:28:27.706876: )
flutter: fvp.FINE: 2023-11-23 10:28:27.711296: 961490308 player4417346832 onEvent: render.video 5867
flutter: mdk.INFO: 2023-11-23 10:28:27.711383: video stream#1 AOT frame is sent
MacOS stutters
flutter: fvp.FINE: 2023-11-23 10:19:33.429439: 976324062 player5116891840 create(rtsp://192.168.169.1:554)
flutter: mdk.INFO: 2023-11-23 10:19:33.531739: default0x133493bb0 new FrameReader...
flutter: mdk.INFO: 2023-11-23 10:19:33.531824: Registered audio backends: AudioQueue OpenAL null
flutter: mdk.INFO: 2023-11-23 10:19:33.531855: default0x13347ac50 new FrameReader...
flutter: mdk.INFO: 2023-11-23 10:19:33.531884: Registered audio backends: AudioQueue OpenAL null
flutter: mdk.INFO: 2023-11-23 10:19:33.531911: 0x130fbf2b0mdk::Player::Player()
flutter: mdk.INFO: 2023-11-23 10:19:33.532090: player property: avio.protocol_whitelist = file,rtmp,http,https,tls,rtp,tcp,udp,crypto,httpproxy,data,concatf,concat,subfile
flutter: mdk.INFO: 2023-11-23 10:19:33.532188: player property: avformat.rtsp_transport = tcp
flutter: mdk.INFO: 2023-11-23 10:19:33.532268: video decoders: "VT", "VideoToolbox", "FFmpeg"
flutter: mdk.INFO: 2023-11-23 10:19:33.532317: video decoders: "VT", "VideoToolbox", "FFmpeg"
flutter: mdk.INFO: 2023-11-23 10:19:33.532349: player property: avformat.fflags = +nobuffer
flutter: mdk.INFO: 2023-11-23 10:19:33.532376: player property: avformat.fpsprobesize = 0
flutter: mdk.INFO: 2023-11-23 10:19:33.532400: default FrameReader0x133493bb0 state: 0=>0=>0, 0
flutter: mdk.INFO: 2023-11-23 10:19:33.532424: default0x133493bb0 virtual void mdk::FrameReader::stop(), current state: 0
flutter: mdk.INFO: 2023-11-23 10:19:33.532449: default FrameReader0x133493bb0 state: 0=>0=>0, 0
flutter: mdk.INFO: 2023-11-23 10:19:33.532472: default0x133493bb0 virtual void mdk::FrameReader::stop(), current state: 0
flutter: mdk.INFO: 2023-11-23 10:19:33.532588: AudioQueueStart ERROR: 0
flutter: mdk.INFO: 2023-11-23 10:19:33.532614: 0x171204400 MediaControl.prepare(0, ...) rtsp://192.168.169.1:554
flutter: mdk.INFO: 2023-11-23 10:19:33.532638: default 0x133493bb0 FrameReader.start(0, ...)
flutter: mdk.INFO: 2023-11-23 10:19:33.532662: default 0x133493bb0 FrameReader::update MediaStatus 0=>0X2
flutter: fvp.FINE: 2023-11-23 10:19:33.534180: 622521020 player5116891840 onMediaStatus: MediaStatus(noMedia) => MediaStatus(+loading)
flutter: mdk.INFO: 2023-11-23 10:19:33.534789: default FrameReader0x133493bb0 state: 0=>0=>1, 0
flutter: mdk.INFO: 2023-11-23 10:19:33.534826: default FrameReader0x133493bb0 state: 0=>1=>1, 0
flutter: mdk.INFO: 2023-11-23 10:19:33.534852: start frame reader thread: 0x170c13000
flutter: mdk.INFO: 2023-11-23 10:19:33.534876: FFmpeg/Libav runtime git-2023-10-29-1056575-avbuild
flutter: mdk.INFO: 2023-11-23 10:19:33.534900: Selected avutil runtime version: 58.28.100 (build: 58.28.100), license: LGPL version 2.1 or later
flutter: mdk.INFO: 2023-11-23 10:19:33.534926: Selected avutil runtime configuration: --extra-version=avbuild --disable-doc --disable-debug --disable-static --enable-shared --enable-runtime-cpudetect --disable-vulkan --enable-libxml2 --disable-libxcb --disable-xlib --disable-postproc --enable-cross-compile --arch=arm64 --target-os=darwin --install_name_dir='@rpath' --cc=clang --sysroot=/Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk --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 --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 --enable-decoder='*sub*,movtext,*web*,aac*,*ac3*,alac*,ape,ass,av1*,ccaption,cfhd,cook,dca,dnxhd,eac3*,exr,truehd,ff*,*yuv*,flv,flac,gif,h26[3-4]*,hevc*,hap,mp[1-3]*,prores,*peg*,mlp,mpl2,nellymoser,opus,pcm*,qtrle,*png*,tiff,rawvideo,rv*,sami,srt,ssa,v210*,vc1*,vorbis,vp[6-9]*,wm*,wrapped_avframe' --enable-demuxer='*sub*,*ac3,*ac,*peg*,*web*,au,ape,ass,avi,concat,dnxhd,dts*,*dash*,*flv,gif,hls,h264,hevc,kux,matroska,mov,mp3,mxf,ogg,pcm*,rawvideo,rt*p,spdif,srt,vc1,v210*,wav,*pipe,image2,mlv,nsv,nut' --enable-encoder='aac,cfhd,dnxhd,exr,ff*,*yuv*,gif,h26[3-4]*,av1*,hevc*,mjpeg*,*png,opus,pcm*,prores*,rawvideo,spdif,speedhq,*jpeg,*png,tiff,vp[8-9]*,wrapped_avframe,*nvenc,*qsv,*v4l2m2m,*vaapi,vorbis' --enable-muxer='*jpeg,dnxhd,fifo,flv,gif,hls,h264,hevc,image2,mov,mp4,mpegts,matroska,null,og*,pcm*,rawvideo,spdif,*pipe,*segment,webm,wav,dash,nu*'
flutter: mdk.INFO: 2023-11-23 10:19:33.534974: global option: ffmpeg.configuration = --extra-version=avbuild --disable-doc --disable-debug --disable-static --enable-shared --enable-runtime-cpudetect --disable-vulkan --enable-libxml2 --disable-libxcb --disable-xlib --disable-postproc --enable-cross-compile --arch=arm64 --target-os=darwin --install_name_dir='@rpath' --cc=clang --sysroot=/Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk --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 --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 --enable-decoder='*sub*,movtext,*web*,aac*,*ac3*,alac*,ape,ass,av1*,ccaption,cfhd,cook,dca,dnxhd,eac3*,exr,truehd,ff*,*yuv*,flv,flac,gif,h26[3-4]*,hevc*,hap,mp[1-3]*,prores,*peg*,mlp,mpl2,nellymoser,opus,pcm*,qtrle,*png*,tiff,rawvideo,rv*,sami,srt,ssa,v210*,vc1*,vorbis,vp[6-9]*,wm*,wrapped_avframe' --enable-demuxer='*sub*,*ac3,*ac,*peg*,*web*,au,ape,ass,avi,concat,dnxhd,dts*,*dash*,*flv,gif,hls,h264,hevc,kux,matroska,mov,mp3,mxf,ogg,pcm*,rawvideo,rt*p,spdif,srt,vc1,v210*,wav,*pipe,image2,mlv,nsv,nut' --enable-encoder='aac,cfhd,dnxhd,exr,ff*,*yuv*,gif,h26[3-4]*,av1*,hevc*,mjpeg*,*png,opus,pcm*,prores*,rawvideo,spdif,speedhq,*jpeg,*png,tiff,vp[8-9]*,wrapped_avframe,*nvenc,*qsv,*v4l2m2m,*vaapi,vorbis' --enable-muxer='*jpeg,dnxhd,fifo,flv,gif,hls,h264,hevc,image2,mov,mp4,mpegts,matroska,null,og*,pcm*,rawvideo,spdif,*pipe,*segment,webm,wav,dash,nu*'
flutter: mdk.INFO: 2023-11-23 10:19:33.535048: global option: ffmpeg.version = 6
flutter: mdk.INFO: 2023-11-23 10:19:33.535072: av_dict_set0x1022f4268
flutter: mdk.WARNING: 2023-11-23 10:19:33.535161: Failed to create io for url. io: 0x0, open: false
flutter: mdk.INFO: 2023-11-23 10:19:33.535187: default 0x133493bb0 FrameReader::update MediaStatus 0X2=>0X2
flutter: mdk.INFO: 2023-11-23 10:19:33.535293: Selected avcodec runtime version: 60.30.102 (build: 60.30.102), license: LGPL version 2.1 or later
flutter: mdk.INFO: 2023-11-23 10:19:33.535351: av_packet_alloc0x102141c68
flutter: mdk.INFO: 2023-11-23 10:19:33.535406: Selected avformat runtime version: 60.15.101 (build: 60.15.101), license: LGPL version 2.1 or later
flutter: mdk.INFO: 2023-11-23 10:19:33.535433: avformat_alloc_context0x10226f948
flutter: mdk.INFO: 2023-11-23 10:19:33.535486: before avformat_open_input. io: 0x0(/pb: 0x0, url: rtsp://192.168.169.1:554
flutter: mdk.INFO: 2023-11-23 10:19:33.535529: FFmpeg/Libav runtime git-2023-10-29-1056575-avbuild
flutter: mdk.INFO: 2023-11-23 10:19:33.834700: after avformat_open_input. pb: 0x0, iformat: 0x102573ee0 context flags: 2097216, input format flags: 1
flutter: mdk.INFO: 2023-11-23 10:19:33.835316: [FFmpeg:aac] invalid sampling rate index 13
flutter: mdk.INFO: 2023-11-23 10:19:33.835414: [FFmpeg:rtsp] Failed to open codec in avformat_find_stream_info
flutter: mdk.INFO: 2023-11-23 10:19:39.297501: [FFmpeg:rtsp] Could not find codec parameters for stream 0 (Audio: aac, 44100 Hz, 0 channels, fltp): unspecified number of channels
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
flutter: mdk.INFO: 2023-11-23 10:19:39.297789: supports 205 ffmpeg sw pixel formats. unsupported: uyyvyy411 x2rgb10be x2bgr10be p212be p212le p412be p412le gbrap14be gbrap14le
flutter: mdk.INFO: 2023-11-23 10:19:39.297987: Format: rtsp, range: 233 +0ms, bitrate: 0, size: 0
Streams: 2
Video:
stream#1, range: 233 +0ms, frames: 0
codec: h264 tag: 0 profile: 100 level: 51, yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0, bitrate: 0, 960x540, fps: 30, bframes: 0, range: Full
extra data(40): 00 00 00 01 00 00 00 01 67 64 00 33 AC EA 0F 01 15 EE 6C 80 00 01 F4 00 00 75 30 42 00 00 00 01 00 00 00 01 68 EE 3C B0
Audio:
stream#0, range: 0 +0ms, frames: 0
codec: aac tag: 0 profile: -99 level: -99, sample size: 0/0, block align: 0, frame_size: 0, f32p mono(1) @44100Hz, bitrate: 0
extra data(5): 0E 80 56 E5 00
flutter: mdk.INFO: 2023-11-23 10:19:39.298095: default FrameReader0x133493bb0 request to pause 1, loaded: 0.
flutter: mdk.INFO: 2023-11-23 10:19:39.298396: default FrameReader0x133493bb0 state: 0=>1=>2, 0
flutter: mdk.INFO: 2023-11-23 10:19:39.298575: default FrameReader0x133493bb0 state requested: 2, current: 0
flutter: mdk.INFO: 2023-11-23 10:19:39.298603: 142 AudioBackendAudioQueue ERROR>>> AudioQueuePause(queue_): -50
flutter: mdk.INFO: 2023-11-23 10:19:39.298627:
flutter: mdk.INFO: 2023-11-23 10:19:39.298948: 0x171204400 prepared callback is invoked
flutter: mdk.INFO: 2023-11-23 10:19:39.306362: default 0x133493bb0 FrameReader::update MediaStatus 0X2=>0X4
flutter: fvp.FINE: 2023-11-23 10:19:39.306456: 622521020 player5116891840 onMediaStatus: MediaStatus(+loading) => MediaStatus(+loaded)
flutter: mdk.INFO: 2023-11-23 10:19:39.306834: ***buffering progress 0%***
flutter: mdk.INFO: 2023-11-23 10:19:39.306870: default 0x133493bb0 FrameReader::update MediaStatus 0X4=>0X14
flutter: mdk.INFO: 2023-11-23 10:19:39.306898: 142 AudioBackendAudioQueue ERROR>>> AudioQueuePause(queue_): -50
flutter: mdk.INFO: 2023-11-23 10:19:39.306924:
flutter: fvp.FINE: 2023-11-23 10:19:39.306954: 622521020 player5116891840 onMediaStatus: MediaStatus(+loaded) => MediaStatus(+loaded+buffering)
flutter: mdk.INFO: 2023-11-23 10:19:39.306994: ++++++++++++BUFFERING START++++++++++++
flutter: mdk.INFO: 2023-11-23 10:19:39.307018:
flutter: fvp.FINE: 2023-11-23 10:19:39.307416: 622521020 player5116891840 onEvent: reader.buffering 0
flutter: mdk.INFO: 2023-11-23 10:19:39.313806: setLoop(0), now 0/0
flutter: mdk.INFO: 2023-11-23 10:19:39.313861: 0x171204400 virtual void mdk::MediaControlPush::setState(mdk::PlaybackState)@1013 requested state 2=>2, current state 0. status: 0X14
flutter: mdk.INFO: 2023-11-23 10:19:39.313893: 142 AudioBackendAudioQueue ERROR>>> AudioQueuePause(queue_): -50
flutter: mdk.INFO: 2023-11-23 10:19:39.313921:
flutter: mdk.INFO: 2023-11-23 10:19:39.313972: default FrameReader0x133493bb0 request to pause 1, loaded: 4.
flutter: mdk.INFO: 2023-11-23 10:19:39.314010: default FrameReader0x133493bb0 state: 0=>2=>2, 0
flutter: mdk.INFO: 2023-11-23 10:19:39.314040: 0x171204400 virtual void mdk::MediaControlPush::setState(mdk::PlaybackState)@1013 requested state 2=>1, current state 0. status: 0X14
flutter: mdk.INFO: 2023-11-23 10:19:39.314068: AudioQueueStart ERROR: 0
flutter: mdk.INFO: 2023-11-23 10:19:39.314094: default FrameReader0x133493bb0 request to pause 0, loaded: 4.
flutter: mdk.INFO: 2023-11-23 10:19:39.314128: default FrameReader0x133493bb0 state: 0=>2=>1, 0
flutter: mdk.INFO: 2023-11-23 10:19:39.314153: default FrameReader0x133493bb0 state requested: 1, current: 0
flutter: mdk.INFO: 2023-11-23 10:19:39.333811: 0 pkt duration: 0.033333, duration:4867, dy_duration_delta=0=>33, live_eos_timeout=5000
flutter: mdk.INFO: 2023-11-23 10:19:39.333888: 0 pkt duration: 0.033333, duration:4867, dy_duration_delta=0=>33, live_eos_timeout=5000
flutter: mdk.INFO: 2023-11-23 10:19:39.333920: default FrameReader0x133493bb0 state: 0=>1=>1, 1
flutter: mdk.INFO: 2023-11-23 10:19:39.333945: default FrameReader0x133493bb0 update state: 0=>1
flutter: fvp.FINE: 2023-11-23 10:19:39.334153: 622521020 player5116891840 onPlaybackStateChanged: PlaybackState.stopped => PlaybackState.playing
flutter: mdk.INFO: 2023-11-23 10:19:39.334267: default FrameReader0x133493bb0 state: 1=>1=>2, 1
flutter: mdk.INFO: 2023-11-23 10:19:39.334292: default FrameReader0x133493bb0 update state: 1=>2
flutter: fvp.FINE: 2023-11-23 10:19:39.334319: 622521020 player5116891840 onPlaybackStateChanged: PlaybackState.playing => PlaybackState.paused
flutter: mdk.INFO: 2023-11-23 10:19:39.334390: starting decode loop thread mdk.vdec1@0x171d87000
flutter: fvp.FINE: 2023-11-23 10:19:39.334417: 622521020 player5116891840 onEvent: thread.video 1
flutter: mdk.INFO: 2023-11-23 10:19:39.334442: video stream#1 starting decoding loop from decoder index 0...
flutter: mdk.INFO: 2023-11-23 10:19:39.334465: creating video decoder: VT...
flutter: mdk.INFO: 2023-11-23 10:19:39.334490: Try to use IOSurface OpenGL(ES) interop: true
flutter: mdk.INFO: 2023-11-23 10:19:39.334513: opening video decoder: VideoToolbox...
flutter: mdk.INFO: 2023-11-23 10:19:39.334535: codec 'avc1' for VT
flutter: mdk.INFO: 2023-11-23 10:19:39.358960: VT hardware decode support: 1
flutter: mdk.INFO: 2023-11-23 10:19:39.359068: bad level detected in stream
flutter: mdk.INFO: 2023-11-23 10:19:39.359112: NALU count: 4
flutter: mdk.INFO: 2023-11-23 10:19:39.359139: 0: 4+0, unused
flutter: mdk.INFO: 2023-11-23 10:19:39.359165: 1: 8+20, SPS
flutter: mdk.INFO: 2023-11-23 10:19:39.359188: 2: 32+0, unused
flutter: mdk.INFO: 2023-11-23 10:19:39.359211: 3: 36+4, PPS
flutter: mdk.INFO: 2023-11-23 10:19:39.359234: virtual bool mdk::VideoToolboxDecoder::open()207 ERROR>>> CMVideoFormatDescriptionCreateFromH264ParameterSets(kCFAllocatorDefault, ps_count, ps.data(), ps_len.data(), nalu_header_len_, &fmtdesc_): -12712
flutter: mdk.INFO: 2023-11-23 10:19:39.359261:
flutter: mdk.INFO: 2023-11-23 10:19:39.359293: 0x1330536d0UGL::opengl::Context::Local<mdk::CVBufferPool::ctx_res_t>::~Local() [T = mdk::CVBufferPool::ctx_res_t, DT = mdk::CVBufferPool::ctx_res_t]0x0 count: 0
flutter: mdk.INFO: 2023-11-23 10:19:39.359319: 0x133053698virtual mdk::NativeVideoBufferPool::~NativeVideoBufferPool()
flutter: mdk.WARNING: 2023-11-23 10:19:39.359397: ERROR! failed to setup decoder: video
flutter: fvp.FINE: 2023-11-23 10:19:39.359434: 622521020 player5116891840 onEvent: decoder.video -1
flutter: mdk.INFO: 2023-11-23 10:19:39.359465: 0x171204400 1st video frame to render @0.000000s, sync time: 0.000000
flutter: mdk.INFO: 2023-11-23 10:19:39.359493: unsupported pixel format for Metal: unknown, bpc:0, bpp:0(), channels:(), map: 0 0 0 0
flutter: mdk.INFO: 2023-11-23 10:19:39.359518: 0-track seek end video frame @0.000000 seek_pos_: -1
flutter: mdk.INFO: 2023-11-23 10:19:39.359542: 0x171204400 1st video frame to render @-1.000000s, sync time: 0.000000
flutter: mdk.INFO: 2023-11-23 10:19:39.359565: invalid video frame @-1.000000
flutter: mdk.INFO: 2023-11-23 10:19:39.359590: try the next decoder if available
flutter: mdk.INFO: 2023-11-23 10:19:39.359614: video stream#1 starting decoding loop from decoder index 1...
flutter: mdk.INFO: 2023-11-23 10:19:39.359636: creating video decoder: VideoToolbox...
flutter: mdk.INFO: 2023-11-23 10:19:39.359659: opening video decoder: VideoToolbox...
flutter: mdk.INFO: 2023-11-23 10:19:39.359690: opening ffmpeg video decoder: h264 ...
flutter: mdk.INFO: 2023-11-23 10:19:39.359712: Try to use IOSurface OpenGL(ES) interop: true
flutter: mdk.INFO: 2023-11-23 10:19:39.359735: AVCodec.Video[h264.] decoder: 1 Single threads
flutter: mdk.INFO: 2023-11-23 10:19:39.359758: unsupported avcodec options: hwcontext=videotoolbox
flutter: mdk.INFO: 2023-11-23 10:19:39.359785: h264 yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0 960x540
flutter: fvp.FINE: 2023-11-23 10:19:39.359811: 622521020 player5116891840 onEvent: decoder.video 0
flutter: mdk.INFO: 2023-11-23 10:19:39.359841: decode stored recovery packets: 0
flutter: mdk.INFO: 2023-11-23 10:19:39.359863: ***buffering progress 100%***
flutter: mdk.INFO: 2023-11-23 10:19:39.359885: default 0x133493bb0 FrameReader::update MediaStatus 0X14=>0X124
flutter: mdk.INFO: 2023-11-23 10:19:39.359909: AudioQueueStart ERROR: 0
flutter: fvp.FINE: 2023-11-23 10:19:39.359946: 622521020 player5116891840 onMediaStatus: MediaStatus(+loaded+buffering) => MediaStatus(+loaded+prepared+buffered)
flutter: mdk.INFO: 2023-11-23 10:19:39.360058: ++++++++++++BUFFERING END++++++++++++
flutter: mdk.INFO: 2023-11-23 10:19:39.360082:
flutter: fvp.FINE: 2023-11-23 10:19:39.360106: 622521020 player5116891840 onEvent: reader.buffering 100
flutter: mdk.INFO: 2023-11-23 10:19:39.360310: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.363171: default FrameReader0x133493bb0 state: 2=>2=>1, 1
flutter: mdk.INFO: 2023-11-23 10:19:39.363306: default FrameReader0x133493bb0 update state: 2=>1
flutter: fvp.FINE: 2023-11-23 10:19:39.363401: 622521020 player5116891840 onPlaybackStateChanged: PlaybackState.paused => PlaybackState.playing
flutter: mdk.INFO: 2023-11-23 10:19:39.363585: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.398694: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.427896: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.460526: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.523723: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.532532: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.561325: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.594013: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.627705: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.666603: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.697235: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.729779: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.761455: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.794199: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.828093: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.859861: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.900213: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.936561: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.963074: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:39.993415: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:40.027661: video stream#1 1st [email protected] to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk.INFO: 2023-11-23 10:19:40.068408: h264 codec pixel format list: (expected videotoolbox_vld)
flutter: mdk.INFO: 2023-11-23 10:19:40.068522: videotoolbox_vld (selected)
flutter: mdk.INFO: 2023-11-23 10:19:40.068580: yuvj420p
flutter: mdk.INFO: 2023-11-23 10:19:40.068625: no sw format is requested, and no special option is required for hw frames context. using AVHWFramesContext created by avcodec
flutter: mdk.INFO: 2023-11-23 10:19:40.068655: hwdec hw output pixel format: videotoolbox_vld
flutter: fvp.FINE: 2023-11-23 10:19:40.068702: 622521020 player5116891840 onEvent: decoder.video 0
flutter: mdk.INFO: 2023-11-23 10:19:40.149131: video stream#1 sending 1 invalid AOT frame @5.833000s. seeking: 0
flutter: mdk.INFO: 2023-11-23 10:19:40.149302: 0x171204400 1st video frame to render @5.833000s, sync time: 0.000000
flutter: mdk.INFO: 2023-11-23 10:19:40.149351: VideoRenderer clear buffered frames
flutter: mdk.INFO: 2023-11-23 10:19:40.149446: 0-track seek end video frame @5.833000 seek_pos_: -1
flutter: mdk.INFO: 2023-11-23 10:19:40.149477: 0x171204400 1st video frame to render @5.833000s, sync time: 0.000000
flutter: mdk.INFO: 2023-11-23 10:19:40.149507: VideoRenderer WxH=960.000000x540.000000 960.000000x540.000000, frame: 960x540
flutter: mdk.INFO: 2023-11-23 10:19:40.149534: update transform 2d. scale: (1.000000, 1.000000), orientation: 0
flutter: mdk.INFO: 2023-11-23 10:19:40.149558: m: mat<4, 4>(
flutter: mdk.INFO: 2023-11-23 10:19:40.149581: 1 0 0 0
flutter: mdk.INFO: 2023-11-23 10:19:40.149606: 0 1 0 0
flutter: mdk.INFO: 2023-11-23 10:19:40.149722: 0 0 1 0
flutter: mdk.INFO: 2023-11-23 10:19:40.149954: 0 0 0 1
flutter: mdk.INFO: 2023-11-23 10:19:40.149998: )
flutter: mdk.INFO: 2023-11-23 10:19:40.150029: unknown, bpc:0, bpp:0(), channels:(), map: 0 0 0 0 => mapped nv12, bpc:8, bpp:12(8,16), channels:(1,2), map: 0 1 2 0
flutter: mdk.INFO: 2023-11-23 10:19:40.150059: Metal pixel format 0: MTLPixelFormatR8Unorm
flutter: mdk.INFO: 2023-11-23 10:19:40.150084: Metal pixel format 1: MTLPixelFormatRG8Unorm
flutter: mdk.INFO: 2023-11-23 10:19:40.150111: frame color: UNSPECIFIED UNSPECIFIED UNSPECIFIED Full. gamma: 2.200000, signal peak: 1.000000
flutter: mdk.INFO: 2023-11-23 10:19:40.150258: -
flutter: mdk.INFO: 2023-11-23 10:19:40.150342: output color: BT709 UNSPECIFIED RGB Full. gamma: 2.200000, signal peak: 1.000000
flutter: mdk.INFO: 2023-11-23 10:19:40.150414: rgb primaries matrix: mat<3, 3>(
flutter: mdk.INFO: 2023-11-23 10:19:40.150469: 1 4.08422e-09 1.90629e-09
flutter: mdk.INFO: 2023-11-23 10:19:40.150602: -1.97514e-08 1 4.36139e-09
flutter: mdk.INFO: 2023-11-23 10:19:40.150641: 2.49444e-09 3.82445e-09 1
flutter: mdk.INFO: 2023-11-23 10:19:40.150665: )
flutter: mdk.INFO: 2023-11-23 10:19:40.150689: color transform: mat<4, 4>(
flutter: mdk.INFO: 2023-11-23 10:19:40.150713: 1 0 1.5748 -0.7874
flutter: mdk.INFO: 2023-11-23 10:19:40.150736: 1 -0.187324 -0.468124 0.327724
flutter: mdk.INFO: 2023-11-23 10:19:40.150759: 1 1.8556 0 -0.9278
flutter: mdk.INFO: 2023-11-23 10:19:40.150781: 0 0 0 1
flutter: mdk.INFO: 2023-11-23 10:19:40.150802: )
flutter: mdk.INFO: 2023-11-23 10:19:40.150824: EQ: mat<4, 4>(
flutter: mdk.INFO: 2023-11-23 10:19:40.150852: 1 0 0 0
flutter: mdk.INFO: 2023-11-23 10:19:40.150874: 0 1 0 0
flutter: mdk.INFO: 2023-11-23 10:19:40.150895: 0 0 1 0
flutter: mdk.INFO: 2023-11-23 10:19:40.150916: 0 0 0 1
flutter: mdk.INFO: 2023-11-23 10:19:40.150937: )
flutter: fvp.FINE: 2023-11-23 10:19:40.459135: 622521020 player5116891840 onEvent: render.video 5833
flutter: mdk.INFO: 2023-11-23 10:19:40.459230: video stream#1 AOT frame is sent
flutter: mdk.INFO: 2023-11-23 10:19:45.929449: 0 pkt duration: 0.034367, duration:11467, dy_duration_delta=33=>34, live_eos_timeout=5000
flutter: mdk.INFO: 2023-11-23 10:19:45.929534: 0 pkt duration: 0.034367, duration:11467, dy_duration_delta=33=>34, live_eos_timeout=5000
from fvp.
'lowLatency' == 2 will drop frames but no log, you can try value 1. Can you record the screen? btw, macOS and iOS are almost the same, so macOS log is enough
from fvp.
Related Issues (20)
- Unable to play an MPEGTS stream when probe size is set to a low value HOT 1
- Video Playback Issues Across Different Systems HOT 4
- Cannot load so on old version android HOT 6
- Crashes/green screen when enable hardware acceleration on Amlogic devices HOT 15
- issue running on macos HOT 5
- Linux compile error HOT 5
- Long buffering time when loading video with multiple tracks HOT 6
- Faulting application name: gemini.exe, version: 1.0.0.1 Faulting module name: flutter_windows.dll HOT 7
- run on nixos HOT 3
- 播放 rtsp 的时候,播放中断后无法自动恢复 HOT 8
- Video Playback Issues Across Different Systems HOT 13
- orientation issue in some videos on ios HOT 5
- How to get available subtitles text from subtitle track HOT 29
- Failed to load dynamic library libfvp_plugin.so on Android HOT 9
- the first video frame is not decoded HOT 1
- Video filckers and become transparent for a few frames HOT 8
- How to run example in macos HOT 2
- A small unimportant wish HOT 6
- Android application crash caused by fvp HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fvp.