• 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 MKV Flac embedded subs

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    MKV Flac embedded subs

    When ever i try to stream an mkv file with flac 48khz and embedded subs the stream is stuck loading
    mlprd
    Offline

    Junior Member

    Posts: 5
    Threads: 0
    Joined: 2024 Sep
    Reputation: 0
    #11
    2024-09-02, 05:29 AM
    After reading Toby's comment about the subs, I re-encoded the video with no subs and still have the same results. It will play in the Windows client, but not the Android or Android TV clients.
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,168
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #12
    2024-09-02, 06:22 AM
    (2024-09-02, 05:29 AM)mlprd Wrote: After reading Toby's comment about the subs, I re-encoded the video with no subs and still have the same results.  It will play in the Windows client, but not the Android or Android TV clients.
    Sounds like a transcoding issue. You're using JMP which can direct play ASS subs which means no transcoding happens.

    From your Jellyfin server, can you share:
    1. What CPU
    2. What GPU (if any)
    3. Your server logs (both server and ffmpeg logs) after playing a video that fails.
    mlprd
    Offline

    Junior Member

    Posts: 5
    Threads: 0
    Joined: 2024 Sep
    Reputation: 0
    #13
    2024-09-04, 06:43 PM (This post was last modified: 2024-09-04, 06:46 PM by mlprd.)
    (2024-09-02, 06:22 AM)Efficient_Good_5784 Wrote:
    (2024-09-02, 05:29 AM)mlprd Wrote: After reading Toby's comment about the subs, I re-encoded the video with no subs and still have the same results.  It will play in the Windows client, but not the Android or Android TV clients.
    Sounds like a transcoding issue. You're using JMP which can direct play ASS subs which means no transcoding happens.

    From your Jellyfin server, can you share:
    1. What CPU
    2. What GPU (if any)
    3. Your server logs (both server and ffmpeg logs) after playing a video that fails.

    Not doing any transcoding at all.  Playing direct.  The same video files encoded with AC3 (passthru) or Opus audio play fine. Same subs too.

    Server is Debian 12, Docker container for Jellyfin server.

    cpu:

    Vendor ID:                AuthenticAMD
      Model name:            AMD Ryzen 9 7900 12-Core Processor

    No GPU in the server (why no transcoding... )

    I can try again to encode a file with FLAC and get the Docker logs.

    I think subtitles don't really make a difference, I think it's a FLAC audio problem in the Android app itself.

    I have a bunch of music that is in FLAC, and it is capable of playing the music files through the Android app fine.

    It's probably only a MKV video with FLAC audio that's triggering this behavior.

    The video files are H.265 (nvenc) created on Handbrake 1.8.2 (2024081000)

    I'll try a few combinations of h.264, mp4, av1, vp9 etc..
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #14
    2024-09-04, 06:52 PM
    I believe the issue lies in exoplayer and not Jellyfin on Android. I've reported this issue on our Android git, but I also found reports on exoplayer's git for the same behaviors not related to jellyfin.

    https://github.com/jellyfin/jellyfin-and...ssues/1342

    One FLAC related behavior that might be related to Jellyfin is when you have multiple FLAC tracks. If you select a FLAC track other than the first one, Jellyfin will hang.

    https://github.com/jellyfin/jellyfin-and...ssues/1343
    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]
    mlprd
    Offline

    Junior Member

    Posts: 5
    Threads: 0
    Joined: 2024 Sep
    Reputation: 0
    #15
    2024-09-05, 08:33 PM
    What I was trying to do with my transcodes was to encode DTS, DTS-HD/MA and Dolby TruHD to FLAC , and just pass-thru the AC3 tracks.
    This is to avoid the lack of DTS* and DD+ / DD-TrueHD support on most devices while keeping the lossless audio intact.

    I didn't have any circumstances where I had multiple FLAC tracks on the mkv files.

    That makes sense that the ExoPlayer on Android has the bug. The windows JF client has no issues playing the FLAC tracks.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #16
    2024-09-05, 08:45 PM
    Oh. I forgot to mention, this issue also happens with Findroid when using exoplayer. Confirming the hypothesis that exo is the root cause. Switching Findroid to MPV resolves the issue. BUT, I prefer to use exoplayer in Findroid since it will properly render my HDR10 content while MPV tone maps.

    I had planned on converting all my media to FLAC/OPUS. I've already discarded all the language tracks I didn't need, but kept Japanese tracks in addition to the English tracks on my anime. Most of the anime with DTSMA or TrueHD tracks for English also had them for Japanese, hence having more than one FLAC track.

    But I am probably going to give up and just do OPUS for everything.
    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]
    mlprd
    Offline

    Junior Member

    Posts: 5
    Threads: 0
    Joined: 2024 Sep
    Reputation: 0
    #17
    2024-09-08, 12:07 AM
    So far I have had good luck with Opus just working everywhere. The sound quality seems excellent if you use the highest bitrate possible. The files are substantially smaller than using FLAC too.
    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