Adding encoders starting Beta 3.0.0.4.b

Hello Everyone,

There is a file encoders.json added to the default models directory.
on windows it is located at C:\ProgramData\Topaz Labs LLC\Topaz Video AI BETA\models
and on Mac it is inside the bundle /Applications/Topaz Video AI BETA.app/Contents/Resources/models

The json file contains an array of encoders with the following settings:

  • text: Name of the encoder shown in the list
  • encoder: The FFmpeg options for the encoder being added
  • ext: An array of extensions supported by the encoder
  • isImage: true if the output is image sequence
  • transcode: FFmpeg options for transcoding audio
  • maxBitRate: The maximum bitrate supported by the encoder (this needs to be present for bitrate to be an encoder option on the GUI)
  • noAutoBitRate: if the encoder doesn’t support auto detecting bit rate
  • os: if encoder is os specific then operating system osx (Mac) or windows
  • device: Nvidia,amd or intel if encoder is hardware specific

Just refer to the file for various examples of how the encoders in the app have been added.

Please post your questions, feedback, suggestions etc. here

NOTE: Every new install will overwrite the file, so keep a backup. In the future more options will be added to the file and this post will be updated.

6 Likes

what’s the encode audio right setting to put in the encoders.json to set the AAC encode to 320kbs ?
succeded to register a new “encoding preset”, i see the option of the videos which are working but in transcode with have “aac”.
I tried a -b:a 320k or aac -b:a 320k but i get an error, so it’s certainly something else.
any help would be much appreciated, thx !

Currently, the transcode option doesn’t support a command string. Will change it for the next release, so you can use “aac -b:a 320k” and get the desired results.

2 Likes

ok, got it :slight_smile: thanks !!

i’ve tried adding lossless transcoding with nvidia with this string

{
“text”: “Nvenc H265-Lossless”,
“encoder”: “-c:v hevc_nvenc -profile:v main10 -preset losslesshp -pix_fmt yuv422p10le”,
“ext”: [
“mov”,
“mkv”,
“mp4”
],
“maxBitRate”: 999999999,
“transcode”: “aac”,
“os”: “windows”,
“device”: “nvidia”
},

Yet it isnt showing up in the gui
Normal nvenc is
any idea why?

@suraj On Mac and Windows you could add Hand Brake support.

but hanbrake is a ffmpeg gui, right ? (like VEAI gui), so what kind of support ?

Hand grake has 12 bit x265

I believe that you may need to set handbrake to use the ffmpeg from Topaz or you’ll just be using the ‘generic.’

your reply is for @JesusSheep , not me :wink: (i don’t use x265)

Handbrake is open source so it can use libx265 for 12bit, unfortunately due to licensing VEAI cannot.

It could be the quotes, use a JSON validator to ensure the final json is correct. https://jsonformatter.org is a good quick way of ensuring JSON is valid.

1 Like

@Martyprod the transcoding issue reported should be fixed in the early access release. Report back here if it doesn’t work.

1 Like

Marty,

In your role as beta tester it is your duty to find something wrong with it. This can consist of things that don’t work as expected or produce poor results. And it can also include reports of functionality you should expect, but it is either not there or nonfunctional.

Be certain to make your reports in a professional manner: as confusing as possible.

Just kidding. :nerd_face: (Or was I?)

:cowboy_hat_face:

Marty,

Sorry. if you were offended. Last night, I was reeling under sedatives and pain killers and may have thought I was replying to someone else. - Plus, the last part was a joke. I hope you got that.

I had just been reading through a complaint that someone had made because VEAI wasn’t becoming a video be-all and end-all. And I think I sent him several paragraphs on software as tools and functionality.