Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial commit of Premiere Integration #322

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions website/docs/addon_premiere_admin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
id: addon_premiere_admin
title: Premiere Admin Docs
sidebar_label: Premiere
description: AYON Premiere Addon's documentations for admins.
toc_max_heading_level: 5
---

import ReactMarkdown from "react-markdown";
import versions from '@site/docs/assets/json/Ayon_addons_version.json'

<ReactMarkdown>
{versions.Premiere_Badge}
</ReactMarkdown>

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

## Premiere Extension installation

Adobe extension must be installed on each artist machine willing to use this integration.

Artists could do it themselves, see more details in [Artist documentation](addon_premiere_artist.md).

It is also possible to enable pre launch hook `Install AYON Extension` which will try to install extension automatically.

:::info NOTE
This hook is still in development, currently it brute force reinstalls every launch. By default this hook is
disabled in Settings.
:::

## Premiere settings

There is currently only single configuration which provides functionality to automatically installing required
Adobe extension.

Location: `ayon+settings://Premiere/hooks`

169 changes: 169 additions & 0 deletions website/docs/addon_premiere_artist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
---
id: addon_premiere_artist
title: Premiere Artist Docs
sidebar_label: Premiere
description: AYON Premiere Addon's documentations for artists.
toc_max_heading_level: 5
---

import ReactMarkdown from "react-markdown";
import versions from '@site/docs/assets/json/Ayon_addons_version.json'
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

<ReactMarkdown>
{versions.Premiere_Badge}
</ReactMarkdown>

<!-- based on PS implementation, same principle and menu -->
## Available Tools

- [Work Files](artist_tools_workfiles.md)
- [Create](artist_tools_creator.md)
- [Load](artist_tools_loader.md)
- [Publish](artist_tools_publisher.md)
- [Manage](artist_tools_inventory.md)

## Premiere Extension installation

:::info
Once your admin has activated `Premiere` in the production bundle, you need to run the AYON launcher at least once. This allows the launcher to download the addon to the correct location on your computer.
After that, you can continue with the installation instructions for the Premiere extension.
:::

<Tabs
groupId="platforms"
defaultValue="win"
values={[
{label: 'Windows', value: 'win'},
{label: 'Linux', value: 'linux'},
{label: 'Mac', value: 'mac'},
]}>

<TabItem value="win">

1. Use your favorite app to install extensions. We recommend using [Anastasyi's Extension Manager](https://install.anastasiy.com/).
2. Locate and install the `extension.zxp` file. You can find it in the `AppData` folder, typically at `c:\Users\YOUR_USER\AppData\Local\Ynput\AYON\addons\premiere_X.X.X\ayon_premier\api`.

:::tip
You can quickly navigate to the local app data using the environment variable shortcut: `%LOCALAPPDATA%`. For example, using `%LOCALAPPDATA%\Ynput\AYON\addons` as path to see your installed addons.
:::

</TabItem>

<TabItem value="linux">

1. Use your favorite app to install extensions.
2. Locate and install the `extension.zxp` file. You can find it in the user data folder, typically at `~/.local/share/Ynput/AYON/addons/premiere_X.X.X/ayon_premier/api`.

</TabItem>

<TabItem value="mac">

1. Use your favorite app to install extensions. We recommend using [Anastasyi's Extension Manager](https://install.anastasiy.com/).
2. Locate and install the `extension.zxp` file. You can find it in the `Application Support` folder, typically at `~/Library/Application Support/Ynput/AYON/addons/premiere_X.X.X/ayon_premier/api`.

</TabItem>

</Tabs>

## Implemented functionality

Premiere implementation currently allows you to:
- import and add various media to sequences (image plates, renders, audio files, video files etc.)
- manage workfiles (eg. load existing, publish new ones)
Comment on lines +70 to +74
Copy link
Contributor

Choose a reason for hiding this comment

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

is this section correct?
I checked the addon repo and I couldn't any loaders. I only found workfile creator and publisher.


## Usage

When you launch Premiere you will be met with the Workfiles app. If don't have any previous workfiles, you can just close this window.

Workfiles tools takes care of saving your `.prproj` files in the correct location and under a correct name. You should use it instead of standard file saving dialog.

In Premiere you'll find the tools in the `AYON` extension:

![Extension](assets/premiere_extension.png)

You can show the extension panel by going to `Window` > `Extensions` > `AYON`.

:::note guide
On newer MacOS you need to:
- go to `Applications/Adobe Premiere XXXX`
- right clicking on the `Adobe Premiere XXXX.app`
- then `Get Info`, check `Open using Rosetta`
:::

### Publish

When you are ready to share some work, you will need to publish it. This is done by opening the `Publisher` through the `Publish...` button.

There is always instance for workfile created automatically (see 'workfileCompositing' item in `Products to publish` column.) This allows to publish (and therefore backup) workfile which is used to produce another publishable elements (as `image` and `review` items).


Name of publishable instance (eg. product name) could be configured with a template in `project_settings/global/tools/creator/product_name_profiles`.
(This must be configured by admin who has access to AYON Settings.)


Workfile instance will be automatically recreated though. If you do not want to publish it, use pill toggle on the instance item.

If you would like to modify publishable instance, click on `Publish` tab at the top. This would allow you to change name of publishable instances, disable them from publishing, change their task etc.

Publisher allows publishing into different context, just click on any instance, update `Variant`, `Folder` or `Task` in the form in the middle and don't forget to click on the 'Confirm' button.

### Load

When you want to load existing published work, you can use the `Loader` tool. You can reach it in the extension's panel.

![Loader](assets/loader.png) <!-- picture needs to be changed -->

The supported product types for loading into Premiere are:

- `image`
- `plate`
- `render`
- `prerender`
- `review`
- `audio`

To load an item, right-click on the product you want and choose a representation you want to load:

![Loader](assets/loader_load.gif)

### Manage

Now that we have some content loaded, you can manage which version is loaded. This is done through the `Scene Manager`. You can reach it through the extension's `Manage` button.

:::note
Loaded images have to stay as smart layers in order to be updated. If you rasterize the layer, you can no longer update it to a different version using AYON tools.
:::

![Loader](assets/manage.png)

You can switch to a previous version of the image or update to the latest.

![Loader](assets/manage_switch.gif)
![Loader](assets/manage_update.gif)

#### Support help
If you would like to ask for help admin or support, you could use any of the three options on the `Note` button on bottom left:
- `Go to details` - switches into a more detailed list of published instances and plugins.
- `Copy report` - stash full publishing log to a clipboard
- `Export report` - save log into a file for sending it via mail or any communication tool

If you are able to fix the workfile yourself, use the first button on the right to set the UI to initial state before publish. (Click the `Publish` button to start again.)

### Experimental tools

Currently empty. Could contain special tools available only for specific hosts for early access testing.

### Metadata management

For AYON integration to work, some information about loaded items or create instances is stored directly
into `.pproj` file.

For this new dummy Bin with name `AYON Metadata - DO NOT DELETE` is always automatically created. This Bin
shouldn't be touched or all information about loaded containers would be lost!

But if you encounter some unrecovered error, `Publisher` or `Scene Inventory` windows wouldn't show up,
you might try to delete this Bin. It will be re-created after pushing on `Publish...` menu item.

(For curious metadata are physically stored in this `Bin.Clip.Description`)
1 change: 1 addition & 0 deletions website/docs/assets/json/Ayon_addons_version.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"OpenPype_Badge" : "[![OpenPype Addon - 3.7.17](https://img.shields.io/badge/OpenPype_Addon-3.7.17-00d6a1)](https://github.com/ynput/OpenPype)",
"OpenRV_Badge" : "[![OpenRV Addon - 1.0.0](https://img.shields.io/badge/OpenRV_Addon-1.0.0-36a4cb)](https://github.com/ynput/ayon-openrv)",
"Photoshop_Badge" : "[![Photoshop Addon - 0.1.0](https://img.shields.io/badge/Photoshop_Addon-0.1.0-041d36?logo=adobephotoshop)](https://github.com/ynput/OpenPype/tree/develop/server_addon/photoshop)",
"Premiere_Badge" : "[![Premiere Addon - 0.1.0](https://img.shields.io/badge/Premiere_Addon-0.1.0-000049)](https://github.com/ynput/ayon-premiere)",
"Resolve_Badge" : "[![Davinci Resolve Addon - 0.1.0](https://img.shields.io/badge/Davinci_Resolve_Addon-0.1.0-2f4a67)](https://github.com/ynput/OpenPype/tree/develop/openpype/hosts/resolve)",
"RoyalRender_Badge" : "[![Royal Render Addon - 0.1.1](https://img.shields.io/badge/Royal_Render_Addon-0.1.1-black)](https://github.com/ynput/OpenPype/tree/develop/openpype/modules/royalrender)",
"Flow_Badge" : "[![Flow (ShotGrid) Addon - 0.4.0](https://img.shields.io/badge/Flow_(ShotGrid)_Addon-0.4.0-3190b2)](https://github.com/ynput/ayon-shotgrid)",
Expand Down
Binary file added website/docs/assets/premiere_extension.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ module.exports = {
"addon_motionbuilder_artist",
"addon_nuke_artist",
"addon_photoshop_artist",
"addon_premiere_artist",
"addon_substancepainter_artist",
{
type: "category",
Expand Down Expand Up @@ -215,6 +216,7 @@ module.exports = {
"addon_motionbuilder_admin",
"addon_nuke_admin",
"addon_photoshop_admin",
"addon_premiere_admin",
"addon_site_sync_admin",
"addon_slack_admin",
"addon_sso_admin",
Expand Down
1 change: 1 addition & 0 deletions website/src/data/addons/addons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export const officialAddons = [
"motionbuilder",
"nuke",
"photoshop",
"premiere",
"royalRender",
"shotgrid",
"substancepainter",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions website/src/data/addons/data/premiere.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { type Addon } from "../types";
import versions from "@site/docs/assets/json/Ayon_addons_version.json";

const addon: Addon = {
title: "Premiere",
description:
"Adobe Premiere Pro is a professional video editing software widely used in the film, television, and online content industries.",
icon: "premiere-icon.png",
badge: versions.Premiere_Badge,
features: ["workfiles"],
products: [],
docs: {
user: "addon_premiere_artist",
admin: "addon_premiere_admin",
},
github: "https://github.com/ynput/ayon-premiere",
};

export default addon;