What
Allow exporting and importing the current settings of all the clips loaded into VAI.
Why?
- To allow recovery of work when TVAI crashes or bugs out [1].
- To give the customer control and a choice of when and where (export) processing takes place, such as delayed processing during night, or on a different machine from the one where the GUI was used to decide on each clip’s settings.
- To be able to integrate TVAI in a pipeline that consists of further post-processing, where TVAI mainly serves as a pane-of-glass monitor used to decide on defect cleanup settings.
Is there a workaround already?
No, not in the tool.
Custom developed UI automation software can extract the information by simulating a user going through the process of: Select first clip, click menus to bring up the FFMPEG command dialog, copy the text, parse it and store as a JSON/YAML object (for instance). Then repeat that process for all clips in the list. Import however is a lot more difficult and practically intractable as it involves a lot of steps; re-adding the clip, finding it in the list, finding the right UI widgets for each extracted hyper-parameter, filling in the corresponding values automatically. Since the TVAI UI keeps changing all the time, this becomes practically impossible to maintain. Additionally, the clips have to be committed to the export queue first before the ffmpeg-UI dialog becomes available, which is another hurdle as the workflow would require the user to export the clips, and quickly stop processing of every single one, just to get hold of some raw data from which configuration settings can be derived.
What would a good format be for import / export?
JSON. It is the lingua franca nowadays for configuration files. But I have no strong preference, as long as it’s machine parsable (yaml/ini/xml …).
[1]: Right now one has to start from scratch and lose many hours of work. I’ve lost countless already when TVAI either outright crashed while I was preparing a batch of ~50 clips, each with tailored configurations being worked on, or when one of the numerous bugs caused the UI to stop functioning, such as no longer updating the app’s internal state when hyper-parameters were adjusted, which could only be resolved by restarting the TVAI program and start from scratch. There will always be bugs, but offering customers a way to minimize time lost via settings export/import would lessen the pain & cost significantly, when those bugs prevent customers from progressing their tasks.