Hi，I am a student and I am a video production enthusiast. I’d like to use mocha pro mochaexporter.py output AfterEffects3DMotionData, but I did not get the camera track afterEffects3DMotionData, how can I solve?
Command line: ./python mochaexport.py -p origin.mocha -e “camera-solve” -n “/After Effects 3D Motion Data/” -f cameradata.txt “Layer 1” “Layer 2” -v4
Then I got:
[DEBUG]2017-04-15 10:18:32,714Loading project file: origin.mocha
[DEBUG]2017-04-15 10:18:38,251Project loaded
[DEBUG]2017-04-15 10:18:38,252Performing export with ‘After Effects 3D Motion Data (*.txt)’ exporter…
[DEBUG]2017-04-15 10:18:38,453Writing contents to ‘omgcamera.txt’
QObject::connect: Cannot queue arguments of type ‘QAbstractSocket::SocketState’
(Make sure ‘QAbstractSocket::SocketState’ is registered using qRegisterMetaType().)
I want to get camera track data through the command line. Thank you.
Can someone help me solve it?
Two months passed, I still did not konw how to solve it
Sorry for missing this. One of our developers just tried your command and we did see the cameradata.txt file created in the output directory:
$ ./python/bin/python APIs/Py/UI/mochaexport.py -p /home/abc/Imagineer/Footage/DL134H/results/DL134H.mocha -e "camera-solve" -n "/After Effects 3D Motion Data/" -f cameradata.txt "Layer 1" -v4 -V L
[DEBUG] 2017-05-25 13:03:47,313 Loading project file: /home/abc/Imagineer/Footage/DL134H/results/DL134H.mocha
[DEBUG] 2017-05-25 13:03:47,486 Project loaded
[DEBUG] 2017-05-25 13:03:47,487 Performing export with 'After Effects 3D Motion Data (*.txt)' exporter...
[DEBUG] 2017-05-25 13:03:53,397 Writing contents to 'cameradata.txt'
[DEBUG] 2017-05-25 13:03:53,397 Done
$ ls -l cameradata.txt
-rw-rw-r-- 1 abc abc 2968 May 25 13:03 cameradata.txt
Please check to make sure you have permissions to write to the output directory. You could try using
-f /tmp/cameradata.txt and see if the file is created in
I also faced the same types of problem