• 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 I have a problem

     
    • 0 Vote(s) - 0 Average

    I have a problem

    Can I somehow prepare/extract the audio and subtitle streams so transcoding won't be necessary?
    Homind
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:United States
    #1
    2024-07-24, 06:58 AM (This post was last modified: 2024-07-25, 06:27 AM by Homind. Edited 2 times in total.)
    Hey!
    I recently installed jellyfin on a Raspberry Pi 4 and absolutely love it!
    I unfortunately have some files that contain multiple audio streams and multiple subtitle streams that I all need.
    According to ffprobe all the audio streams are aac and all the subtitles are dvd_subtitle.
    bloons tower defense
    When I play the video, select the default audio stream and disable subs everything works great, since direct play is used.
    But when I select any other audio track and/or a subtitle stream, the raspberry pi is fully occupied by trying to provide a transcoded stream for this single client.

    Can I somehow prepare/extract the audio and subtitle streams so transcoding won't be necessary? I tried to extract one aac stream via ffmpeg and used it as an "external file". I was able to select it, but with external audio tracks the performance was significantly worse than just using the embedded ones and transcode.

    Looking forward to suggestions and thanks for reading!
    34626
    Offline

    Member

    Posts: 172
    Threads: 36
    Joined: 2023 Jul
    Reputation: 0
    Country:Denmark
    #2
    2024-07-24, 08:36 AM
    It's long time since i used a Raspberry Pi 4 for Jellyfin, due to the limitation you experience.

    In jellyfin you can go to the dashboard -> Playback and change the hardware acceleration (I dont know if that will really improve anything).

    But else, you might need to edit the config.txt on the raspberry pi and give the GPU 320M of ram + OC it - If you do this, it's on your own risk, the Pi will need cooling, i used the Argon One M2 case for mine (Just an example).

    But i would recommend you to use another devices then a Raspberry Pi
    Serv: N5105 - 32GB RAM, 1 WD Red SA500 2TB, 2 8TB, 2 4TB WD Red Plus, LC-35U3-C-HUB
    OS: Debian
    Clients: Pi4 with LibreELEC + JellyCon and Jellyfin Media Player
    Network: 2 TP-Link AX23, OpenWRT mesh 802.11s and 1 Gbit
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2024-07-24, 02:50 PM
    Jellyfin/ffmpeg does not support HWA on RPi4's. Not that the RPi4 has any useful media engines anyway.

    Many Jellyfin clients support direct playing the first audio and subtitle track (SRT/ASS subtitles only). If you select a secondary audio track it will require a remux on most clients, which your RPi should be able to handle. But if your subtitles are PGS, or some other image based subtitle, that would require burning in the sub. Which requires transcoding.

    You either need hardware capable of handling transcoding or remove all the audio tracks you don't want so that there is only the one. And have SRT subtitles.
    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]
    « 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