• 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: direct play problem with mp4 and certain codecs on android native player

     
    • 0 Vote(s) - 0 Average

    SOLVED: direct play problem with mp4 and certain codecs on android native player

    David Müller
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    #1
    2024-08-10, 10:06 PM (This post was last modified: 2024-08-11, 09:49 PM by David Müller. Edited 2 times in total.)
    Hi,

    I have strange problem with mp4 files on android (native player):

    If I have AV1 and Opus as codecs, then it transcodes both audio and video.
    If I have a file with h264 and Opus, then it transcodes only the audio.

    It says as reason that the audio codec is not supported in both cases.

    But it plays audio opus files with directly.
    It's also direct playing just fine if I use MKV or WebM.
    Also no problems when using Web Player, Firefox for Android or Findroid.

    Edit: Also no problem with mp4 files with AV1 and AAC.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-08-11, 12:32 AM
    What version of Jellyfin are you running?
    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]
    David Müller
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    #3
    2024-08-11, 09:43 AM
    10.9.9 for server.
    2.6.2 for android client.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-08-11, 07:27 PM
    Can you share your full jellyfin and ffmpeg logs via pastebin?
    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]
    David Müller
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    #5
    2024-08-11, 08:32 PM
    Jellyfin: https://pastebin.com/0ZX1QU1G

    FFMPEG: https://pastebin.com/9EuJFY5S
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-08-11, 08:45 PM (This post was last modified: 2024-08-11, 08:47 PM by TheDreadPirate. Edited 1 time in total.)
    This might be an issue with the device profile the jellyfin app produces. I confirmed that OPUS direct plays in webm and MKV, but transcodes when the same audio is in MP4.
    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]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-08-11, 08:55 PM
    Yes. The profile builder is not including opus as a direct play codec.

    https://github.com/jellyfin/jellyfin-and...er.kt#L251
    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]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-08-11, 09:46 PM (This post was last modified: 2024-08-11, 10:07 PM by TheDreadPirate. Edited 1 time in total.)
    I submitted this PR to add OPUS to the Android apps direct play profile.

    https://github.com/jellyfin/jellyfin-android/pull/1463
    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]
    David Müller
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    #9
    2024-08-11, 09:49 PM
    Thanks!

    For now I made a custom build and it works just fine (both with AV1 and H264).

    I just wonder why it direct streamed the video with h264 but fully transcoded with AV1.
    « 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