Comments (16)
可以让用户发一下日志吗?
from ksplayer.
info KSPlayer: KSPlayerLayer.swift:141 state | playerStateDidChange - buffering
info KSPlayer: AVFFmpegExtension.swift:397 layoutTag | FFmepg channelLayout: 7.1 order: AVChannelOrder(rawValue: 1)
info KSPlayer: AudioEnginePlayer.swift:141 prepare(audioFormat:) | outputFormat channelLayout AudioFormat: <AVAudioFormat 0x28223fc00: 8 ch, 48000 Hz, Float32, deinterleaved>
info KSPlayer: AudioEnginePlayer.swift:143 prepare(audioFormat:) | outputFormat channelLayout tag: 8388616
info KSPlayer: AVFoundationExtension.swift:140 channelLayout() | KSOptions channelLayout: AudioChannelLayoutTag: 8388616, mNumberChannelDescriptions: 0
info KSPlayer: AVFoundationExtension.swift:166 channelLayout() | out channelLayout mask: 1599 nb_channels: 8
info KSPlayer: Resample.swift:192 init(audioDescriptor:audioFormat:) | out channelLayout: 7.1
info KSPlayer: AudioEnginePlayer.swift:144 prepare(audioFormat:) | outputFormat channelLayout channelDescriptions: []
info KSPlayer: KSPlayerLayer.swift:141 state | playerStateDidChange - readyToPlay
from ksplayer.
看这个日志,所有的属性设置都是对的。这个是7.1的视频。
from ksplayer.
I can send you the video links to try yourself.
Sound for rears is coming out the fronts.
from ksplayer.
但是我没有7.1的音响设备,无法测试。你本地测试了结果是怎么样呢?
from ksplayer.
I can send you the video links to try yourself.
Sound for rears is coming out the fronts.
是只有后面的声音会有问题吗?其他的声音不会有问题吗?
from ksplayer.
I simply play https://www.demolandia.net/downloads.html?id=30191483
My test app is a single button that calls
`
let path = Bundle.main.path(forResource: "71", ofType:"mkv")
KSVideoPlayerView(url: URL(fileURLWithPath: path!), options: myOptions)
`
My soundbar is dolby atmos with surround speakers and was working previously (except when there was the issue with no centre speaker).
from ksplayer.
Only the rears are not working correctly.
from ksplayer.
@UnknownCoder807 我试着修复下,也增加了一些日志来帮忙排查。日志可以通过[audio] 来进行过滤。你本地试下
from ksplayer.
Still not working.
info KSPlayer: KSPlayerLayer.swift:138 state | playerStateDidChange - buffering
info KSPlayer: KSOptions.swift:316 setAudioSession(audioDescriptor:) | [audio] maximumOutputNumberOfChannels: 32
info KSPlayer: KSOptions.swift:326 setAudioSession(audioDescriptor:) | [audio] isSpatialAudioEnabled: false
info KSPlayer: KSOptions.swift:337 setAudioSession(audioDescriptor:) | [audio] preferredOutputNumberOfChannels: 6
info KSPlayer: AVFFmpegExtension.swift:398 layoutTag | FFmepg channelLayout: 5.1(side) order: AVChannelOrder(rawValue: 1)
info KSPlayer: AudioEnginePlayer.swift:141 prepare(audioFormat:) | [audio] outputFormat AudioFormat: <AVAudioFormat 0x283629e00: 6 ch, 48000 Hz, Float32, deinterleaved>
info KSPlayer: AudioEnginePlayer.swift:143 prepare(audioFormat:) | [audio] outputFormat tag: 7929862
info KSPlayer: AudioEnginePlayer.swift:144 prepare(audioFormat:) | [audio] outputFormat channelDescriptions: []
info KSPlayer: AVFoundationExtension.swift:140 channelLayout() | [audio] channelLayout: AudioChannelLayoutTag: 7929862, mNumberChannelDescriptions: 0
info KSPlayer: AVFoundationExtension.swift:166 channelLayout() | [audio] out mask: 1551 nb_channels: 6
info KSPlayer: Resample.swift:192 init(audioDescriptor:audioFormat:) | out channelLayout: 5.1(side)
info KSPlayer: KSPlayerLayer.swift:138 state | playerStateDidChange - readyToPlay
from ksplayer.
@UnknownCoder807 你可以试下是不是 2f9f711 这个bugfix 引起的。最近音频的改动点就是这个了
from ksplayer.
如果不是这个引起的话,那就在试下 b6e172d @UnknownCoder807 麻烦你了。谢谢
from ksplayer.
@UnknownCoder807 你可以试下是不是 2f9f711 这个bugfix 引起的。最近音频的改动点就是这个了
I tried the 2 commits you mentioned and the issue is in both of them.
So I then installed the previous commit dated 2nd May (0609316) and the issue was not there.
So it appears b6e172d is the root of the problem.
from ksplayer.
@UnknownCoder807 麻烦确认下最新的代码是否修复了这个问题了。谢谢
from ksplayer.
working fine using latest code.
from ksplayer.
from ksplayer.
Related Issues (20)
- Some TV runs black when switching between streams HOT 7
- 有没有计划支持libass字幕 HOT 5
- Player fails if played too early HOT 5
- 8K 视频播放闪退 HOT 2
- Tracy player does not play local files stored in iphone HOT 3
- Subtitles have been broken in this repo HOT 32
- This stream won't play, but works in VLC HOT 2
- Observe the `(Embed)` string attached straight away at the end of the subtitle's name. HOT 5
- It takes so long before the audio switches HOT 2
- tvos VideoSettingView 显示不正常 HOT 9
- App强制竖屏,全屏后自动判断视频比例决定宽度占满(竖屏)还是高度占满(横屏) HOT 2
- Multiple streams and audio session switch HOT 8
- Application hang when changing url too quickly HOT 3
- Large amount of crashes detected from Xcode in `Resample.swift` `audioFormat()`
- macOS Somona issue HOT 7
- Live stream freezes for many people HOT 13
- Crash in this library `partial apply for closure #1 in closure #1 in Double.init<A>` HOT 4
- Issue with uploading to apple : NSSpeechRecognitionUsageDescription
- - 增加音频转文字的功能 - feature HOT 7
- Constat crash 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.