Comments (6)
I see this too on tvOS using SwiftUI.
from ksplayer.
default.mov
这是用户录的视频,在第3秒和第12秒时候能看到明显的卡顿。
用户尝试卸载重装过应用,所有的视频(原画或者一些m3u8)都会有卡顿问题。
用户之前用过不卡顿,突然有个版本开始卡顿。
用户的其他软件播放视频不会卡顿。
所以帮忙分析下,这样卡顿的原因有哪些?
能够提供这个url吗 这样我才能复现这个问题
from ksplayer.
我这边测试没问题。其余的用户也都没问题。所以只能从经验上猜可能是什么原因,也有可能是用户自己的设备问题,所以如何引导用户排查定位问题?
from ksplayer.
看起来像是有一帧视频渲染耗时比较多。卡了一会儿。然后后面为了赶上进度。丢了几个视频帧。这个有可能是设备性能的问题。用户的设备是什么时候的呢?
from ksplayer.
我最新的代码加了一个日志
not readyForMoreMediaData
如果有报这个的话,那就是系统渲染卡顿 @FaiChou
from ksplayer.
I get this when it happens
2023-07-08 14:32:35.519460+0100 myApp[3011:10557485] warning KSPlayer: KSOptions.swift:334 videoClockSync(audioTime:videoTime:) | video delay time: 37.41841111111353, audio time:9078.567188888892, delay count:1
2023-07-08 14:32:35.536079+0100 myApp[3011:10557485] warning KSPlayer: KSOptions.swift:334 videoClockSync(audioTime:videoTime:) | video delay time: 37.42305555555686, audio time:9078.588522222224, delay count:2
2023-07-08 14:32:40.485836+0100 myApp[3011:10557485] warning KSPlayer: MetalPlayView.swift:289 enqueue(imageBuffer:formatDescription:) | not readyForMoreMediaData
2023-07-08 14:32:40.502197+0100 myApp[3011:10557485] warning KSPlayer: MetalPlayView.swift:289 enqueue(imageBuffer:formatDescription:) | not readyForMoreMediaData
2023-07-08 14:32:40.585524+0100 myApp[3011:10557485] warning KSPlayer: MetalPlayView.swift:289 enqueue(imageBuffer:formatDescription:) | not readyForMoreMediaData
2023-07-08 14:32:40.668634+0100 myApp[3011:10557485] warning KSPlayer: MetalPlayView.swift:289 enqueue(imageBuffer:formatDescription:) | not readyForMoreMediaData
2023-07-08 14:32:40.835357+0100 myApp[3011:10557485] warning KSPlayer: MetalPlayView.swift:289 enqueue(imageBuffer:formatDescription:) | not readyForMoreMediaData
2023-07-08 14:32:40.868812+0100 myApp[3011:10557485] warning KSPlayer: MetalPlayView.swift:289 enqueue(imageBuffer:formatDescription:) | not readyForMoreMediaData
2023-07-08 14:32:40.885320+0100 myApp[3011:10557485] warning KSPlayer: MetalPlayView.swift:289 enqueue(imageBuffer:formatDescription:) | not readyForMoreMediaData
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 2
- 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.