Blender Git Commit Log

Git Commits -> Revision 5b2bfb2

Revision 5b2bfb2 by Sergey Sharybin (master)
February 15, 2021, 11:29 (GMT)
FFmpeg: Improve multi-threading settings

Allow use all system threads for frame encoding/decoding. This is very
straightforward: the value of zero basically disables threading.

Change threading policy to slice when decoding frames. The reason for
this is because decoding happens frame-by-frame, so inter-frame threading
policy will not bring any speedup.

The change for threading policy to slice is less obvious and is based on
benchmark of the demo files from T78986. This gives best performance so
far.

Rendering the following file went down from 190sec down to 160sec.

https://storage.googleapis.com/institute-storage/vse_simplified_example.zip

This change makes both reading and writing faster. The animation render
is just easiest to get actual time metrics.

Differential Revision: https://developer.blender.org/D8627

Commit Details:

Full Hash: 5b2bfb2fed03274bd0bc2007c66118ca33c9f1ca
Parent Commit: a923a34
Lines Changed: +9, -4

2 Modified Paths:

/source/blender/blenkernel/intern/writeffmpeg.c (+5, -4) (Diff)
/source/blender/imbuf/intern/anim_movie.c (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021