[Cin] Main.C - two options undocumented in usage?

Andrew Randrianasulu randrianasulu at gmail.com
Tue Jan 19 03:59:20 CET 2021


I see those handled in code:

else if( !strcmp(argv[i], "-z") ) {
			start_remote_control = 1;
		}

but i don't have remote  for testing this ....

else if( !strcmp(argv[i], "-b") ) {
			operation = DO_BRENDER;
			if( i > argc - 2 ) {
				fprintf(stderr, _("-b may not be used by the user.\n"));
				exit(1);
			}
			else
				strcpy(deamon_path, argv[i + 1]);

I think this one start background render mode? 
Apparently, it want socket, so I can run it like

/bin/cin -b /tmp/cinelerra.01e3ad92-6020-4d7c-b862-a8fa9d9d8917

but of course it will show nothing in gui, just:

../bin/cin -b /tmp/cinelerra.01e3ad92-6020-4d7c-b862-a8fa9d9d8917
RenderFarmClient::main_loop: client started
^Csignal_entry: got SIGINT my pid=17867 execution table size=0:
signal_entry: lock table size=1
lock_items: 0
lock_frees: 1
SigHandler::signal_handler total files=0
Аварийный останов

I CTRL_C it ....

not sure if this specific option actually *that* interesting for end-users ...
But one about starting in remote control mode (?) might be useful?

...time to look into this remote android protocol submodule . may be
it can be extended for allowing save operation from remote device, so
periodic backups can be triggered externally (just idea at this moment ) .....



More information about the Cin mailing list