Activity worker for media operation

Completed Posted 5 years ago Paid on delivery
Completed Paid on delivery

Modification - COPY activity worker

: to output the id which is the file path on EFS (from the response of /copy API) and userid & mediaid - these are from the Start

- I will provides all the related files for this (cloudformation template, lambda function code, activity worker code)

EXTRACT METADATA

-I have the executable file ready (based on Golang)

It will be installed on the custom AMI and there is [login to view URL] required to be set up as well(I will provide the required path to put the config file)

Basically this app will read the file from EFS path(output from the previous state step function-copy), use the FFPROBE to extract metadata, transform to JSON and put the file to S3

We need to include a command line under userdata (lambda function) to make the app run automatically upon launch or whichever way easier.

And need to install FFMPEG(FFPROBE included) under the custom AMI as well.

Guide: [login to view URL]

1. Infrastructure provisioning

- It is a lambda function to launch an instance from a custom AMI (pre-setup environment)

- I have the sample from the 'copy activity worker'

- Might just need to modify/remove certain lines

2. Activity worker

- GetActivityTask() to get the desired input params from the previous state

- Make the metadata extractor app to do the operation based on the provided inputs

- SendTaskSuccess()

- SendTaskFailure()

GENERATE PROXY VIDEO

- Environment will be pre-set up using the custom AMI as well

- FFMPEG ready installed on the custom AMI

1. Infrastructure provisioning

- It is a lambda function to launch an instance from a custom AMI

- Sample from the 'copy activity worker'

- Might just need to modify/remove certain lines

2. Activity worker

- GetActivityTask() to get the desired input params from the previous state

- Using FFMPEG commannd to generate the required outputs (can this be just a command line inside the activity worker program? Or need to be a different script?)

- Put the file

- SendTaskSuccess()

- SendTaskFailure()

CLEANUP

- This is to delete the source file from the efs path after all the process is done

- And to terminate all the instances launched for all the processes (need the instance IDs)

- Here i think should be worker as well? Since it has to mount the efs in order for it to get access to the files?

Amazon Web Services Linux Python

Project ID: #18773851

About the project

1 proposal Remote project Active 5 years ago

Awarded to:

eaglepoint

Hi as we discussed in the chat. You can assign it to me. Relevant Skills and Experience Looking forward to hearing from you Best Regards

$150 USD in 5 days
(17 Reviews)
5.0