Automatically builds proxy files for movie and image sequences.
TODO:
- Identify if movie file is selected when using add image file browser
- Add more settings
- Add progress bar
Differential D7198
WIP: Automaticly build proxy when movie and image files are added Authored by Eitan Traurig (EitanSomething) on Mar 20 2020, 6:08 PM.
Details
Automatically builds proxy files for movie and image sequences. TODO:
Diff Detail
Event TimelineComment Actions Just went over this briefly. If the issue is, that it works only if Replace Selection is checked, variant of seq_proxy_build_job() that accepts PointerRNA could be made. Or alternatively do store / restore selection approach. Comment Actions
What changes did you need to make? Comment Actions
I can't call seq_proxy_build_job() because it needs to be static. It needs to be static because it is called by sequencer_rebuild_proxy_invoke Comment Actions Not sure now, I added file and it ended on some exception, so I just changed some variable values. I can have another look soon, but I would rather move to following point I don't see why seq_proxy_build_job() would have to be static. Even then you could wrap it in another function. I just quickly added void seq_proxy_build_job(const struct bContext *C, struct ReportList *reports); to sequencer_intern.h and changed your code in sequencer_add_generic_strip_exec() to if ((seq->flag & SEQ_LOAD_USE_PROXY)) {
seq->flag &= SEQ_LOAD_USE_PROXY;
seq->flag |= SEQ_USE_PROXY;
seq->flag |= SELECT;
seq_proxy_build_job(C, op->reports);
}And it works as expected, apart from forcing strips to be selected on addind. Comment Actions These are my notes on this patch:
On the UI, I think the options should be placed in a sub panel with the main switch in the header like ex. fbx import uses. Features:
|