Skip to main content
giovanni santi
Participating Frequently
Nov 2, 2016 7:27 AM UTC
Answered

Webm VP9 encoding very slow in AME

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 is closed to new replies. Start a new post to keep the conversation going.
fnordwareCorrect answer
Inspiring
Nov 10, 2016 7:05 PM UTC

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).

4 replies

fnordwareCorrect answer
Inspiring
Nov 10, 2016 7:05 PM UTC

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).

Translate
Adobe Employee
Nov 3, 2016 12:30 AM UTC

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

Translate
giovanni santi
Participating Frequently
Nov 3, 2016 6:29 PM UTC

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

Translate
Adobe Employee
Nov 3, 2016 7:09 PM UTC

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!

Translate