Blender Git Loki

Git Commits -> Revision b9207fb

Revision b9207fb by Richard Antalik (master)
April 14, 2021, 12:25 (GMT)
FFmpeg: Adjust default proxy settings

GOP size and quality are adjusted for h264 codec.

These new values are based on result of benchmark on 9 random files:
https://docs.google.com/spreadsheets/d/1nOyUGjoVWUyhQ2y2lAd8VtFfyaY1wQNGj1krCCNbk7Y/edit?usp=sharing

Reducing quality to 50 reduces proxy filesize by about 2x on average
and has no significant impact on decoding performance.

Increasing GOP size from 2 to 10 also reduces proxy filesize 2x-3x
while scrubbing is only about 8% slower. It is still around 100FPS
with 1920x1080 media.
This is unfortunately about 50% slower than MJPEG, but this can be
improved with `fastdecode` tune applied to libx264 encoder

Quite surprisingly h264 codec presets had little influence on proxy
building performance as well as proxy filesize. So far it looks that
FFmpeg does initialize encoder in different way then Blender.
This applies mot only for presets but for tune and profile libx264
setting.
Once this issue is resolved, performance of proxies may be optimized
further.

Reviewed By: sergey

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

Commit Details:

Full Hash: b9207fb43d6fb55b83ee25263a3963c8c736f876
Parent Commit: 9ca55b1
Lines Changed: +3, -3

3 Modified Paths:

/source/blender/imbuf/intern/indexer.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_movieclip_defaults.h (+1, -1) (Diff)
/source/blender/sequencer/intern/proxy.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021