awslabs / amplify-video

An open source Category Plugin for the AWS Amplify-CLI that makes it easy to deploy live and file based streaming video services and integrate them into your Amplify applications.
https://www.npmjs.com/package/amplify-category-video
Apache License 2.0
267 stars 56 forks source link

Media Package, in VOD workflow. #93

Open kkrao2301 opened 4 years ago

kkrao2301 commented 4 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen. I would like to see Media Package enabled with the VOD solution, It would not only help reduce the trans-coding costs. Also helps with delivering gracefully using DRM.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

smp commented 4 years ago

Hi @kkrao2301 , thanks for your feedback. MediaPackage VOD support is definitely something we want to implement as part of Amplify Video, but we don't have a timeframe for it today. Can you help me understand a few things?

Thanks!

kkrao2301 commented 4 years ago

Hi @smp , Thanks for taking this into consideration.

Hope this helps!!

Ps: If there is an example on how to implement the VoD solution on AWS with Amplify it would really help. https://aws.amazon.com/solutions/implementations/video-on-demand-on-aws/

smp commented 4 years ago

Even with mediapackage hosting your VOD assets you'll need to transcode to all resolutions and bitrates necessary. Where a just-in-time-packager can help is if you need multiple protocols (HLS/DASH/etc) or multiple DRM systems (fairplay, playready, etc).

If you're just planning a single protocol (HLS) and a single content protection scheme (clear key aes) you might not need mediapackage as you can do this today with Amplify Video through a custom template + s3 as origin.

I'd encourage you to evaluate the differences between a full-fledged DRM System (which can be complex and costly to implement) vs a clear key scheme which can offer some light protection when combined with signed-urls/auth. It depends on your content and how deep you want to go into the rabbit hole of key management / subscriber management system. Some good info on the differences here on stack overflow