32bit Lagarith output

For me, the best feature would be 32bit Lagarith output.

64bit should be a fine option too.

1 Like

Don,
You are definitely a man of few words; however I absolutely love your suggestion.

Anyone interested in improving their video by passing it through several editing applications, enhancing, formatting and preparing it for output in its final form should love the idea of performing all these operations using lossless codecs.

With most codecs, you actually lose a little of the original image every time you perform an operation to transform it or edit it. - The use of lossless codecs prevents that degradation, which means that the final product output in whatever the final format is will be implicitly better.

Using 32bit Lagarith (or something like it) will even make multiple passes through VEAI less lossy and assure effective results.

For anyone reading this and interested in learning more about lossless video: Click Here

Added: Actually, there are several lossless video codecs that could be considered. The key word here is “lossless.” Lossless Codecs Listing

There are already some lossless codecs available in the topaz ffmpeg build

  • Ut Video
  • HUffyuv
  • MagicYUV
  • FFV1

Use the CLI or edit the “encoders.json” file to add them to the GUI

example

{
    "text": "MagicYUV RGB 8 bits",
    "encoder": "-c:v magicyuv -pred median -pix_fmt gbrp",
    "ext": [
      "avi"
    ],
    "transcode": "pcm_s16le",
    "maxSize": [8192, 8192],
    "maxBitDepth": 8
  },
1 Like

Thanks for that, I am a big user of Lagarith RGB 32 bit, copy after copy with no change.

If you want RGB32 instead of RGB24 in MagicYUV use gbrap in the -pix_fmt

But ffmpeg MagicYUV has limitations compared to the official vfw/plugin buid

  • no dynamic compression (meaning slightly bigger files)
  • no multithreading decoding with the produced output
  • no high bitdepth support

16 bit tiff will do me for now. Nice to see a fully featured Lagarith output, in save options one day.

@Martyprod @dimsimjim @jphilip-649517 @ida.topazlabs

Yes. Some lossless codecs are available via CLI.
We need at least one that is available directly from the GUI. Perhaps this is it…

FYI: Royalty-Free Lossless Codec - What we need!!!

Can this be used somehow for applying other types of ffmpeg edit commands to footage in topaz?

First, you need to find out which encoders are available in FFMPEG for TVAI.

"C:/Program Files/Topaz Labs LLC/Topaz Video AI/ffmpeg" -encoders

 VF...D cfhd                 GoPro CineForm HD
 VF...D ffvhuff              Huffyuv FFmpeg variant
 VF...D magicyuv             MagicYUV video
 VF...D utvideo              Ut Video

Next, check the supported pixel formats and options for the encoder you want to use.

"C:\Program Files\Topaz Labs LLC\Topaz Video AI\ffmpeg" -h encoder=huffyuv

Encoder huffyuv [Huffyuv / HuffYUV]:
    General capabilities: dr1 threads
    Threading capabilities: frame
    Supported pixel formats: yuv422p rgb24 bgra
"C:\Program Files\Topaz Labs LLC\Topaz Video AI\ffmpeg" -h encoder=cfhd

Encoder cfhd [GoPro CineForm HD]:
    General capabilities: dr1 threads
    Threading capabilities: frame
    Supported pixel formats: yuv422p10le gbrp12le gbrap12le

Notice the support pixel format.
If there are no more than 10 numbers in YUV or 30 numbers in RGB, up to 8 bits are supported.

Some typical examples are listed below.
yuv420p = YUV 4:2:0 8bit
yuv422p10le = YUV 4:2:2 10bit little-endian
rgb24 = RGB 8bit
rgb48le = RGB 16bit little-endian

After confirming the above, you can select an encoder from the TVAI GUI by setting it in “encoders.json”.

1 Like