Comments (13)
是的
from ksplayer.
KSMEPlayer
since recently started to freeze the entire apps.
I noticed this especially when starting a movie from a starting point major than zero, or when starting live streamings.
This has been reported from many users also.
warning KSPlayer: MEPlayerItem.swift:455 readThread() | seek to 1876.277 spend Time: 2.6605202499995357
warning KSPlayer: KSOptions.swift:432 outputNumberOfChannels(channels:isUseAudioRenderer:) | [audio] maximumOutputNumberOfChannels: 2
warning KSPlayer: KSOptions.swift:433 outputNumberOfChannels(channels:isUseAudioRenderer:) | [audio] preferredOutputNumberOfChannels: 2
warning KSPlayer: KSOptions.swift:436 outputNumberOfChannels(channels:isUseAudioRenderer:) | [audio] isSpatialAudioEnabled: false
warning KSPlayer: KSOptions.swift:437 outputNumberOfChannels(channels:isUseAudioRenderer:) | [audio] isUseAudioRenderer: false
warning KSPlayer: KSOptions.swift:449 outputNumberOfChannels(channels:isUseAudioRenderer:) | [audio] currentRoute max channels: 2
warning KSPlayer: KSOptions.swift:453 outputNumberOfChannels(channels:isUseAudioRenderer:) | [audio] outputNumberOfChannels: 2
warning KSPlayer: AVFFmpegExtension.swift:398 layoutTag | [audio] FFmepg AVChannelLayout: stereo order: AVChannelOrder(rawValue: 1) mask: 3
warning KSPlayer: Resample.swift:290 audioFormat(channels:isUseAudioRenderer:) | [audio] out channelLayout: stereo
142,347 HALC_ProxyIOContext.cpp:1,329 HALC_ProxyIOContext::IOWorkLoop: skipping cycle due to overload
error KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | Failed setup for format videotoolbox_vld: hwaccel initialisation returned error.
warning KSPlayer: KSPlayerLayer.swift:383 changeLoadState(player:) | ["openTime": 0.9699750409999979, "tcpTime": 0.17232837500341702, "dnsTime": 0.00024129200028255582, "readAudioTime": 3.0466242080001393, "decodeAudioTime": 0.08754749999934575, "readyTime": 0.022744292000425048, "firstTime": 5.044993583003816, "initTime": 0.02800862499861978, "readVideoTime": 3.0450018329938757, "decodeVideoTime": 0.2574539170018397, "findTime": 0.03654575000109617]
warning KSPlayer: KSPlayerLayer.swift:138 state | playerStateDidChange - bufferFinished
warning KSPlayer: AudioEnginePlayer.swift:146 ceateSourceNode(audioFormat:) | [audio] outputFormat AudioFormat: <AVAudioFormat 0x6000065e7890: 2 ch, 48000 Hz, Float32, deinterleaved>
warning KSPlayer: AudioEnginePlayer.swift:148 ceateSourceNode(audioFormat:) | [audio] outputFormat tag: 6619138
warning KSPlayer: AudioEnginePlayer.swift:149 ceateSourceNode(audioFormat:) | [audio] outputFormat channelDescriptions: []
AURemoteIO.cpp:1,747 AURemoteIO::Stop: error 268,451,843 calling TerminateOwnIOThread (port 257,327)
from ksplayer.
Or also
warning KSPlayer: AudioEnginePlayer.swift:146 ceateSourceNode(audioFormat:) | [audio] outputFormat AudioFormat: <AVAudioFormat 0x6000065e7890: 2 ch, 48000 Hz, Float32, deinterleaved>
warning KSPlayer: AudioEnginePlayer.swift:148 ceateSourceNode(audioFormat:) | [audio] outputFormat tag: 6619138
warning KSPlayer: AudioEnginePlayer.swift:149 ceateSourceNode(audioFormat:) | [audio] outputFormat channelDescriptions: []
AURemoteIO.cpp:1,747 AURemoteIO::Stop: error 268,451,843 calling TerminateOwnIOThread (port 257,327)
error KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | Stream ends prematurely at 736606498, should be 2063499787
warning KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | Will reconnect at 736606498 in 0 second(s), error=Input/output error.
Message from debugger: killed
from ksplayer.
Or again:
134,667 HALC_ProxyIOContext.cpp:1,329 HALC_ProxyIOContext::IOWorkLoop: skipping cycle due to overload
134,667 HALC_ProxyIOContext.cpp:1,329 HALC_ProxyIOContext::IOWorkLoop: skipping cycle due to overload
error KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | Failed setup for format videotoolbox_vld: hwaccel initialisation returned error.
warning KSPlayer: KSOptions.swift:298 sei(string:) | sei x264 - core 157 r2935 545de2f - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=9 deblock=1:-2:-2 analyse=0x3:0x133 me=umh subme=10 psy=1 psy_rd=1.00:0.15 mixed_ref=1 me_range=48 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-3 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=12 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=1 keyint=240 keyint_min=24 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=2pass mbtree=1 bitrate=2400 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 cplxblur=20.0 qblur=0.5 vbv_maxrate=62500 vbv_bufsize=78125 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
warning KSPlayer: KSPlayerLayer.swift:383 changeLoadState(player:) | ["tcpTime": 0.15795487499417504, "readAudioTime": 0.004682916005549487, "openTime": 0.5864936250000028, "findTime": 0.04408929100463865, "firstTime": 1.692591666993394, "initTime": 0.019489250000333413, "dnsTime": 6.81669989717193e-05, "readVideoTime": 0.004030625001178123, "readyTime": 0.01772845899540698, "decodeVideoTime": 0.20558720800181618, "decodeAudioTime": 0.02871404199686367]
warning KSPlayer: KSPlayerLayer.swift:138 state | playerStateDidChange - bufferFinished
warning KSPlayer: KSOptions.swift:328 videoClockSync(main:nextVideoTime:) | [video] video delay=-0.8553579170055454, clock=0.8993579170055455, delay count=0
warning KSPlayer: AudioEnginePlayer.swift:146 ceateSourceNode(audioFormat:) | [audio] outputFormat AudioFormat: <AVAudioFormat 0x6000080bdea0: 2 ch, 48000 Hz, Float32, deinterleaved>
warning KSPlayer: AudioEnginePlayer.swift:148 ceateSourceNode(audioFormat:) | [audio] outputFormat tag: 6619138
warning KSPlayer: AudioEnginePlayer.swift:149 ceateSourceNode(audioFormat:) | [audio] outputFormat channelDescriptions: []
from ksplayer.
这是tvos才会出现吗?在mac上会出现吗?
from ksplayer.
this is tvOS. Mac I don't know.
from ksplayer.
这个问题你在demo上可以复现吗?还是只能在你的app复现呢?
from ksplayer.
Similar to the previous above, I am getting occasional hangs in my app when exiting a stream played with KSPlayer.
warning KSPlayer: KSMEPlayer.swift:355 pause() | pause <KSPlayer.KSMEPlayer: 0x600003792a00>
AURemoteIO.cpp:1,747 AURemoteIO::Stop: error 268,451,843 calling TerminateOwnIOThread (port 173,347)
from ksplayer.
This might have resolved it
from ksplayer.
I take it back...is still freezing
from ksplayer.
I take it back...is still freezing
Yep, it's happening a great many times.
AURemoteIO.cpp:1,747 AURemoteIO::Stop: error 268,451,843 calling TerminateOwnIOThread (port 133,191)
from ksplayer.
Getting this error too. hangs app. This happens on a real apple tv.
AVAEInternal.h:109 [AVAudioEngineGraph.mm:4,183:UpdateGraphAfterReconfig: (AUGraphParser::InitializeActiveNodesInOutputChain(ThisGraph, kOutputChainFullTraversal, *conn.srcNode, isChainActive)): error 18,446,744,073,709,540,748 *** Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: 'error -10868' *** First throw call stack: (0x1828f3784 0x181df6fc0 0x1828f3634 0x193f1b4e8 0x193f62590 0x193f60514 0x193ffc148 0x193ff3270 0x106035dc8 0x1060341d4 0x106036974 0x1048434c4 0x10aa20644 0x10aa21efc 0x10aa2fe54 0x10aa2fa70 0x18285a610 0x182854d5c 0x18285410c 0x18c7a6a7c 0x19ede0ae4 0x19ede4cd4 0x1cfb68734 0x1cfb685c4 0x1cf8f935c 0x1050a5ef0 0x1050a5fa0 0x181e096e0) libc++abi: terminating due to uncaught exception of type NSException
from ksplayer.
Do these fixes also fix this crash?
8
AppName
AudioEnginePlayer.swift - Line 284
AVAudioEngine.connect(nodes:format:) + 284
9
AppName
AudioEnginePlayer.swift - Line 170
AudioEnginePlayer.ceateSourceNode(audioFormat:) + 170
10
AppName
AudioEnginePlayer.swift - Line 245
closure #1 in AudioEnginePlayer.audioPlayerShouldInputData(ioData:numberOfFrames:) + 245
from ksplayer.
Related Issues (20)
- Video stutters (visionOS) HOT 5
- Installing via SPM as a package dependency fails in Xcode 15.3. HOT 1
- Video rebuffers? on seek in demo even cache option enabled HOT 9
- FPS Variability HOT 17
- Dolby Vision is purple HOT 6
- Playing this streams times out HOT 7
- Stream buffers very frequently on 3G but OK on WiFi HOT 1
- 前后台切换bug HOT 2
- [tvOS] 4K content on 1080p displays stutter and buffer a lot HOT 5
- TracyPlayer does not play stream HOT 5
- avformat can't open input - In test app it works, production app it doesn't HOT 2
- Cannot run AV1 codecs Video HOT 4
- 打开了logLevel为debug,还是没有显示debug的日志 HOT 2
- Invalid bundle identifier when pushing to testflight using KSPlayer via SPM (doesnt happen over ccoapods) HOT 2
- Xcode 15.4上传App Store报错
- Can the caching function be added? HOT 5
- 您好,如何在不播放的情况下,获取视频的总时间长度? 目前貌似没有 api 可以获取? HOT 1
- Stream doesn't start HOT 2
- Compilation warning in AudioEnginePlayer.swift
- Unable to add via Swift Package manager HOT 3
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 ksplayer.