• 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 HVEC on Google Chrome - Dropped Frames and stuttering ?

     
    • 0 Vote(s) - 0 Average

    HVEC on Google Chrome - Dropped Frames and stuttering ?

    ohmygosh
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Oct
    Reputation: 0
    #1
    2024-12-04, 09:07 PM
    Trying out setup on new (old) hardware. Intel i5-8500t running jellyfin on kubernetes.
    Video device /dev/dri/renderD128 passed through with correct permissions, ffmpeg seems to confirm that:

    Code:
    /usr/lib/jellyfin-ffmpeg/vainfo --display drm --device /dev/dri/renderD128
    Trying display: drm
    libva info: VA-API version 1.22.0
    libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
    libva info: Found init function __vaDriverInit_1_22
    libva info: va_openDriver() returns 0
    vainfo: VA-API version: 1.22 (libva 2.22.0)
    vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.4.2 (b6b411f)
    vainfo: Supported profile and entrypoints
          VAProfileNone                  : VAEntrypointVideoProc
          VAProfileNone                  : VAEntrypointStats
          VAProfileMPEG2Simple            : VAEntrypointVLD
          VAProfileMPEG2Simple            : VAEntrypointEncSlice
          VAProfileMPEG2Main              : VAEntrypointVLD
          VAProfileMPEG2Main              : VAEntrypointEncSlice
          VAProfileH264Main              : VAEntrypointVLD
          VAProfileH264Main              : VAEntrypointEncSlice
          VAProfileH264Main              : VAEntrypointFEI
          VAProfileH264Main              : VAEntrypointEncSliceLP
          VAProfileH264High              : VAEntrypointVLD
          VAProfileH264High              : VAEntrypointEncSlice
          VAProfileH264High              : VAEntrypointFEI
          VAProfileH264High              : VAEntrypointEncSliceLP
          VAProfileVC1Simple              : VAEntrypointVLD
          VAProfileVC1Main                : VAEntrypointVLD
          VAProfileVC1Advanced            : VAEntrypointVLD
          VAProfileJPEGBaseline          : VAEntrypointVLD
          VAProfileJPEGBaseline          : VAEntrypointEncPicture
          VAProfileH264ConstrainedBaseline: VAEntrypointVLD
          VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
          VAProfileH264ConstrainedBaseline: VAEntrypointFEI
          VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
          VAProfileVP8Version0_3          : VAEntrypointVLD
          VAProfileVP8Version0_3          : VAEntrypointEncSlice
          VAProfileHEVCMain              : VAEntrypointVLD
          VAProfileHEVCMain              : VAEntrypointEncSlice
          VAProfileHEVCMain              : VAEntrypointFEI
          VAProfileHEVCMain10            : VAEntrypointVLD
          VAProfileHEVCMain10            : VAEntrypointEncSlice
          VAProfileVP9Profile0            : VAEntrypointVLD
          VAProfileVP9Profile2            : VAEntrypointVLD

    The problem is that in Chrome and Safari the videos that have HVEC codec seem to be "jerky" and stuttering. Playing the same movies with Jellyfin Media Player is all fine (same Mac).
    Checked with
    Code:
    intel_gpu_top
    in both cases there does not seem to be any transcoding happening.

    Sample media info:
    Code:
    Video
    Title: 1080p HEVC SDR
    Codec: HEVC
    AVC: No
    Profile: Main
    Level: 120
    Resolution: 1920x1080
    Aspect ratio: 16:9
    Anamorphic: No
    Interlaced: No
    Framerate: 23.976025
    Bitrate: 2367 kbps
    Bit depth: 8 bit
    Video range: SDR
    Video range type: SDR
    Colour space: bt709
    Colour transfer: bt709
    Colour primaries: bt709
    Pixel format: yuv420p
    Ref frames: 1

    While viewing it shows dropped frames:

    [Image: temp-Image-Baxd-Up.avif]

    H264 encoded videos don't seem to have any problems. 
    I tried googling but it seems you cannot force transcoding to H264? Any other hints how can this be improved?

    thank you
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-12-04, 09:47 PM
    Dropped frames is usually a client side issue.  What are the specs of the client?  Does it support HEVC decoding in the GPU?  If it is software decoding, that could be the problem.

    But there is a setting for the preferred transcode codec.

    Settings (not dashboard) > Playback > Preferred transcode video codec

       
    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]
    ohmygosh
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Oct
    Reputation: 0
    #3
    2024-12-05, 05:15 AM
    Both Chrome and Jellyfin Media Player run on same client - Macbook M1 Pro.
    Both as far as I can tell don't do any transcoding, and Jellyfin Media Player  plays fine while Chrome (and Safari to that extent) have issues.
    Firefox seems to also run fine, but according to intel_gpu_tool it does seem to transcode. This is what I see in intel_gpu_tool while viewing with both chrome and Jellyfin Media Player
    Code:
            ENGINES    BUSY                                                                                                                                                                            MI_SEMA MI_WAIT
          Render/3D    0.00% |                                                                                                                                                                        |      0%      0%
            Blitter    0.00% |                                                                                                                                                                        |      0%      0%
              Video    0.00% |                                                                                                                                                                        |      0%      0%
        VideoEnhance    0.00% |                                                                                                                                                                        |      0%      0%
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-12-05, 02:20 PM
    Firefox does not play HEVC, except on Windows 11 with the HEVC codec installed via the Microsoft store.

    JMP will directly play almost everything. And I don't see why Chrome would struggle with a 1080P HEVC video on a M1, which has a HEVC decoder.

    Does MacOS have the equivalent to Windows Task Manager? Can you see what the CPU/GPU/decode load is when you play these videos in Chrome?
    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]
    ohmygosh
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Oct
    Reputation: 0
    #5
    2024-12-05, 09:35 PM
    Chrome CPU is almost idle, 7-8%, GPU does not seem to change also though the graph is very basic

    [Image: Screenshot-2024-12-05-at-23-27-43.png]

    Ironically disabling hardware acceleration on Chrome plays the video just fine just that Google Chrome GPU jumps up to ~60%. Safari does not seem to have that option, so I guess I'll just have to live with that.
    « 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