Video Processing Using Headless

Hello,

I have a macro used to track objects in a video of an open field test. The script works fine in Fiji using the GUI, but I would like to use it from the command line to automate it for several different videos. When I call the macro using ImageJ-linux64 --headless -macro Preprocessing_OF_calibration.ijm it runs up until it needs to open the avi file. Specifically, the command that creates the issue is:

run(“AVI…”, “select=[&Exppath] use convert”);

Are there certain settings needed that I’m missing in order to run using headless?

Thanks,
Jered

Preprocessing_OF_calibration.txt (4.9 KB)