Giter VIP home page Giter VIP logo

Comments (6)

UnknownCoder807 avatar UnknownCoder807 commented on June 12, 2024

I see this too on tvOS using SwiftUI.

from ksplayer.

kingslay avatar kingslay commented on June 12, 2024
default.mov

这是用户录的视频,在第3秒和第12秒时候能看到明显的卡顿。

用户尝试卸载重装过应用,所有的视频(原画或者一些m3u8)都会有卡顿问题。

用户之前用过不卡顿,突然有个版本开始卡顿。

用户的其他软件播放视频不会卡顿。

所以帮忙分析下,这样卡顿的原因有哪些?

能够提供这个url吗 这样我才能复现这个问题

from ksplayer.

FaiChou avatar FaiChou commented on June 12, 2024

我这边测试没问题。其余的用户也都没问题。所以只能从经验上猜可能是什么原因,也有可能是用户自己的设备问题,所以如何引导用户排查定位问题?

from ksplayer.

kingslay avatar kingslay commented on June 12, 2024

看起来像是有一帧视频渲染耗时比较多。卡了一会儿。然后后面为了赶上进度。丢了几个视频帧。这个有可能是设备性能的问题。用户的设备是什么时候的呢?

from ksplayer.

kingslay avatar kingslay commented on June 12, 2024

我最新的代码加了一个日志
not readyForMoreMediaData
如果有报这个的话,那就是系统渲染卡顿 @FaiChou

from ksplayer.

UnknownCoder807 avatar UnknownCoder807 commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.