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

AppleTV 4th Gen - Jellyfin/Swiftfin Not Transcoding Properly #1214

Open
jshwrner opened this issue Aug 28, 2024 · 1 comment
Open

AppleTV 4th Gen - Jellyfin/Swiftfin Not Transcoding Properly #1214

jshwrner opened this issue Aug 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jshwrner
Copy link

jshwrner commented Aug 28, 2024

Describe the bug

I just set up HWA on my Jellyfin server using a Quadro p620. So far, so good; however, I just tried to play a tv show episode and it behaves as if Jellyfin doesn't even try to transcode on the AppleTV; sits at a black screen and eventually moves onto the next episode which also sits on a black screen. I tried the same video on my iPhone and it does transcode. Running ffprobe, here is a comparison of a working and not working file (stripping out stuff I didn't think was relevant):

Transcoding Not Transcoding
"codec_name": "hevc", "codec_name": "h264"
"codec_long_name": "H.265 / HEVC (High Efficiency Video Coding)", "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10"
"profile": "Main 10" "profile": "High 10",
"format_name": "matroska,webm", "format_name": "matroska,webm",
"format_long_name": "Matroska / WebM", "format_long_name": "Matroska / WebM",
"bit_rate": "4225888", "bit_rate": "224000",
"width": 1920 "width": 1920,
"height": 1080 "height": 1080,
"display_aspect_ratio": "16:9" "display_aspect_ratio": "16:9"
AUDIO AUDIO
"codec_name": "aac", "codec_name": "ac3"
"codec_long_name": "AAC (Advanced Audio Coding)", "codec_long_name": "ATSC A/52A (AC-3)"
"codec_type": "audio", "codec_type": "audio",
"sample_rate": "48000" "sample_rate": "48000"
"channels": 6, "channels": 6

I have also selected both HEVC and H264 under the "Enable hardware decoding for" section. I noticed that when I play the video on my AppleTV, I get a FFmpeg.DirectStream log whereas when playing via my iPhone, I see a FFmpeg.Transcode log file. I don't see any errors in the DirectStream log file, but noticed it says "SupportsDirectStream":true,"SupportsDirectPlay":true, so again, I'm curious why it's not attempting to transcode.

As a final mention, running nvidia-smi shows a process running for the "working" video but No running processes found for the other.

Hoping to get some direction without having to re-encode all these files. Please let me know if I can send anything else that would help diagnose.

Application version

1.0.1 (70)

Where did you install the app from?

App Store

Device information

AppleTV A1625 4th Gen. (32 GB)

OS version

tvOS 17.6 [21M71]

Jellyfin server version

10.8.3

@jshwrner jshwrner added the bug Something isn't working label Aug 28, 2024
@holow29
Copy link
Contributor

holow29 commented Aug 28, 2024

The issue is likely related to the device profile, which was pushed a while ago, but the app on tvOS hasn't been updated yet.

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

5 participants
@jshwrner @holow29 and others