Programmatic access to video recoring functions? And saving a file so it records video when next opened?
Posted: 13 Oct 2020, 16:21
Is it possible to tick the "Launch at next simulation start" video recorder option, close V-REP then open that file again and have it strart recording. Especially in circumstances where one saves the file, but then launches future sims using the command line:
./vrep.sh -g100 ~/V-REP_PRO_EDU_V3_5_0_Linux/scenes/Make_a_vid_of_this.ttt -s600000 -q
I've tried and it has failed, but I'm not sure if there is another way. I have tried both in cirumctances where one saves a file where the tickbox has been ticked, then closes v-rep, then reopens v-rep with ./vrep.sh, opens the relevant .tt file in v-=rep and hits play (no recording happens). Ands I've tried in circumstances where afetr dsaving the file with that option ticked one closes v-rep, then opens it in such a way as to immediately run that file, using a command line commaned like the one above (again no recording occurs). Is there another way which would work? Could I have a script running on an object which turns on video recording during the init function?
My hope here is to be able to take videos of a bunch of bulk simulations which will be triggered from the command line (with no GUI interaction except before they were saved), so once they've all run I can watch them back and see what took place as well as logging information out to text files as I am already doing.
Is there a way to do this?
Thank You
./vrep.sh -g100 ~/V-REP_PRO_EDU_V3_5_0_Linux/scenes/Make_a_vid_of_this.ttt -s600000 -q
I've tried and it has failed, but I'm not sure if there is another way. I have tried both in cirumctances where one saves a file where the tickbox has been ticked, then closes v-rep, then reopens v-rep with ./vrep.sh, opens the relevant .tt file in v-=rep and hits play (no recording happens). Ands I've tried in circumstances where afetr dsaving the file with that option ticked one closes v-rep, then opens it in such a way as to immediately run that file, using a command line commaned like the one above (again no recording occurs). Is there another way which would work? Could I have a script running on an object which turns on video recording during the init function?
My hope here is to be able to take videos of a bunch of bulk simulations which will be triggered from the command line (with no GUI interaction except before they were saved), so once they've all run I can watch them back and see what took place as well as logging information out to text files as I am already doing.
Is there a way to do this?
Thank You