• 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 Why is transcoding happening for HEVC->H264 files in chrome?

     
    • 0 Vote(s) - 0 Average

    Why is transcoding happening for HEVC->H264 files in chrome?

    __WhoAmI__
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    Country:Denmark
    #1
    2023-08-21, 09:10 AM (This post was last modified: 2023-08-21, 09:12 AM by __WhoAmI__. Edited 1 time in total.)
    Hi, 

    I don't understand Jellyfins behaviour. 
    And dont understand if this is a bug, or by design. 

    I have a 4K HEVC/HDR10 mkv file with AC3 5.1 soundtrack. 
    In this instance I use Chrome 115(64bit) web player for playback. 

    1) If I disable video transcoding, enable audio transcoding = Video playback Direct Play Ok, No Audio. 
    2) If I enable video transcoding, enable audio transcoding = Video playback Transcoding to H264 Ok, Audio playback transcoded to AAC. 
    3)  If I disable video transcoding, disable audio transcoding = No playback in browser

    - 1*) I do not understand this behaviour at all. Why is audio transcoding not working in 1? Surely chrome does not know how to playback AC3 5.1.
    - 2*) Why is it transcoding HEVC->H264, when chrome can playback HEVC as seen from 1). 
    - 3*) This makes good sense.
    Venson
    Offline

    Moderator, Server Dev, XBox Maintainer

    Posts: 375
    Threads: 7
    Joined: 2023 Jun
    Reputation: 15
    Country:Germany
    #2
    2023-08-21, 10:07 AM
    Hey @__WhoAmI__

    Playback of 5.1 sound is a bit troublesome, do you actually have a supported 5.1 audio system attached to your browser? Because According to the documentation a remux is required to ensure correct playback:
    https://jellyfin.org/docs/general/client...dec-tables
    https://en.wikipedia.org/wiki/Comparison...ts_support

    Yes chrome _can_ playback hevc however there are multiple reasons why it choses not to, hevc playback is pretty new to chrome. Could you please post a logfile from when you tried to playback those media and upload it to an external site like pastebin? You might want to omit some personal infos like, Ips/Domains/Usernames.
    typos are finders, keepers.
    Next Jellyfin release 10.11.0 will be Soon™
    Soon™ is an unregistered trademark of Jellyfin International
    __WhoAmI__
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    Country:Denmark
    #3
    2023-08-22, 10:40 AM (This post was last modified: 2023-08-22, 10:41 AM by __WhoAmI__. Edited 1 time in total.)
    Hi,

    I will try to upload a sample when possible.

    However the questions i pose, still does not make any sense in regard to the behaviour.
    Why will it not transcode AC3 into AAC for 1) but still play back HEVC natively?
    This would be the absolutely most wanted behaviour, as it would allow direct stream of video, and only transcode audio.
    But it does not transcode the audio. Only when I allow transcoding of video, will it then transcode VIDEO AND AUDIO.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-08-22, 04:13 PM
    I've found that a lot of the issues users have are related to transcoding. More specifically, trying to force direct play or trying to force transcoding in certain ways.

    Jellyfin will always try to direct play. And when it does transcode, it will use the best codecs that the client supports.

    I have yet to see a user successfully "force" Jellyfin to transcode in the way they wanted.
    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]
    __WhoAmI__
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    Country:Denmark
    #5
    2023-08-24, 11:54 AM
    Is there anywhere where one can try to understand the behaviour of where this is defined in jellyfin?

    I don't understand it, and it makes no sense to me, as listed in the OP.

    Surely something is set wrong in the decision making process.
    Venson
    Offline

    Moderator, Server Dev, XBox Maintainer

    Posts: 375
    Threads: 7
    Joined: 2023 Jun
    Reputation: 15
    Country:Germany
    #6
    2023-08-24, 12:08 PM
    The decision when and where to transcode is done in the client. You can check the github repro to look for that.
    typos are finders, keepers.
    Next Jellyfin release 10.11.0 will be Soon™
    Soon™ is an unregistered trademark of Jellyfin International
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #7
    2023-08-24, 09:50 PM (This post was last modified: 2023-08-24, 09:55 PM by Efficient_Good_5784. Edited 1 time in total.)
    Can you take a screenshot of your client's playback info? Are you sure with option 1 that the file is direct playing?

    I'm guessing that it's not direct playing, but that it states that the video stream itself is "direct" or unmodified. Then something else is happening where your audio is getting messed up as it tries to transcode it.
    And both are remuxed and sent to your client.

    At this time, Chrome can direct play HEVC files, but doesn't support MKV files. Try remuxing the file that you want to test into a MP4 file. Maybe that will help here.
    « 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