diff --git a/README.md b/README.md index e1bb1e2f..1dc7bf2e 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,8 @@ The only required field for the metadata file is the srcVideo and the workflow w "MediaConvert_Template_2160p":"string", "MediaConvert_Template_1080p":"string", "MediaConvert_Template_720p":"string", - "JobTemplate":"custom-job-template" + "JobTemplate":"custom-job-template", + "InputRotate": "DEGREE_0" } ``` diff --git a/source/encode/index.js b/source/encode/index.js index b72d2ab8..1ec21899 100644 --- a/source/encode/index.js +++ b/source/encode/index.js @@ -60,7 +60,8 @@ exports.handler = async (event) => { } }, "VideoSelector": { - "ColorSpace": "FOLLOW" + "ColorSpace": "FOLLOW", + "Rotate": event.inputRotate }, "FilterEnable": "AUTO", "PsiControl": "USE_PSI", diff --git a/source/encode/package.json b/source/encode/package.json index 6a78e38f..594195f0 100644 --- a/source/encode/package.json +++ b/source/encode/package.json @@ -9,9 +9,10 @@ "scripts": { "test": "mocha lib/*.spec.js" }, - "dependencies": {}, + "dependencies": { + "aws-sdk": "^2.414.0" + }, "devDependencies": { - "aws-sdk": "*", "aws-sdk-mock": "*", "chai": "*", "mocha": "*", diff --git a/source/input-validate/index.js b/source/input-validate/index.js index 6fac10f8..399f6f79 100644 --- a/source/input-validate/index.js +++ b/source/input-validate/index.js @@ -38,6 +38,7 @@ exports.handler = async (event) => { startTime: moment().utc().format('YYYY-MM-DD HH:mm.S'), workflowTrigger:event.workflowTrigger, workflowStatus: 'Ingest', + inputRotate: 'DEGREE_0', workflowName:process.env.WorkflowName, srcBucket: process.env.Source, destBucket: process.env.Destination,