{"id":23472900,"url":"https://github.com/colorbleed/maya-capture-gui","last_synced_at":"2025-07-24T07:40:16.310Z","repository":{"id":74874464,"uuid":"68451060","full_name":"Colorbleed/maya-capture-gui","owner":"Colorbleed","description":"GUI front-end for maya-capture","archived":false,"fork":false,"pushed_at":"2023-06-01T13:21:29.000Z","size":251,"stargazers_count":77,"open_issues_count":15,"forks_count":29,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-06-04T18:57:36.645Z","etag":null,"topics":["gui","maya","playblast"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Colorbleed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-09-17T12:33:30.000Z","updated_at":"2025-04-11T05:14:35.000Z","dependencies_parsed_at":"2023-06-30T16:15:51.878Z","dependency_job_id":null,"html_url":"https://github.com/Colorbleed/maya-capture-gui","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Colorbleed/maya-capture-gui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Colorbleed%2Fmaya-capture-gui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Colorbleed%2Fmaya-capture-gui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Colorbleed%2Fmaya-capture-gui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Colorbleed%2Fmaya-capture-gui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Colorbleed","download_url":"https://codeload.github.com/Colorbleed/maya-capture-gui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Colorbleed%2Fmaya-capture-gui/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266808556,"owners_count":23987450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gui","maya","playblast"],"created_at":"2024-12-24T17:14:25.702Z","updated_at":"2025-07-24T07:40:16.286Z","avatar_url":"https://github.com/Colorbleed.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Playblasting in Maya done with GUI\n\nA visual interface for\n[maya-capture](https://github.com/abstractfactory/maya-capture).\n\n\u003cimg align=\"right\" src=\"https://cloud.githubusercontent.com/assets/2439881/18627536/c1a6b4e4-7e5b-11e6-9c69-047bd5cbbce5.jpg\"/\u003e\n\n\u003e WARNING: Preview release\n\n\u003cbr\u003e\n\n### Features\n\n- Set up your playblasts visually (with direct feedback). \n- Produce consistent predictable playblasts.\n- Callbacks to allow custom encoding prior to opening viewer.\n- Avoid unwanted overscan; playblast what you render.\n\n\u003cbr\u003e\n\n### Installation\n\nTo install, download this package and [capture](https://github.com/abstractfactory/maya-capture)\nand place both in a directory where Maya can find them.\n\n\u003cbr\u003e\n\n### Usage\n\nTo show the interface in Maya run:\n\n```python\nimport capture_gui\ncapture_gui.main()\n```\n\n\u003cbr\u003e\n\n### Advanced\n\n#### Callbacks\nRegister a pre-view callback to allow a custom conversion or overlays on the \nresulting footage in your pipeline (e.g. through FFMPEG)\n\n```python\nimport capture_gui\n\n# Use Qt.py to be both compatible with PySide and PySide2 (Maya 2017+)\nfrom capture_gui.vendor.Qt import QtCore\n\ndef callback(options):\n    \"\"\"Implement your callback here\"\"\"\n\n    print(\"Callback before launching viewer..\")\n\n    # Debug print all options for example purposes\n    import pprint\n    pprint.pprint(options)\n\n    filename = options['filename']\n    print(\"Finished callback for video {0}\".format(filename))\n\n\napp = capture_gui.main(show=False)\n\n# Use QtCore.Qt.DirectConnection to ensure the viewer waits to launch until\n# your callback has finished. This is especially important when using your\n# callback to perform an extra encoding pass over the resulting file.\napp.viewer_start.connect(callback, QtCore.Qt.DirectConnection)\n\n# Show the app manually\napp.show()\n```\n\n#### Register preset paths\n\nRegister a preset path that will be used by the capture gui to load default presets from.\n\n```python\nimport capture_gui.presets\nimport capture_gui\n\npath = \"path/to/directory\"\ncapture_gui.presets.register_path(path)\n\n# After registering capture gui will automatically load\n# the presets found in all registered preset paths\ncapture_gui.main()\n```\n\n#### Register tokens and translators\n\nRegister a token and translator that will be used to translate any tokens\nin the given filename.\n\n```python\nimport capture.tokens\nimport capture_gui\n\n# this is an example function which retrieves the name of the current user\ndef get_user_name():\n    import getpass\n    return getpass.getuser()\n\n# register the token \u003cUser\u003e and pass the function which should be called\n# when this token is present.\n# The label is for the right mouse button menu's readability.\ncapture.tokens.register_token(\"\u003cUser\u003e\",\n                              lambda options : get_user_name(),\n                              label=\"Insert current user's name\")\n```\n\n### Known issues\n\n##### Viewport Plugin _show_ menu close button sometimes appears off screen when torn off\n\nTearing off the _show_ menu in the Viewport Plugin results in a menu\nwith an off screen title bar when torn off near the top edge of the\nscreen. This makes it hard to close the menu. To fix this either close\nthe capture GUI (to close the menu) or make a new torn off version of\nthe _show_ menu at a lower position on screen (this will close the\nprevious torn off menu).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolorbleed%2Fmaya-capture-gui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolorbleed%2Fmaya-capture-gui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolorbleed%2Fmaya-capture-gui/lists"}