jellyfin / Swiftfin

Native Jellyfin Client for iOS and tvOS
Mozilla Public License 2.0
2.37k stars 267 forks source link

Swiftfin not playing content in HDR on Apple TV 4K 3rd Generation #811

Open nefariouslegion opened 12 months ago

nefariouslegion commented 12 months ago

Describe the bug

  1. Go To Settings > Experimental
  2. Click on Native Player to enable it (I've also tried with both Force Direct Play and Use fmp4 with HLS enabled and disabled)
  3. Select an HDR Movie or Show
  4. Try to play it
  5. See that it doesn't play. Just shows black screen with a red No symbol under the time bar at the bottom of the screen IMG_0287

Application version

1.0.1(70)

Where did you install the app from?

App Store

Device information

Apple TV 4k 3rd Generation

OS version

tvOS 16.6

Jellyfin server version

10.8.10

JPKribs commented 12 months ago

I have not had this problem before playing HDR. I have, however, had issues playing TrueHD audio. Do you know if the file is using TrueHD audio?

JPKribs commented 12 months ago

To rephrase this better, could you provide all the file metadata? Is it only this one file, or do you see this with multiple files?

nefariouslegion commented 12 months ago

I'm not sure if the files are TrueHD audio or not nor do I know how to check that. This issue happens for all HDR videos that I try to play. So idk if there's something I didn't setup properly or what the issue is.

Since it's an issue with all HDR videos I don't know if you still need any metadata or not? But as soon as I'm back at my PC I'll send some as an example. I assume it's the .nfo file you want for metadata?

EDIT: Github won't allow me to attach an nfo file so I'm not sure how to send you metadata. Though I'm not sure the metadata will help since as I said it's an issue with all HDR videos


From: Joe @.> Sent: Wednesday, August 2, 2023 2:26:10 AM To: jellyfin/Swiftfin @.> Cc: nefariouslegion @.>; Author @.> Subject: Re: [jellyfin/Swiftfin] Swiftfin not playing content in HDR on Apple TV 4K 3rd Generation (Issue #811)

To rephrase this better, could you provide all the file metadata? Is it only this one file, or do you see this with multiple files?

— Reply to this email directly, view it on GitHubhttps://github.com/jellyfin/Swiftfin/issues/811#issuecomment-1661573443, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVJ2BE36F37F7T3TSAGQID3XTHXIFANCNFSM6AAAAAA3AROO5Y. You are receiving this because you authored the thread.Message ID: @.***>

JPKribs commented 12 months ago

On the movie in Jellyfin-Web, click the ... and select "Media Info." This will also help us confirm if this is HDR10 or HDR10+ which (I believe) HDR10+ is not currently supported.

nefariouslegion commented 12 months ago

On the movie in Jellyfin-Web, click the ... and select "Media Info." This will also help us confirm if this is HDR10 or HDR10+ which (I believe) HDR10+ is not currently supported.

But I have this issue with both HDR10+ and regular HDR10. Basically any HDR video I try to play using the native player results in the above issue with the red no symbol.

Here is 2 examples. Both these movies show that error above when trying to play in swiftfin with the Native Player enabled. However when played in Infuse Hamilton my TV shows it playing HDR and when playing Jurassic World Dominion the TV reports HDR10+. But as I said, both have that same problem when trying to play in swiftfin. Hamilton Media Info.txt Jurassic World Dominion Media Info.txt

nefariouslegion commented 12 months ago

I should also add that when playing these videos in the native player on the iOS version of swiftfin that they do play. It's just on my Apple TV that they don't play.

nefariouslegion commented 12 months ago

Anyone got any ideas? I know Infuse is an alternative client I can use but I really don't want to have to pay for it

ryguycraig commented 11 months ago

Same exact issue @nefariouslegion

nefariouslegion commented 11 months ago

@ryguycraig I still have no fix either

BeardElk commented 11 months ago

I have this issue with all my HDR files regardless if they are HDR10, HDR10+ or DV. I've included the metadata copied from jellyfin, of a file that doesn't play with native player just like for OP. metadata.txt

Caught this to late (my jellfyfin is set to english but i dont fucking know why it keeps on going to swedish).

Video = Video Ljud = Audio I'm guessing you guys are smart enough to fill in the rest of the blanks, if not, google translate I guess.

extraslute commented 9 months ago

HDR videos won't play for me either (TVOS ONLY). I have to launch HDR videos through MRMC or on android tv. On the SwiftFin app on TVOS you cannot play HDR. If you do it either does not play or plays in SDR and is super dark.

xruth commented 8 months ago

Want to pick this up again to say that I also have this issue.

Video Title: 4K HEVC HDR Codec: HEVC Profile: Main 10 Level: 150 Resolution: 3840x2160 Aspect ratio: 16:9 Interlaced: No Framerate: 23.976025 Bitrate: 18719 kbps Bit depth: 10 bit Video range: HDR Video range type: HDR10 Colour space: bt2020nc Colour transfer: smpte2084 Colour primaries: bt2020 Pixel format: yuv420p10le Ref frames: 1

despian commented 8 months ago

I was just thinking of picking up an ATV 4K to play HDR content. Is this still an issue? Am I better off going with a Shield for now?

nefariouslegion commented 8 months ago

I was just thinking of picking up an ATV 4K to play HDR content. Is this still an issue? Am I better off going with a Shield for now?

There’s an app called Infuse on ATV that works well for HDR content. Requires a one time fee license though for some features

FlyingDonkey007 commented 7 months ago

I was having the same problem until I manually switched the Apple TV video settings to 4k HDR. I normally leave it at 4K SDR with range matching set to on. I also needed to enable fmp4 with HLS. Now all HDR videos are playing.