0
Answered

Start rendering job from command line

Christian Oeing 11 months ago • updated by αℓαη тяєωαятнα 🤺 3 weeks ago 16

Hi there,


We are trying to integrate Boxshot 4 Ultimate into our automatic rendering pipeline. Therefore we need to start the rendering of a Boxshot job (or scene if job isn't possible) from the command line/terminal. 


Is this possible somehow?


Cheers

Christian

Answer

Answer
Answered

Sure, try something like:


"C:\Program Files\Appsforlife\Boxshot\Boxshot.exe" -render filename.boxshotJob

On Mac it will be almost the same:


/Applications/Boxshot.app/Contents/MacOS/Boxshot -render filename.boxshotJob


We don't support this for projects (yet), but jobs get rendered well.

GOOD, I'M SATISFIED

Quick and helpful answer.

Satisfaction mark by Christian Oeing 11 months ago
Answer
Answered

Sure, try something like:


"C:\Program Files\Appsforlife\Boxshot\Boxshot.exe" -render filename.boxshotJob

On Mac it will be almost the same:


/Applications/Boxshot.app/Contents/MacOS/Boxshot -render filename.boxshotJob


We don't support this for projects (yet), but jobs get rendered well.

Great, thanks a lot for the quick answer. I was already trying to think about a fallback solution, but this makes my life much easier :) 


Is there any documentation about the command line features of Boxshot that I missed?

The command line stuff is somewhat internal yet, but we're working on making it public :)

I see, no problem. Glad there's a way to do it anyway. Will check it out today and get back when there should be any problems with it :)

Alright, it works good enough for us to work with :)


Two things are not that nice:

1. The process doesn't end when the rendering is finished. Is there a possibility to do so? I work around it by checking the command line output.

2. The command line output is written to the error stream although the outputs are no errors.


Other than that it works as we need it. The workaround to find out when the rendering is finished is a bit annoying, but I hope you'll find a solution for that before you release it officially.

Do you run it on Mac or Windows?

We recently made Boxshot stay alive after closing the last window on Mac and it seems that this case has not been covered well. Will fix this in the next update.


Will also check the stderr issue there, it should be stdout.

I see. Will watch the changelog of the next versions :)

@Vitaly: Any update on when the next update is planned? We were hoping that it would get fixed soon :)

Can't tell for sure at the moment, we need at least a month or two to implement the planned features.


Can you use the Windows version for now? It should work fine in your case.

Okay, thanks for the update. 


Unfortunately we have our Rendering Servers already setup with MacOS, so Windows is no option. Guess we have to wait, good luck with the update :)

It will well worth the waiting :)

Would love to see this render quit working on MacOS

It does that in version 5 (beta).

(My hacky workaround is to & fork the process and then loop/sleep until the output file exists, then killall Boxshot)