• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Networking & Access Can't stream large files over Nginx

     
    • 0 Vote(s) - 0 Average

    Can't stream large files over Nginx

    Bonifacy
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    #1
    2024-08-16, 12:04 PM (This post was last modified: 2024-08-16, 12:09 PM by Bonifacy. Edited 2 times in total.)
    Hey. My setup is unRAID on intel CPU with Jellyfin 10.9.9 in docker container and my domain through cloudflare and DDNS in docker.

    I wanted to share with friends, so made Cloudflare tunnel and everything was working perfectly with that. Now I wanted to change to reverse proxy in order to not break cloudflare TOS. Installed and set up Nginx-Proxy-Manager container, forwarded ports and pointed it to jellyfin.mydomain.tld, enabled Let'sEncrypt.

    Server loads and plays fullHD content no problem, but when I try to play large 4K files I get critical error.

    I am pretty sure its an issue with reverse proxy, because it works flawlessly on my internal network and was working flawlessly through CF tunnel.

    Here is error in logs: https://pastebin.com/Ha8pJ27A

    Any advice? Or maybe other reverse proxy solution? Thanks for any help.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-08-16, 01:30 PM (This post was last modified: 2024-08-16, 01:31 PM by TheDreadPirate.)
    Can you share the ffmpeg log itself? That would contain the full error message. Also, what specific Intel CPU do you have? The issue probably has to do with transcoding and not your RP.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Bonifacy
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    #3
    2024-08-16, 03:24 PM
    Do you mean whole jellyfin log? or can you point me where can I look for ffmpeg log only?
    This is whole jellyfin log that appears: https://pastebin.com/bXjb83xk

    CPU is i5-12400.

    I went poking at it again and managed to start 4K playback on local network just fine, BUT when I changed to low resolution it crashed again - so you might be right about transcoding being the problem.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-08-16, 03:44 PM (This post was last modified: 2024-08-16, 03:46 PM by TheDreadPirate. Edited 2 times in total.)
    You can look in container path /config/log (wherever /config is mounted on the host) and there will be a bunch of logs that start with "FFmpeg".  You can also find them in the Jellyfin UI at Dashboard > Logs.

       

    Can you also provide screenshots of Dashboard > Playback?

    Also, which docker image are you using? The official jellyfin/jellyfin image or linuxserver's image? Can you also share screenshots of the docker config page for this container?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Bonifacy
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    #5
    2024-08-16, 03:58 PM
    ffmpeg log: https://pastebin.com/Ez1v8Ahs

    I switched off hardware acceleration/transcoding entirely and it works. With it enabled dashboard looks like this: https://imgur.com/a/DkkMQ9H

    Sorry about the language, I've set it to English, but it's not changing.
    So I'm prettu sure that some transcoding options/formats are wrong.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-08-16, 04:10 PM (This post was last modified: 2024-08-16, 04:10 PM by TheDreadPirate.)
    (2024-08-16, 03:58 PM)Bonifacy Wrote: ffmpeg log: https://pastebin.com/Ez1v8Ahs

    I switched off hardware acceleration/transcoding entirely and it works. With it enabled dashboard looks like this: https://imgur.com/a/DkkMQ9H

    Sorry about the language, I've set it to English, but it's not changing.
    So I'm prettu sure that some transcoding options/formats are wrong.

    I've looked at these menus enough that I know what they are just by the positioning.

    The Jellyfin transcode settings are not optimal, but they are not going to cause any problems as is.  The problem is that Jellyfin doesn't have access to the iGPU.

    Code:
    [AVHWDeviceContext @ 0x55956fc26a40] No VA display found for any default device.
    Device creation failed: -22.
    Failed to set value 'vaapi=va:,kernel_driver=i915,driver=iHD' for option 'init_hw_device': Invalid argument
    Error parsing global options: Invalid argument

    Did you pass the GPU into the container?  Ignore the arrow in the top right.  This screenshot was originally for another user.  I'm not at home to take a new one.

       
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Bonifacy
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    #7
    2024-08-16, 04:31 PM (This post was last modified: 2024-08-16, 04:31 PM by Bonifacy. Edited 1 time in total.)
    I added GPU device now... It stil fails, just differently: https://pastebin.com/nPPhm34u

    I'll fiddle with the settings some more
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-08-16, 05:07 PM
    You enabled AV1 encoding, which your 12400 does not support.

    In the top section with the list of codecs, check all the boxes except VP8 and AV1. Enable hardware encoding and also allow encoding HEVC format. Do not check low power encoding and do not check allow encoding in AV1 format.

    Check both VPP tone mapping and tone mapping.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Bonifacy
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    #9
    2024-08-16, 06:06 PM
    Applied all settings as you suggested and now it works.

    Thank you, I really appreciate all the help and your time to look at logs and reply.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode