• 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 CRF settings question.

     
    • 0 Vote(s) - 0 Average

    CRF settings question.

    Jellyfin calls 18 sane values, but can I go lower?
    SjoerdHekking
    Offline

    Junior Member

    Posts: 26
    Threads: 10
    Joined: 2023 Aug
    Reputation: 0
    #1
    2023-09-08, 08:42 AM
    Dear reader, 

    I am currently using 18 for both H.264/5, the movies look great and are almost indistinguishable from their original uploaded media.

    However, after doing a lot of research, I found out that setting it to 0 causes extreme file sizes, in the area of 50GB for a transcoded-(ing) file. I was wondering, is that 5%~ of better quality (according to someone who made a nice comparison list) worth it?

    Can I "sanely" set the CRF to maybe 12~'ish? What should I expect on the file sizes and the quality?

    Lastly, I am using a P4000, so I am not "that" worried about performance, currently it's transcoding large 8gb mkv files with 300-400fps, so I don't mind have it work more.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-09-08, 12:53 PM
    The range of quality possible is ultimately determined by how good the encoder is. In my experience with Pascal's NVENC, anything below a 16 resulted in huge increases in bit rate with no perceivable increase in quality.
    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]
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,168
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #3
    2023-09-08, 01:08 PM
    I've noticed that with VAAPI HWA, the CRF settings don't do anything.
    I have tried setting the CRF settings to the lowest and highest quality and comparing the final transcode, but both transcodes with VAAPI just look the same.
    It only ever worked with software transcoding for me.

    Ideally, you want to watch your content as close to the original source's quality. When transcoding, you're just re-encoding the content. Each time a video file is re-encoded, more information is lost. But since transcoding doesn't replace the original file, this is fine.

    Your goal would be to set CRF values that would produce a transcode around the same quality as the source. The values depend on a lot of factors, like the quality/efficiency of the encoder, the video file in question, and how powerful your hardware is.

    There is no point in using up more hardware utilization and temp disk space to create a bloated transcode so that no quality is lost during the transcode. As in, after a point, really low CRF values keep using up a lot of space and power just to get ever-so-close to the original quality of the source video. You can't create a better looking video by increasing CRF values. Your limit is the original source.

    Most people set their CRF values around 20-16.
    « 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