Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apple TV not playing audio correctly #1016

Open
Netlok opened this issue Apr 9, 2024 · 4 comments
Open

Apple TV not playing audio correctly #1016

Netlok opened this issue Apr 9, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Netlok
Copy link

Netlok commented Apr 9, 2024

Describe the bug

When playing Blu-ray rips (h.264 video, DTS audio) surround sound only comes through as 2 channel. Once transcoded to AAC with Handbrake, 5.1 surround plays as expected, but only with "Native Player" turned on under 'Experimental Features'. If 'Native Player' is left off no audio plays at all.

VLC app on Apple TV plays surround correctly, leading me to believe it's not due to libvlc (issue #663). The closest other bug report I've found is issue #723 .

Application version

1.0.1(70)

Where did you install the app from?

App Store

Device information

Apple TV 4k (Model No. A2843)

OS version

TVOS 17.4 (21L227)

Jellyfin server version

10.8.13

@Netlok Netlok added the bug Something isn't working label Apr 9, 2024
@radityakurnianto
Copy link

I guess i got similar issue, when playing the videos, audios not sync with the videos

@J0riz
Copy link

J0riz commented Apr 24, 2024

Issue indeed seems a lot like #723

I hope someone manage to build Swiftfin with a newer version of VLCKit as this issue was resolved with newer versions of libVLC. Swiftin is still build with an older version of VLCKit still having audio channel issues.

UPDATE:
Im currently building new version of Swiftfin. Will report back if I have working app on my AppleTV.

@J0riz
Copy link

J0riz commented Apr 25, 2024

Good news. Audio works perfectly using VLCKit 3.6.0b11 on all channels with 5.1. 😄

VLCKit 3.5.1 however still has the same audio problems as described here, in #663 and #723

You need to modify the Cartfile to point to two json so it can request the newer VLCKit 3.6.0 sources.

e.g.;

{
  "3.6.0": "https://download.videolan.org/cocoapods/unstable/MobileVLCKit-3.6.0b11-fbffb2f1-6d82c5af.tar.xz"
}

{
  "3.6.0": "https://download.videolan.org/cocoapods/unstable/TVVLCKit-3.6.0b11-fbffb2f1-6d82c5af.tar.xz"
}

The audio channel issue was fixed somewhere in VLCKit 3.6.0 which is currently also used in the official builds of VLC for tvOS.
Which explains no one has big audio channel issues anymore using the VLC app.

Building this with Swifin from Main branch however still has a lot of (known) interface issues including the video overlay not showing in full screen.

So to really get this issue resolved Swiftfin needs to be build on VLCKit 3.6.0 and also some interface issues nee to be resolved within Swiftin.

@radityakurnianto
Copy link

radityakurnianto commented Apr 25, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants