• 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 General Questions Why is JF Transcoding?

     
    • 0 Vote(s) - 0 Average

    Why is JF Transcoding?

    Client can direct stream, so why transcoding?
    MediaMaan
    Offline

    Junior Member

    Posts: 10
    Threads: 3
    Joined: 2024 Apr
    Reputation: 0
    Country:Canada
    #1
    2024-05-18, 11:14 PM
    OK, I set up a new server recently, so I can benefit from Intel QSV when needed.
    Running Jellyfin Docker on unRAID.

    Transcoding works - my problem is it seems to be transcoding too often, when a Direct Play or Direct Stream would be more appropriate.
    e.g.

    Playback Device = Pixel 7 phone running Jellyfin Client
    Server User Setting = Allow Media, Allow Audio that requires transcoding & Allow video playback that requires conversion without re-encoding only selected.

    I play a 1080p HEVC file with AC3 audio.
    Result : Play Method = Direct Streaming, HEVC Direct, AAC audio

    Server User Setting is updated to include Allow video playback that requires transcoding
    Result when playing same video file : Play Method = Transcoding.
    The file transcodes to H264 with AAC.
    I can see the GPU spring to life (intel_gpu_top shows ffmpeg and Render/3D percentage jumps up to 98% to begin, while Video sits around 78%, Video Enhance around 28%, then they drop to 0%), and CPU usage increases.

    Playback Info reports reason for transcoding = Container not supported & audio codec not supported.

    Why, if the client is quite capable of Direct Streaming the HEVC video, would it transcode to H264?
    Why would it put extra resources on the playback of this file, when Direct Streaming (and just re-enconding audio) works perfectly?
    Is there a way I can limit this behaviour to only be performed on videos a specific client cannot truly play?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-05-19, 12:13 AM (This post was last modified: 2024-05-19, 12:13 AM by TheDreadPirate. Edited 1 time in total.)
    There is a setting to allow transcoding to HEVC. Is that enabled? If not, it defaults to only use H264.

    Jellyfin also logs why it transcodes.
    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]
    MediaMaan
    Offline

    Junior Member

    Posts: 10
    Threads: 3
    Joined: 2024 Apr
    Reputation: 0
    Country:Canada
    #3
    2024-05-19, 12:24 AM
    (2024-05-19, 12:13 AM)TheDreadPirate Wrote: There is a setting to allow transcoding to HEVC.  Is that enabled?  If not, it defaults to only use H264.

    Jellyfin also logs why it transcodes.

    Thanks for your reply.
    Yes, I have transcode to HEVC selected.
    However I didn't think it should be transcoding at all.

    I modified the Jellyfin client on my phone to use the Integrated Player instead of the Web Player. That has helped, and now it shows Direct Play.

    I am still confused as to why the client provoked a transcode on a file which it could Direct Stream through.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-05-19, 01:01 AM
    There is a line in the log (search for "TranscodeReason") that will state why it transcoded. The web player built into the Android app uses Chrome's HTML player, which does not support HEVC well. Switching to the integrated player uses exoplayer instead.
    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]
    MediaMaan
    Offline

    Junior Member

    Posts: 10
    Threads: 3
    Joined: 2024 Apr
    Reputation: 0
    Country:Canada
    #5
    2024-05-19, 03:46 AM
    (2024-05-19, 01:01 AM)TheDreadPirate Wrote: There is a line in the log (search for "TranscodeReason") that will state why it transcoded.  The web player built into the Android app uses Chrome's HTML player, which does not support HEVC well.  Switching to the integrated player uses exoplayer instead.

    Yeah, looks like ExoPlayer results in less Transcoding. I will run some tests on other hardware over the next few days, to ensure things are working as expected.
    « 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