kingslay / KSPlayer

A video player for iOS、macOS、tvOS、visionOS , based on AVPlayer and FFmpeg, support the horizontal, vertical screen. support adjust volume, brightness and seek by slide, SwiftUI, support subtitles.
https://apps.apple.com/app/tracyplayer/id6450770064
GNU General Public License v3.0
945 stars 193 forks source link

Tracy player (testflight version) - Audio Renderer issue #531

Closed cdguy closed 1 year ago

cdguy commented 1 year ago

It looks like the audio renderer in your testflight test app (tracy player - ios) does not output the sound in multichannel audio. IMG_5266 IMG_5267 IMG_5268

kingslay commented 1 year ago

目前Audio Renderer 对于一些格式 例如s32 s16, 播放是会有问题的。 但是我看你这个格式是f32p,应该不会有问题。你这个url是否可以发给我吗?我debug下。

cdguy commented 1 year ago

I sent you an e-mail with the link

the issue is the same with the testflight app updated today.

The stream has sound. the issue is that the audio "properties" is displayed as stereo, but the tag has to be "multichannel"

kingslay commented 1 year ago

image

kingslay commented 1 year ago

我试了 是可以的啊

cdguy commented 1 year ago

this is strange..

I have the 1st gen. airpods pro. is there a specific code for newer airpods pro models?

Le ven. 25 août 2023 à 16:49, kingslay @.***> a écrit :

我试了 是可以的啊

— Reply to this email directly, view it on GitHub https://github.com/kingslay/KSPlayer/issues/531#issuecomment-1693390826, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5MYNCO46RL3RQZQMIDJIALXXCUM5ANCNFSM6AAAAAA35I6HVY . You are receiving this because you authored the thread.Message ID: @.***>

cdguy commented 1 year ago

Let me tell you the way it worked:

I open the link I sent you without enabling audio renderer. then I long pressed on the volume control to check the sound output. I choose "make the stereo sound spatial", ı switched between the spatial audio settings a few times. then the app crashed. ( I sent the crash report) then I enabled the spatial audio settings. It worked

@kingslay

cdguy commented 1 year ago

@kingslay I found an easier way to help you debug the spatial audio issue.

1- put your airpods and after open tracy app; then open the link I sent you. even if audio renderer= true; the audio is displayed as Stereo.

2- open tracy player; open the link I sent you, start the playback (here audio renderer is also = true), THEN put your airpods. when you force touch the volume control it says multi channel. However, you will also notice that when you start the stream and after put your airpods pro, the sound is audible for 1 second and after there is no audio. the issue is "fixed" if you hit the +/- 15 seconds button.

cdguy commented 1 year ago

@kingslay do you have any automation process to update the testflight tracy player? For users who are not dev but willing to provide feedback, it would be great to update automatically tracy player testflight app after each commit

kingslay commented 1 year ago

有的,我有配置了Xcode cloud,代码合并到master的时候会自动发布testflight。 每次提交都自动发布的话,那会非常的频繁,而且xcode cloud 超过使用时间的话,也要收费。

cdguy commented 1 year ago

@kingslay I found an easier way to help you debug the spatial audio issue.

1- put your airpods and after open tracy app; then open the link I sent you. even if audio renderer= true; the audio is displayed as Stereo.

2- open tracy player; open the link I sent you, start the playback (here audio renderer is also = true), THEN put your airpods. when you force touch the volume control it says multi channel. However, you will also notice that when you start the stream and after put your airpods pro, the sound is audible for 1 second and after there is no audio. the issue is "fixed" if you hit the +/- 15 seconds button.

@kingslay unfortunately, this time "multichannel audio" does not work at all when I enable audio renderer =true on the testflight tracy player

kingslay commented 1 year ago

你是用iPhone 还是 tvos呢

cdguy commented 1 year ago

你是用iPhone 还是 tvos呢

I had the issue on iphone;

I have not yet tried on tvos. I will try @kingslay

cdguy commented 1 year ago

@kingslay on tvos audio renderer works fine. The issue is on IOS. Also, can you please check the audio delay issue, after a few seconds of playback, there is a slight audio delay with the video.

IMG_5312