Giter Club home page Giter Club logo

Comments (9)

kingslay avatar kingslay commented on September 23, 2024

你可以提供对应的url吗?或者把视频裁剪出一个两分钟的片段,上传到github。我测试下。

from ksplayer.

Alanko5 avatar Alanko5 commented on September 23, 2024

check email.

apple tv need connected to 5.1/7.1 audio and source must be Atmos (thrueHD/matt)

from ksplayer.

Alanko5 avatar Alanko5 commented on September 23, 2024

debug KSPlayer: MEPlayerItem.swift:455 readThread() | seek to 18.412 spend Time: 0.19463770830770954
debug KSPlayer: KSPlayerLayer.swift:138 state | playerStateDidChange - buffering
debug KSPlayer: KSOptions.swift:432 outputNumberOfChannels(channels:isUseAudioRenderer:) | [audio] maximumOutputNumberOfChannels: 2
debug KSPlayer: KSOptions.swift:433 outputNumberOfChannels(channels:isUseAudioRenderer:) | [audio] preferredOutputNumberOfChannels: 2
debug KSPlayer: KSOptions.swift:436 outputNumberOfChannels(channels:isUseAudioRenderer:) | [audio] isSpatialAudioEnabled: false
debug KSPlayer: KSOptions.swift:437 outputNumberOfChannels(channels:isUseAudioRenderer:) | [audio] isUseAudioRenderer: false
debug KSPlayer: KSOptions.swift:449 outputNumberOfChannels(channels:isUseAudioRenderer:) | [audio] currentRoute max channels: 2
debug KSPlayer: KSOptions.swift:455 outputNumberOfChannels(channels:isUseAudioRenderer:) | [audio] outputNumberOfChannels: 2
debug KSPlayer: AVFFmpegExtension.swift:398 layoutTag | [audio] FFmepg AVChannelLayout: stereo order: AVChannelOrder(rawValue: 1) mask: 3
debug KSPlayer: Resample.swift:293 audioFormat(channels:isUseAudioRenderer:) | [audio] out channelLayout: stereo
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | Using fltp internally between filters
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | Matrix coefficients:
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | FL:
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | FL:1.000000
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | FR:0.000000
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | FC:0.707107
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | LFE:0.000000
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | BL:0.707107
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | BR:0.000000
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | SL:0.707107
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | SR:0.000000
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem |
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | FR:
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | FL:0.000000
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | FR:1.000000
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | FC:0.707107
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | LFE:0.000000
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | BL:0.000000
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | BR:0.707107
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | SL:0.000000
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem | SR:0.707107
debug KSPlayer: MEPlayerItem.swift:125 MEPlayerItem |
debug KSPlayer: KSPlayerLayer.swift:138 state | playerStateDidChange - bufferFinished

from ksplayer.

Alanko5 avatar Alanko5 commented on September 23, 2024
Thread activity

TrueHD audio decoding in 10 sec:
TrueHD source

AC stereo audio in 10 sec:
Snímka obrazovky 2023-11-13 o 17 29 42

from ksplayer.

Alanko5 avatar Alanko5 commented on September 23, 2024

During TrueHD playback, you can clearly hear that the sound is cracking.
It seems that he does not have time to switch Threads.
Or it asks the cpu for too many threads, which starts blocking the main thread.
The CPU utilization in TrueHD is 40% and in AC-3 it is 17%.
I'm talking about the same video stream, only switching the audio track.

Audio mixer creates too many threads
Audio mixer
Callstack

from ksplayer.

kingslay avatar kingslay commented on September 23, 2024

你把audioPlayerType 改成是AudioUnitPlayer 试试看。

from ksplayer.

Alanko5 avatar Alanko5 commented on September 23, 2024

你把audioPlayerType 改成是AudioUnitPlayer 试试看。

the image cuts and the sound pops

from ksplayer.

kingslay avatar kingslay commented on September 23, 2024

你把视频裁剪出一个几分钟的片段,上传到github。我测试下。

from ksplayer.

kingslay avatar kingslay commented on September 23, 2024

还会有这个问题吗?

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.