Blender Git Loki
Git Commits -> Revision 9623e2e
Revision 9623e2e by Richard Antalik (temp-vse-video-performance-detection) April 19, 2021, 07:28 (GMT) |
VSE: Build proxies only for slow movies Don't build proxy file if movie is already fast enough to seek. To determine movie performance, check if whole GOP can be decoded in 50 milliseconds. This test will ensure consistent performance on wide array of machines. Downside is at most 50ms delay (per strip) when movie is added. Ideally another test would be performed to detect whether next GOPs do have same size or not as it may not be safe to assume that movies will have consistent gop sizes. Even better would be to find biggest one within small-ish range from start, and perform this test on it. such test may add about 10ms of additional delay, but provide even more consistency. |
Commit Details:
Full Hash: 9623e2ed1c6d4cb6d3dbaea534ee7b282b5e46ea
Parent Commit: 0af28f0
Lines Changed: +86, -3
8 Modified Paths:
/release/scripts/startup/bl_ui/space_userpref.py (+1, -0) (Diff)
/source/blender/editors/space_sequencer/sequencer_add.c (+23, -0) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+1, -0) (Diff)
/source/blender/imbuf/intern/anim_movie.c (+43, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+8, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+8, -0) (Diff)
/source/blender/sequencer/intern/strip_add.c (+1, -1) (Diff)
/source/blender/sequencer/intern/strip_relations.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_add.c (+23, -0) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+1, -0) (Diff)
/source/blender/imbuf/intern/anim_movie.c (+43, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+8, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+8, -0) (Diff)
/source/blender/sequencer/intern/strip_add.c (+1, -1) (Diff)
/source/blender/sequencer/intern/strip_relations.c (+1, -1) (Diff)