Skip to content

mottosso/maya-capture-gui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Playblasting in Maya done with GUI

A visual interface for maya-capture.

Capture GUI preview

Currently this a preview release to open discussion about overall implementation.
As such, consider this experimental and not yet tested in production.

Features

  • Set up your playblasts visually (with direct feedback).
  • Produce consistent predictable playblasts.
  • Callbacks to allow custom encoding prior to opening viewer.
  • Avoid unwanted overscan; playblast what you render.

Installation

To install, download this package and capture and place both in a directory where Maya can find them.

Usage

To show the interface in Maya run:

import capture_gui
capture_gui.main()

Advanced usages

Register a pre-view callback to allow a custom conversion or overlays on the resulting footage in your pipeline (e.g. through FFMPEG)

import capture_gui

# Use Qt.py to be both compatible with PySide and PySide2 (Maya 2017+)
from capture_gui.vendor.Qt import QtCore

def callback(options):
    """Implement your callback here"""

    print("Callback before launching viewer..")

    # Debug print all options for example purposes
    import pprint
    pprint.pprint(options)

    filename = options['filename']
    print("Finished callback for video {0}".format(filename))


app = capture_gui.main(show=False)

# Use QtCore.Qt.DirectConnection to ensure the viewer waits to launch until
# your callback has finished. This is especially important when using your
# callback to perform an extra encoding pass over the resulting file.
app.viewer_start.connect(callback, QtCore.Qt.DirectConnection)

# Show the app manually
app.show()

About

GUI front-end for maya-capture

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%