mediapackage playback giving error 404

0

Hello,

I have setup MediaPackage for VOD as instructed on
https://docs.aws.amazon.com/mediapackage/latest/ug/getting-started-vod.html

  1. S3 Bucket where we are storing HLS segments in each folder (6 sec duration)
  2. Roles (Setup policies and attached to roles, also gave full access to S3)
  3. MediaPackage (Ingested assest under VOD, created package configuration for HLS out

I can see HLS playback URL on assest details page but when accessing link, it results in error 404

https://e3e657050365b208a437a2a7550a79d8.egress.mediapackage-vod.us-east-1.amazonaws.com/out/v1/c8f59e5a612e468a8d9e667d16d3407a/1df305eb8b914b9eaf39ea412967f85f/2f71fb315800410fba393c1641aaff5b/index.m3u8

Any help will be appreciated.

Thanks,
Sunil

tsnoc
asked a year ago139 views
2 Answers
0

Hello Sunil,

Thank you for posting on the forum.

The VOD asset you tried to ingest failed with error message "No media playlists found". This is because you're trying to ingest an asset using the HLS child manifest. This will not work. MediaPackage requires a master manifest to successfully ingest assets. The master manifest should describe all of the available variants for your content. Each variant is a version of the stream at a particular bit rate and is contained in a separate playlist.

An example of a master manifest (say index.m3u8) with one variant (index_1.m3u8) is below,

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-STREAM-INF:BANDWIDTH=1397072,AVERAGE-BANDWIDTH=1372080,CODECS="avc1.42c01f,mp4a.40.2",RESOLUTION=640x360,FRAME-RATE=29.970
index_1.m3u8

Please try ingesting the asset using its master manifest and let me know if that resolves your issue.

Also, MediaPackage integrates with CloudWatch Events to notify you of status/progress of a VOD ingest job. I highly recommend you set this up as it helps understand when ingest starts/completes and when the asset is ready for playback. You will also receive events when ingest errors out and get more info as to why this happened. More info can be found here: https://docs.aws.amazon.com/mediapackage/latest/ug/cloudwatch-events-example.html

Let me know if you have any questions.

answered a year ago
0

Thanks :-)

tsnoc
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions