• 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 How to avoid transcoding?

     
    • 0 Vote(s) - 0 Average

    How to avoid transcoding?

    WeekOk3669
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    #1
    2024-04-13, 09:59 PM
    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.

    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!
    bitmap
    Offline

    Community Moderator

    Posts: 766
    Threads: 9
    Joined: 2023 Jul
    Reputation: 24
    #2
    2024-04-14, 12:56 AM
    Match the media to your client setup. If it's just you, that's pretty easy. Determine what client you're using (i.e., Chromecast, Roku, Jellyfin Media Player on a PC) and what it's compatible with. Most basic setups only have stereo speakers and will play UP TO 5.1 audio. Anything more than that or special codecs like DTS-MA, Atmos, etc... and you're SOL.

    Additionally, subtitles don't *always* require transcoding, but anything in the "picture-based" family (DVD, VOB, PGS) generally will require transcoding on most client devices. Some ASS subs will require transcoding as well, depending on how complex they are.

    So if you have a real basic setup, aim for H264 Main Profile < Level 5.1 (I think, double-check), AAC audio with 5.1 or fewer channels, make sure it's wrapped in an MP4 container, and avoid anything except SRT subtitles, preferably stored externally as an SRT file (e.g., Awesome Movie (2024).en.srt for English subs in SRT format for media called "Awesome Movie" released in 2024). Happy to elaborate, but this is the main thing folks miss -- your media has to be compatible with all of the clients you serve or your hardware has to be up to spec to handle transcoding.

    Somebody will probably come in and tell you an rPi isn't recommended. I agree with that statement, but I say try with whatever you have and learn the basics of media before you invest in upgraded hardware.
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    « 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