• 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 encode for direct play?

     
    • 0 Vote(s) - 0 Average

    How to encode for direct play?

    How to encode for direct play?
    lmorgan
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2025 Nov
    Reputation: 0
    Country:United States
    #1
    1 hour ago
    I want to encode my videos so that it will use direct play on most devices. However I am having mixed results no matter what I do. I encode the video before hand with ffmpeg and then add it to the server. 50% of the time the videos will not direct play on Chrome. Ideally I would like to it to work on Web/Android/Roku without transcoding. 

    Also, I would love to use av1, does it work on Roku? It says so in the docs, but I have heard otherwise.

    Basically I just need to know what encoding 'settings' to use to make sure that it usually direct plays. I have been beating my head against the walls with this for weeks now.

    The ffmpeg command I have been using is below for reference:

       ffmpeg \
           -hide_banner \
           -loglevel quiet \
           -y \
           -i "$input" \
           -map 0 \
           -c:v libx264 \
           -preset slow \
           -maxrate 8M \
           -bufsize 16M \
           -crf 18 \
           -tag:v avc1 \
           -c:a aac \
           -ac 2 \
           -b:a 192k \
           -profile:v baseline \
           -pix_fmt yuv420p \
           -level 3.1 \
           -c:s mov_text \
           -movflags +faststart \
           "${base}_new.mp4"


    Any help solving this issue would be greatly appreciated.
    « 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