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
질문됨 3년 전815회 조회
2개 답변
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.

AWS
답변함 3년 전
0

Thanks :-)

tsnoc
답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠