Command Line Problem

Homepage Forums mocha Pro Command Line Problem

This topic contains 5 replies, has 3 voices, and was last updated by  anabeldewitte_ef855 3 weeks, 4 days ago.

  • Author
    Posts
  • #45200

    963889771_c8a4b
    Participant

    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’

    [DEBUG]2017-04-15 10:18:38,466Done

    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.

  • #45240

    963889771_c8a4b
    Participant

    Can someone help me solve it?

  • #45363

    963889771_c8a4b
    Participant

    +1

  • #45374

    963889771_c8a4b
    Participant

    Two months passed, I still did not konw how to solve it

  • #45375

    jps
    Keymaster

    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 /tmp.

  • #45380

    anabeldewitte_ef855
    Participant

    I also faced the same types of problem

The forum ‘mocha Pro’ is closed to new topics and replies.

Newsletter

Need more mocha?
Sign up to receive the latest news, events, contests, and training videos.