Skip to content

Commit

Permalink
Merge pull request #7 from bangnoise/master
Browse files Browse the repository at this point in the history
Documentation updates
  • Loading branch information
GregBakker committed Oct 4, 2018
2 parents 58e8b90 + 05487cb commit 34837ea
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 43 deletions.
60 changes: 35 additions & 25 deletions README.md
Expand Up @@ -2,55 +2,63 @@

This is the community-supplied Hap and Hap Q exporter plugin for Adobe CC 2018.

Development of this plugin was sponsored by disguise, makers of the disguise show production software and hardware

http://disguise.one
Development of this plugin was sponsored by [disguise](http://disguise.one), makers of the disguise show production software and hardware.

Principal authors of the plugin are

- Greg Bakker (gbakker@gmail.com)
- Richard Sykes
- Tom Butterworth (http://kriss.cx/tom)
- [Tom Butterworth](http://kriss.cx/tom)

Thanks to Tom Butterworth for creating the Hap codec and Vidvox for supporting that development.

Please see license.txt for the licenses of this plugin and the components that were used to create it.
Please see [license.txt](license.txt) for the licenses of this plugin and the components used to create it.


# Download

An installer for the exporter can be downloaded [here](https://github.com/disguise-one/hap-adobe-premiere-plugin/releases).

# User Guide

The User Guide can be found [here](doc/user_guide/README.md)
Please consult the User Guide, which can be found [here](doc/user_guide/README.md).

# Development

The following information is for developers who wish to contribute to the project, and is not for users of the plugin.

## Prerequisites

### compiler toolchain

You'll need a compiler environment appropriate to your operating system. The current plugin has been developed on
- win64 with Microsoft Visual Studio 2017 Professional.
- macosx with XCode
- macOS with XCode

### CMake

### cmake
cmake creates the build system for the supported target platforms.
CMake creates the build system for the supported target platforms. This project requires version 3.12.0 or later.

https://cmake.org/install/
get >= 3.12.0
[https://cmake.org/install/](https://cmake.org/install/)

### NSIS

NSIS is required for win32 installer builds.

http://nsis.sourceforge.net/Main_Page
[http://nsis.sourceforge.net/Main_Page](http://nsis.sourceforge.net/Main_Page)

### Adobe CC 2018 SDK

Website

https://www.adobe.io/apis/creativecloud/premierepro.html
[https://www.adobe.io/apis/creativecloud/premierepro.html](https://www.adobe.io/apis/creativecloud/premierepro.html)

Place in

external/adobe/premiere

### FFMpeg

FFmpeg 4.0 is used for output of the .mov format.

It is referenced as a submodule of this repository. Fetch the source for building with
Expand All @@ -61,22 +69,21 @@ It is referenced as a submodule of this repository. Fetch the source for buildin
The FFMpeg build is not wrapped by the plugin's cmake build process, and must be made in a platform specific process as descibed below.

#### win64

Either install and set environment for your own FFMpeg, or build / install the one in external/ffmpeg as described at

https://trac.ffmpeg.org/wiki/CompilationGuide/MSVC
[https://trac.ffmpeg.org/wiki/CompilationGuide/MSVC](https://trac.ffmpeg.org/wiki/CompilationGuide/MSVC)

For reference, the FFMpeg build for the win64 plugin was created by

- first installing

http://www.mingw.org/wiki/msys
- first installing [MSYS](http://www.mingw.org/wiki/msys)

- launching a visual studio 2017 developer prompt
- set visual studio build vars for an x64 build. Something like
- launching a Visual Studio 2017 developer prompt
- set Visual Studio build vars for an x64 build. Something like

"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build\vcvarsall.bat" amd64

- running the msys shell from within that prompt
- running the MSYS shell from within that prompt

C:\MinGW\msys\1.0\msys.bat

Expand All @@ -87,18 +94,21 @@ For reference, the FFMpeg build for the win64 plugin was created by

This will take a while.

#### macosx
#### macOS

Build a local FFmpeg by opening a terminal and moving to external/ffmpeg/FFmpeg. Then

./configure --disable-x86asm --disable-network --disable-everything --enable-muxer=mov --disable-zlib --disable-iconv
make

### Pandoc

Pandoc is required to build the documentation, which is bundled by the installer.

https://pandoc.org/
[https://pandoc.org/](https://pandoc.org/)

#### macOS

#### macos
For macos, the homebrew installation is recommended.

brew install pandoc
Expand All @@ -123,7 +133,7 @@ This should create HapEncoder.sln in the current directory. Open it in Visual St
The encoder plugin (.prm) is created by building all.
The installer executable is made by building the PACKAGE target, which is excluded from the regular build.

### macosx
### macOS

First create a build directory at the top level, and move into it

Expand All @@ -147,4 +157,4 @@ To create an installer (requires Apple Developer Program membership for signing)
cd installer
./make_mac_installer.sh

TODO: have the installer figure out the right paths to copy plugin+presets to from Adobe's .plist file
The installer is created in the Release directory.
27 changes: 9 additions & 18 deletions doc/user_guide/README.md
Expand Up @@ -16,21 +16,21 @@ HAP is a collection of high-performance codecs optimised for playback of multipl

Releases of this plugin are available at

https://github.com/GregBakker/hap-exporter-adobe-cc/releases
[https://github.com/disguise-one/hap-adobe-premiere-plugin/releases](https://github.com/disguise-one/hap-adobe-premiere-plugin/releases)

## Requirements

This codec has been tested on Windows 10, and supports Core i3 processors and later.
This codec has been tested on Windows 10, macOS High Sierra and macOS Mojave and supports Core i3 processors and later.

It has been tested in Adobe Media Encoder CC 2018 12.1.2.69
It has been tested in Adobe Media Encoder CC 2018 12.1.2.69.

## Installation

Obtain the installer executable and run it.
Run the provided installer.

## Usage

After installation, the encoders will be available as the 'HAP Video' format when creating a new preset in Adobe Media Encoder CC 2018 or when exporting in Adobe Premiere CC 2018.
After installation, the encoders will be available as the 'HAP Video' format when exporting in Adobe Media Encoder CC 2018 or Adobe Premiere CC 2018.

![HAP format](format-option.png)

Expand Down Expand Up @@ -73,14 +73,6 @@ An optional specified number of chunks size may be specified to optimize for ult

At present, 'auto' corresponds to choosing 1 chunk per texture; this may change in the future.

### Playback

Playback requires support for the HAP codec. There are plenty of options, including

- the HAP quicktime codec
- VLC
- many media servers
- HAP codec ingestion in Adobe products

## What is HAP

Expand All @@ -90,7 +82,7 @@ HAP prioritises decode-speed, efficient upload to GPUs and GPU-side decoding to

Please see

http://hap.video/
[http://hap.video/](http://hap.video/)

for details.

Expand All @@ -104,12 +96,11 @@ Principal authors of this plugin are

- Greg Bakker (gbakker@gmail.com)
- Richard Sykes
- Tom Butterworth (http://kriss.cx/tom)
- [Tom Butterworth](http://kriss.cx/tom)

Development of this plugin was sponsored by disguise, makers of the disguise show production software and hardware
http://disguise.one
Development of this plugin was sponsored by [disguise](http://disguise.one), makers of the disguise show production software and hardware.

The Hap codec was developed by Tom Butterworth with the support of VIDVOX.
The Hap codec was developed by Tom Butterworth with the support of [VIDVOX](https://vidvox.net).

Many thanks to Tom Butterworth, David Lublin, Nick Wilkinson, Ruben Garcia and the disguise QA team for their assistance throughout development of this plugin.

Expand Down

0 comments on commit 34837ea

Please sign in to comment.