Copy link to clipboard
Copied
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
1 Correct answer
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).
Copy link to clipboard
Copied
You are using a 3rd party plugin to encode to VP9 and so the best option is to check with that developer for help.
Copy link to clipboard
Copied
The H264 is a codec of 3rd party too ... noob
Copy link to clipboard
Copied
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!
Copy link to clipboard
Copied
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).

