Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

686 standalonepublisher editorial from image sequences #699

Conversation

jakubjezek001
Copy link
Member

@jakubjezek001 jakubjezek001 commented Nov 10, 2020

FEATURE:

  • ability to read data from input folder path CollectEditorial.source_dir
    - "source_dir" supporting anatomy template filling: "{project[name]}/inputs"
    - "source_dir" supporting absolute path: "C:\path\to\dir"
    - "source_dir" supporting relative path: "....\path\to\dir" or ".\path\to\dir"
  • collecting files or folders by defined subset names and its alternatives from CollectInstances.subsets
  • if in a subset.extensions is allowed 'mp4' extension and the file is found then it is used as ftrack review video file
  • if in folder with subset data is found single jpg with thumb in name, it is used as thumbnail for the version

TESTING

For testing add following lines to pype-config/presets\plugins\standalonepublisher\publish.json:

{
  "CollectEditorial": {
    "extensions": [".mov", ".exr", ".jpeg"],
    "source_dir": "./inputs"
  },
  "CollectInstances": {
    "subsets": {
          "plateOffline": {
              "family": "plate",
              "families": ["clip", "review", "ftrack"],
              "extensions": [".jpg"]
          },
          "plateReference": {
              "family": "plate",
              "families": ["clip"],
              "extensions": [".jpg"]
          },
          "plateMain": {
              "family": "plate",
              "families": ["clip"],
              "extensions": [".exr", ".mp4", ".jpg"]
          },
          "shotMain": {
              "family": "shot",
              "families": []
          }
    },
    "custom_start_frame": 10001,
    "timeline_frame_start": 90000
  },
  "CollectHierarchyInstance": {
    "shot_rename_template": "{project[code]}_{_sequence_}_{_shot_}",
    "shot_rename_search_patterns": {
      "_sequence_": "(\\d{4})(?=_\\d{4})",
      "_shot_": "(\\d{4})(?!_\\d{4})"
    },
    "shot_add_hierarchy": {
          "parents_path": "{project}/{folder}/{sequence}",
          "parents": {
              "project": "{project[name]}",
              "sequence": "{_sequence_}",
              "folder": "shots"
          }
    },
    "shot_add_tasks": ["animation_rig", "compositing_environ", "compositing_all", "Art"]
  }
}

testing data are available form: https://drive.google.com/file/d/1kN_5F7-HogFKcD1fMXSrM9p7Usy1VU2J/view?usp=sharing

@jakubjezek001 jakubjezek001 added type: enhancement Enhancements to existing functionality host: Standalone labels Nov 10, 2020
@jakubjezek001 jakubjezek001 added this to the 2.14 milestone Nov 10, 2020
@jakubjezek001 jakubjezek001 requested a review from a team November 10, 2020 10:46
@jakubjezek001 jakubjezek001 self-assigned this Nov 10, 2020
@jakubjezek001 jakubjezek001 linked an issue Nov 11, 2020 that may be closed by this pull request
@mkolar
Copy link
Member

mkolar commented Nov 16, 2020

We have a conflict that needs to be sorted. And I have a comment about the tasks.

Copy link
Member

@mkolar mkolar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we define tasks simply with a dictionary? It would be a lot more flexible and actually simpler to work with.

{
"task_name": "task_type",
"animation_char": "Animation",
"smoke": "FX,
...
}

@mkolar mkolar changed the base branch from 2.x/develop to release/2.14.0 November 17, 2020 18:52
@jakubjezek001
Copy link
Member Author

Could we define tasks simply with a dictionary? It would be a lot more flexible and actually simpler to work with.

{
"task_name": "task_type",
"animation_char": "Animation",
"smoke": "FX,
...
}

yeah, lets do it ;)

@mkolar mkolar self-requested a review November 20, 2020 11:09
@mkolar mkolar merged commit 14f3488 into release/2.14.0 Nov 20, 2020
@mkolar mkolar deleted the feature/686-standalonepublisher-editorial-from-image-sequences branch December 1, 2020 15:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

standalonepublisher editorial from image sequences
2 participants