This program generates an AV1 video encoding command for use with Av1an, a chunked AV1 encoding tool for use with aomenc, SVT-AV1, and rav1e.

This tool takes in the video resolution, frame rate, desired encoder, speed preset, and target bitrate range as command line arguments. Based on these parameters, it calculates settings like tile columns/rows, lag-in-frames, CRF, and encoder speed preset. Then, it injects these into a generated encoding command string.

The output is a full Av1an command that can be run to encode a video based on the specified settings.

  • GnuLinuxDude
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    9 months ago

    The idea seems nice but it kind of presumes that the user knows what the options are to input them into the program. This kind of seems like it should be a wizard, e.g.

    ./av1an-command-gen
    Enter the video width. Common values include 3840 , 1920, 1280.
    <>
    
    Enter the video height. Common values include 2160, 1080, 720.
    <>
    
    Desired framerate. Enter 0 for same as source:
    <>
    
    Which encoder would you like? rav1e, svt, or aom?
    <>
    
    What speed would you like to choose?
    Faster might mean lower quality. The available options are [ ... ].
    <>
    
    What is your target bitrate?
    Higher values mean higher video quality but also a larger video size. The available options are [ ... ].
    <>
    

    This isn’t a feature request, just a passerby suggestion. Actually, what it really could be is just a simple static hosted page on github pages.

    • Gianni ROPM
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 months ago

      My tool rAV1ator CLI does exactly this. And I run the Codec Wiki to serve the education part. This tool was just for fun :)