MIE 2.0.1 was released today.
https://github.com/awslabs/aws-media-insights-engine/releases/tag/v2.0.1
This release introduces the ability to support human in the loop subtitle generation and editing workflows along with new mechanisms for performing automated builds, testing, and releases for faster release cycles. You can find additional details in the release notes.
MIE 2.0.2 was released today.
https://github.com/awslabs/aws-media-insights-engine/releases/tag/v2.0.2
This release includes bug fixes and developer usability improvements, such as:
We also have a new Github pages site that contains API reference documentation:
Hi all! MIE looks like an absolutely awesome piece of product / solution. We are considering it to be a central part in our application. We are currently evaluating it and an interesting question came up:
I'm digging through the code base / the CFN templates and while it seems kinda doable feels very hacky. I'm wondering what is your position on that?
Hi,
Some of cloudformation templates from the MI (not MIE) repo contain git change/merge syntax with in them, for example:
...
...
Mappings:
<<<<<<< HEAD:cloudformation/aws-content-analysis-use-existing-mie-stack.yaml
=======
MediaInsightsEngine:
Release:
Version: "v2.0.3"
>>>>>>> ef8e22eb9e28d8057d207ce692c76279ca15d5b2:cloudformation/aws-content-analysis-create-new-mie-stack.yaml
ContentAnalysisApp:
SourceCode:
...
...
in this template:
https://github.com/awslabs/aws-media-insights/blob/2.0.4/cloudformation/aws-content-analysis-use-existing-mie-stack.yaml,
This exists in the releases as well (2.0.4). Is this intended ?
dropzone.js
for drag-and-drop multi-file uploads. https://github.com/awslabs/aws-media-insights/releases/tag/v2.0.5
Hey chaps, another quick question for you.
Have you ever run into an error where you exceed the max size of the Step Functions IAM Role's policy? I've deployed MIE 2.0.5
with 3 custom operators who's policies are pretty much identical looking something like this:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "lambda:InvokeFunction",
"Resource": [
"arn:aws:lambda:...:...:function:jackliddiardMediaInsightsEngine-..."
]
}
]
}
When Cloud Formation comes to adding the custom operator it returns this error
Exception An error occurred (LimitExceeded) when calling the PutRolePolicy operation: Maximum policy size of 10240 bytes exceeded for role jackliddiardMediaInsightsEngine-StepFunctionRole-PG...
I did see a brief mention on the topic here: awslabs/aws-media-insights-engine#291
I was wondering if you have ever worked around it in the past?
# TODO: Once IAM supports the ability to use tag-based policies for
# InvokeFunction, put that in the StepFunctionRole definition in
# media-insights-stack.yaml and remove the following code block. Inline
# policies have length limitations which will prevent users from adding
# more than about 35 new operators via the MIE workflow api. Tag based
# policies will not have any such limitation.
# Skip the inline policy creation for operators packaged with MIE.
# The inline policy is not needed for those operators because the
# StepFunctionRole has already been defined with permission to invoke
# those Lambdas (see media-insigts-stack.yaml).
if not ("OperatorLibrary" in operation["StartLambdaArn"] or "start-wait-operation" in operation["StartLambdaArn"]):
# If true then this is a new user-defined operator which needs to be added
# to the StepFunctionRole.
#
# Create an IAM policy to allow InvokeFunction on the StartLambdaArn
const resource = new cdk.CustomResource(this, `${operatorName}Operation`, {
serviceToken,
properties: {
ResourceType: "Operation",
Name: operatorName,
Type: type,
Configuration: configuration,
StartLambdaArn: this.startLambda.handler.functionArn,
},
});
const cfnResource = resource.node.defaultChild as cdk.CfnResource;
cfnResource.overrideLogicalId(`${operatorName}Operation`);
Shorting the prefix to something like j1 was one work around but this does go against the spirit of our project - each developer has their own stack instead of sharing the same MIE insights.
Are you aware of any other possible work arounds/fixes/hacks? Or are we looking at bitting the bullet and sharing a MIE stack?
p.s. I really do appreciate your support @aburkleaux-amazon :)
I've released version 2.0.0 of Content Analysis on Github: https://github.com/awslabs/aws-content-analysis/releases/tag/v2.0.0
This release includes big back-end changes but very few UX/UI changes. Most notably, MIE has been decoupled from Content Analysis, thus greatly improving code maintainability.