test1 / exhm /extensions img2 /sd-webui-temporal /docs /temporal /tab_video_rendering.md
dikdimon's picture
Upload exhm using SD-Hub extension
194b4ef verified

NOTE: Almost all accordions within this tab can be reordered manually (using mouse or touchscreen, for example) to determine the order in which the modules will be invoked.
NOTE: Order matters a lot. For example, applying Sharpening after Text overlay will make the text sharpened, but otherwise the text will be drawn on top of a sharpened video.
NOTE: Draft mode skips all video filters, making the rendering process much faster for preview purposes.
NOTE: Resulting videos will be placed in the output directory.

  • Frames per second β€” virtual framerate. It corresponds to how often the frames change, but not necessarily to the actual video framerate, which is still a subject to change by the interpolation.
  • Looping β€” makes the resulting video loop in a "boomerang"-like fashion (e.g. 1 2 3 4 3 2 1).
  • Generic options available to all video filters:
    • (βœ”οΈ to the left of a filter name) β€” determines if a filter is enabled.
  • Chromatic aberration β€” fake chromatic aberration-like effect that shifts red and blue channels away from the pixel's center.
    • Distance β€” distance of channel shifting in pixels.
  • Color balancing β€” common color balancing.
    • Brightness β€” target brightness level.
    • Contrast β€” target contrast level.
    • Saturation β€” target saturation level.
  • Deflickering β€” reduction of the luminance variations between the consecutive frames.
    • Frames β€” amount of frames to take into account when calculating the mean luminance.
  • Interpolation β€” video framerate upscaling/downscaling using motion interpolation in order to keep the transitions between frames smooth.
    • Frames per second β€” interpolated video framerate.
    • Motion blur subframes β€” additional subframe count to make the resulting video even smoother.
      • NOTE: Results are mostly negligible, and each subframe multiplies the amount of work by the factor of x + 1.
  • Scaling β€” video resolution upscaling/downscaling using Lanczos interpolation.
    • Width/Height β€” final video resolution.
    • Padded β€” pad video with borders if the aspect ratio doesn't match, otherwise simply stretch it to fill Width/Height.
    • Background color β€” color of the padded area.
    • Backdrop β€” use a scaled copy of the video as the background.
    • Backdrop brightness β€” brightness of the backdrop video.
    • Backdrop blurring β€” blurring radius of the backdrop video.
  • Sharpening β€” unsharp masking.
    • Strength β€” sharpening strength.
    • Radius β€” sharpening radius.
  • Temporal averaging β€” averaging of several consecutive frames.
    • Radius β€” filter radius; total amount of averaged frames equals to x * 2 + 1.
    • Algorithm β€” algorithm to use when computing the average.
      • Mean β€” produces blurry video.
      • Median β€” produces sharper video than Mean, but more prone to artifacts.
    • Easing β€” kernel easing factor.
      • NOTE: This parameter is relevant only for Mean algorithm.
      • Value of 0 means that every frame will be averaged in an equal proportion, whereas value greater than 0 makes a distribution ranging from 0 to 1.
      • Value greater than 0 makes a soft distribution curve.
      • Value of 1 makes a triangle distribution curve.
      • Value greater than 1 makes a sharp distribution curve.
      • EXAMPLES:
        • Radius: 1; Easing: 1.0 = Weights [0.5 1 0.5]
        • Radius: 1; Easing: 0.5 = Weights [0.707 1 0.707]
        • Radius: 1; Easing: 2.0 = Weights [0.25 1 0.25]
        • Radius: 3; Easing: 0.0 = Weights [1 1 1 1 1 1 1]
  • Text overlay β€” text drawing on top of the video.
    • Text β€” text that will be drawn. Variables should be enclosed between {}. Available variables are:
      • frame β€” number of the currently shown frame.
    • Anchor X/Y β€” anchor of where the text should be placed regarding the frame borders. 0.0 β€” left/top, 0.5 β€” center/center, 1.0 β€” right/bottom.
    • Offset X/Y β€” position of the text relative to the anchor; pixels.
    • Font β€” name of the system-installed font.
    • Font size β€” size of the font; pixels.
    • Text color β€” color of the text.
    • Text alpha β€” opacity of the text.
    • Shadow offset X/Y β€” offset of the text shadow; pixels.
    • Shadow color β€” color of the text shadow.
    • Shadow alpha β€” opacity of the text shadow.
  • Parallel index β€” index of an image set to render.
  • Render draft/final β€” start the video rendering immediately.
  • Preview β€” a video player that will show the result after the manually started video rendering finishes.