Skip to main content
giovanni santi
Participating Frequently
November 2, 2016
Answered

Webm VP9 encoding very slow in AME

  • November 2, 2016
  • 2 replies
  • 9198 views

I'm encoding some videos in VP9 format with AME.

For a 6 minute video AME takes about three hours for VP9 format ... but for H264 only some minute.

Do it's normaly ?

Do it is possible to accelerate de encoding for vp9 ?

Thank you

This topic has been closed for replies.
Correct answer fnordware

Yeah, VP9 is slow! As I answered here:

VP9 is a high-quality codec, but pretty slow. You'll get a big speed-up (but lose quality) if you use VP8 instead.

Another thing you can try is using the custom args field, and putting "--cpu-used=3" or numbers higher than 3. This should turn off some VP9 features and speed things up (again, losing some quality).

2 replies

fnordwareCorrect answer
Inspiring
November 10, 2016

Yeah, VP9 is slow! As I answered here:

VP9 is a high-quality codec, but pretty slow. You'll get a big speed-up (but lose quality) if you use VP8 instead.

Another thing you can try is using the custom args field, and putting "--cpu-used=3" or numbers higher than 3. This should turn off some VP9 features and speed things up (again, losing some quality).

Adobe Employee
November 3, 2016

You are using a 3rd party plugin to encode to VP9 and so the best option is to check with that developer for help.

giovanni santi
Participating Frequently
November 3, 2016

The H264 is a codec of 3rd party too ... noob

Adobe Employee
November 3, 2016

Are you using a third party H264 exporter plugin also? Because H264 exporter in AME is maintained by Adobe and so we can try to answer questions related to issues with it. But the same is not true with a true third party exporter plugin.

So, when you are encoding there are a number of factors come to into play, for the encode speed. But they fall into two major parts. First, rendering of the source into a plugin requested uncompressed frame format. In most cases it is YUV. This is pretty much independent of the exporter plugin except when the requested format is different which can cause just a minor variation in render speed, in most cases.

Secondly, the plugin takes the uncompressed buffer and does the encoding to it's format. In your case VP9.

Since you report H264 encodes are faster but the VP9 encodes are much slower, it would probably mean the VP9 exporter plugin is taking longer to compress the frames. But we don't maintain that plugin to help with it.

Hope that makes sense! cheers!