At the mean time,setting a reasonable `max bitrate` for video sender can be an option too.在2021年12月28日星期二 UTC+8 17:33:04<klaus zhang> 写道:hello,buddiesAV1 encoding on mobile platforms is a bit slow,How can we speed up the process?I have some strategy below to try to speed it up.
- obvious way is that setting the highest value for AOME_SET_CPUUSED to speed 9 or speed 10 for real-time mode.
- try to use multi-threads,1,2,4,8,....2**n
- set super block size to `AOM_SUPERBLOCK_SIZE_128X128` rather than `AOM_SUPERBLOCK_SIZE_64X64`.I'm not sure that if this will work.Appreciated that if someone can explain this.
- set correct tile mode with the given input image size.for example,choose `AV1E_SET_TILE_COLUMNS` if width > height,othersie,choose `AV1E_SET_TILE_ROWS`.for a 720x1280 frame,choosing `AV1E_SET_TILE_ROWS` and for a 1280x720 frame choosing `AV1E_SET_TILE_COLUMNS`.I'm not sure that if this will work,Appreciated that if someone can explain this.
Apprecitated for adding more strategies on speeding up the AV1 encoding process,thanks very much.
--
You received this message because you are subscribed to the Google Groups "AV1 Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to av1-discuss...@aomedia.org.
To view this discussion on the web visit https://groups.google.com/a/aomedia.org/d/msgid/av1-discuss/59d12e2a-af8c-4a6a-bdba-c26d51cec155n%40aomedia.org.
Hi,JamesThanks for your nice reply.^^ I will try to implement what you suggested.* AOM_SUPERBLOCK_SIZE_64X64 is better option if we just want to improve the performance of encoding speed ,regardless of the video quality.As AOM_SUPERBLOCK_SIZE_64X64 does less searching than what AOM_SUPERBLOCK_SIZE_128X128 does,by which the encoding speed can speed up.By the way,Do you know that is there any official advices on 'target bitrate' we SHOULD used for encoding?As we know,AV1 can save 30% bitrate in comparison with H.265 to achieve the same VMAF scores. However,so far as I know,there is no official advices on bitrate corresponding with different resolution/fps.For example,to achieve VMAF scores to 90 with input frame 720p@30fps, wtat's the exact value the 'target bitrate' SHOULD be set. There isn't a table unfortunately.
On Thu, Jan 13, 2022 at 1:34 AM klaus zhang <asplin...@gmail.com> wrote:Hi,JamesThanks for your nice reply.^^ I will try to implement what you suggested.* AOM_SUPERBLOCK_SIZE_64X64 is better option if we just want to improve the performance of encoding speed ,regardless of the video quality.As AOM_SUPERBLOCK_SIZE_64X64 does less searching than what AOM_SUPERBLOCK_SIZE_128X128 does,by which the encoding speed can speed up.By the way,Do you know that is there any official advices on 'target bitrate' we SHOULD used for encoding?As we know,AV1 can save 30% bitrate in comparison with H.265 to achieve the same VMAF scores. However,so far as I know,there is no official advices on bitrate corresponding with different resolution/fps.For example,to achieve VMAF scores to 90 with input frame 720p@30fps, wtat's the exact value the 'target bitrate' SHOULD be set. There isn't a table unfortunately.It's hard to generalize this as it will depend on the content and the goals for the project (e.g., same quality/reduced bandwidth or higher quality/equivalent or slightly reduced bandwidth). 30% can be used as a starting point for testing.