• 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 SOLVED: Most compatible container and format

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    SOLVED: Most compatible container and format

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #11
    2024-07-26, 06:54 PM (This post was last modified: 2024-07-26, 06:56 PM by TheDreadPirate. Edited 1 time in total.)
    Can you share your latest docker compose?

    Also run this command and share the output.

    Code:
    sudo docker exec jellyfin env

    And also this.

    Code:
    sudo cat /media/data/jellyfin/config/config/encoding.xml

    And I see you are using VAAPI instead of Intel Quick Sync. Switch to Quick Sync and make sure you only check boxes that your CPU supports.

    https://en.wikipedia.org/wiki/Intel_Quic...d_encoding

    The Coffee Lake column.
    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]
    1
    ghiamar
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:Argentina
    #12
    2024-07-26, 07:07 PM (This post was last modified: 2024-07-26, 07:10 PM by ghiamar.)
    Docker compose
    Code:
    services:
      jellyfin:
        image: 'jellyfin/jellyfin:10.9.8'
        container_name: jellyfin
        restart: always
        volumes:
          - /media/data/jellyfin/config:/config
          - /media/data/jellyfin/cache:/cache
          - /media/data/jellyfin/media:/media
        # user: 0:0
        network_mode: 'host'
        # Optional - alternative address used for autodiscovery
        environment:
          - JELLYFIN_PublishedServerUrl=https://media.mgscreativa.com
        # Optional - may be necessary for docker healthcheck to pass if running in host network mode
        extra_hosts:
          - 'host.docker.internal:host-gateway'
        devices:
          - /dev/dri/renderD128:/dev/dri/renderD128

    sudo docker exec jellyfin env
    Code:
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    HOSTNAME=xxxx
    JELLYFIN_PublishedServerUrl=https://xxxx.xxxx.com
    HEALTHCHECK_URL=http://localhost:8096/health
    DEBIAN_FRONTEND=noninteractive
    LC_ALL=en_US.UTF-8
    LANG=en_US.UTF-8
    LANGUAGE=en_US:en
    JELLYFIN_DATA_DIR=/config
    JELLYFIN_CACHE_DIR=/cache
    JELLYFIN_CONFIG_DIR=/config/config
    JELLYFIN_LOG_DIR=/config/log
    JELLYFIN_WEB_DIR=/jellyfin/jellyfin-web
    JELLYFIN_FFMPEG=/usr/lib/jellyfin-ffmpeg/ffmpeg
    XDG_CACHE_HOME=/cache
    MALLOC_TRIM_THRESHOLD_=131072
    NVIDIA_VISIBLE_DEVICES=all
    NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
    HOME=/root

    sudo cat /media/data/jellyfin/config/config/encoding.xml
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <EncodingOptions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <EncodingThreadCount>-1</EncodingThreadCount>
      <TranscodingTempPath>/cache/transcodes</TranscodingTempPath>
      <FallbackFontPath />
      <EnableFallbackFont>false</EnableFallbackFont>
      <EnableAudioVbr>false</EnableAudioVbr>
      <DownMixAudioBoost>2</DownMixAudioBoost>
      <DownMixStereoAlgorithm>None</DownMixStereoAlgorithm>
      <MaxMuxingQueueSize>2048</MaxMuxingQueueSize>
      <EnableThrottling>false</EnableThrottling>
      <ThrottleDelaySeconds>180</ThrottleDelaySeconds>
      <EnableSegmentDeletion>false</EnableSegmentDeletion>
      <SegmentKeepSeconds>720</SegmentKeepSeconds>
      <HardwareAccelerationType>vaapi</HardwareAccelerationType>
      <EncoderAppPathDisplay>/usr/lib/jellyfin-ffmpeg/ffmpeg</EncoderAppPathDisplay>
      <VaapiDevice>/dev/dri/renderD128</VaapiDevice>
      <EnableTonemapping>false</EnableTonemapping>
      <EnableVppTonemapping>false</EnableVppTonemapping>
      <EnableVideoToolboxTonemapping>false</EnableVideoToolboxTonemapping>
      <TonemappingAlgorithm>bt2390</TonemappingAlgorithm>
      <TonemappingMode>auto</TonemappingMode>
      <TonemappingRange>auto</TonemappingRange>
      <TonemappingDesat>0</TonemappingDesat>
      <TonemappingPeak>100</TonemappingPeak>
      <TonemappingParam>0</TonemappingParam>
      <VppTonemappingBrightness>16</VppTonemappingBrightness>
      <VppTonemappingContrast>1</VppTonemappingContrast>
      <H264Crf>23</H264Crf>
      <H265Crf>28</H265Crf>
      <EncoderPreset />
      <DeinterlaceDoubleRate>false</DeinterlaceDoubleRate>
      <DeinterlaceMethod>yadif</DeinterlaceMethod>
      <EnableDecodingColorDepth10Hevc>true</EnableDecodingColorDepth10Hevc>
      <EnableDecodingColorDepth10Vp9>true</EnableDecodingColorDepth10Vp9>
      <EnableEnhancedNvdecDecoder>true</EnableEnhancedNvdecDecoder>
      <PreferSystemNativeHwDecoder>true</PreferSystemNativeHwDecoder>
      <EnableIntelLowPowerH264HwEncoder>false</EnableIntelLowPowerH264HwEncoder>
      <EnableIntelLowPowerHevcHwEncoder>false</EnableIntelLowPowerHevcHwEncoder>
      <EnableHardwareEncoding>true</EnableHardwareEncoding>
      <AllowHevcEncoding>false</AllowHevcEncoding>
      <AllowAv1Encoding>false</AllowAv1Encoding>
      <EnableSubtitleExtraction>true</EnableSubtitleExtraction>
      <HardwareDecodingCodecs>
        <string>h264</string>
        <string>vc1</string>
      </HardwareDecodingCodecs>
      <AllowOnDemandMetadataBasedKeyframeExtractionForExtensions>
        <string>mkv</string>
      </AllowOnDemandMetadataBasedKeyframeExtractionForExtensions>

    For new QS settings, see attachment
       

    Tested on Shield TV Pro 2019 client and playback starts right away, testes on never played track, no remux, updated log https://pastebin.com/raw/v9U4vsEp
    Jellyfin Server 10.9.8 (Docker)
    Ubuntu 22.04 LTS
    Intel Core i5-8500T (6 cores, 6 threads)
    16GB (2x8GB) SODIMM DDR4-2667
    Intel UHD Graphics 630
    OS drive
        Samsung SSD 840 120GB
    Storage
        2x TeamGroup 2TB nvme (software raid1 mdadm)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #13
    2024-07-26, 07:17 PM
    At the top, you can check all the boxes except AV1. Also check Allow encoding in HEVC, Enable VPP tone mapping, Enable Tone mapping, Enable VBR audio, Throttle Transcodes, Delete Segments.

    Change the transcode path to /config/transcodes.

    Save and try again.
    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]
    ghiamar
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:Argentina
    #14
    2024-07-26, 07:33 PM (This post was last modified: 2024-07-26, 07:41 PM by ghiamar. Edited 1 time in total.)
    Done, see attachment

    Tried on another track in web player, triggered remux, long playback start delay, updating logs.

    Remux https://pastebin.com/6wsmzDy7

    Log https://pastebin.com/EfkgbpHM

       
    Jellyfin Server 10.9.8 (Docker)
    Ubuntu 22.04 LTS
    Intel Core i5-8500T (6 cores, 6 threads)
    16GB (2x8GB) SODIMM DDR4-2667
    Intel UHD Graphics 630
    OS drive
        Samsung SSD 840 120GB
    Storage
        2x TeamGroup 2TB nvme (software raid1 mdadm)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #15
    2024-07-26, 08:05 PM (This post was last modified: 2024-07-26, 08:06 PM by TheDreadPirate. Edited 1 time in total.)
    I have a file with the exact same codecs and containers. When I disable transcoding and only allow remuxing it remuxes correctly into a MP4 instead of .MOV like yours does. I think the reason it takes so long to start is because .MOV doesn't support segmentation so you have to wait for the remux to fully complete before it starts.

    Let's try rebuilding the docker container.

    Code:
    sudo docker compose down jellyfin
    sudo docker system prune -a
    sudo docker compose up -d jellyfin

    We are stopping Jellyfin, then pruning the virtual file system it creates and the image. This does NOT delete your permanent config files or media. Then starting jellyfin again. It will re-pull the image and rebuild the 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]
    ghiamar
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:Argentina
    #16
    2024-07-26, 10:35 PM (This post was last modified: 2024-07-26, 10:39 PM by ghiamar.)
    I'm using portainer so I've stopped the jellyfin container, then in the host cmd ran sudo docker system prune -a and then deployed the stack again. Tried to play track #27 and that created two remux logs:
    https://pastebin.com/raw/F2cxBRPy
    https://pastebin.com/raw/mv40sDYV

    And the delay stayed, then I realized that I haven't mapped the domain used for jellyfin locally to the host server local IP (since all clients are in my home network), changed that in my router to point my jellyfin domain name to the local server IP address and the delay went away, no remuxes since then... ¿¿??

    Current JF log
    https://pastebin.com/raw/Q6yhkKE0

    Is there a way somehow going into internet to query the JF local server through JF configured domain caused the remux and the slowness? (the slowness I can get it because of the internet loop, but the remux ¿¿??)

    Another one. ¿can I be certain that a Handbrake transcoded video with this result is compatible enough to get Direct playing in all clients?

    Code:
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Season 01 remaster/Bluey (2018) s01e01.mp4':
      Metadata:
        major_brand    : mp42
        minor_version  : 512
        compatible_brands: mp42iso2avc1mp41
        creation_time  : 2024-07-24T14:35:07.000000Z
        title          : Bluey - T01E01 - Stranno
        artist          : Dave McCormack,Melanie Zanetti,Brad Elliot,Hsiao-Ling Tang
        encoder        : HandBrake 1.5.1 2022030700
        description    : Bluey y Bingo sacan un xilófono mágico que tiene el poder de congelar a su padre
      Duration: 00:07:18.02, start: 0.000000, bitrate: 1558 kb/s
      Chapters:
        Chapter #0:0: start 0.000000, end 420.503000
          Metadata:
            title          : Intro
        Chapter #0:1: start 420.503000, end 437.937000
          Metadata:
            title          : Credits
      Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 1226 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc (default)
        Metadata:
          creation_time  : 2024-07-24T14:35:07.000000Z
          handler_name    : VideoHandler
          vendor_id      : [0][0][0][0]
      Stream #0:1(spa): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 160 kb/s (default)
        Metadata:
          creation_time  : 2024-07-24T14:35:07.000000Z
          handler_name    : Español (Latinoamericano)
          vendor_id      : [0][0][0][0]
      Stream #0:2(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 160 kb/s
        Metadata:
          creation_time  : 2024-07-24T14:35:07.000000Z
          handler_name    : English
          vendor_id      : [0][0][0][0]
      Stream #0:3(eng): Subtitle: mov_text (tx3g / 0x67337874), 1920x162, 0 kb/s (default)
        Metadata:
          creation_time  : 2024-07-24T14:35:07.000000Z
          handler_name    : English [CC]
      Stream #0:4(spa): Subtitle: mov_text (tx3g / 0x67337874), 1920x162, 0 kb/s
        Metadata:
          creation_time  : 2024-07-24T14:35:07.000000Z
          handler_name    : Español (Latinoamericano) [CC]
      Stream #0:5(eng): Data: bin_data (text / 0x74786574)
        Metadata:
          creation_time  : 2024-07-24T14:35:07.000000Z
          handler_name    : SubtitleHandler
    Jellyfin Server 10.9.8 (Docker)
    Ubuntu 22.04 LTS
    Intel Core i5-8500T (6 cores, 6 threads)
    16GB (2x8GB) SODIMM DDR4-2667
    Intel UHD Graphics 630
    OS drive
        Samsung SSD 840 120GB
    Storage
        2x TeamGroup 2TB nvme (software raid1 mdadm)
    ghiamar
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:Argentina
    #17
    2024-07-26, 10:52 PM
    iOS delay also gone, no remux at all
    Jellyfin Server 10.9.8 (Docker)
    Ubuntu 22.04 LTS
    Intel Core i5-8500T (6 cores, 6 threads)
    16GB (2x8GB) SODIMM DDR4-2667
    Intel UHD Graphics 630
    OS drive
        Samsung SSD 840 120GB
    Storage
        2x TeamGroup 2TB nvme (software raid1 mdadm)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #18
    2024-07-27, 12:53 AM
    The only issue I see are the subtitles. For max compatibility, SRT subs are recommended.
    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]
    ghiamar
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:Argentina
    #19
    2024-07-28, 12:58 PM
    Great! Can I transcode subs to SRT in handbrake? Or I have to export/convert/inserting Handbrake or just leave them beside the video files in media folder?
    Jellyfin Server 10.9.8 (Docker)
    Ubuntu 22.04 LTS
    Intel Core i5-8500T (6 cores, 6 threads)
    16GB (2x8GB) SODIMM DDR4-2667
    Intel UHD Graphics 630
    OS drive
        Samsung SSD 840 120GB
    Storage
        2x TeamGroup 2TB nvme (software raid1 mdadm)
    Pages (2): « Previous 1 2

    « 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