use Handbrake to transcode video after render finishes
I'm writing a script that would transcode all my renders after they are rendered. This is the code...
//render finished here
var command = "HandBrakeCLI -i /path/to/file/filename.mov -o /path/to/file/filename.mp4";
alert(command);
var response = system.callSystem(command);
alert(response); //never executed due to AE freezing
alert("done");
I am getting a very weird behaviour. The file "filename.mov" is successfully transcoded and placed at the specified location, but after effects freezes and blocks me out completely when it reaches
var response = system.callSystem(command);
So every time I render and transcode, I need to force quit AE.
This is the only command I encountered that freezes AE. I'd much appreciate any tips on how to handle this kind of problem. HandbrakeCLI is available here: https://handbrake.fr/downloads2.php
I am running macos Sierra.
