Asset MediaPackage has no audio especification

0

Hello, I have 100 mp3 files that I'm using the MediaConvert to generate the HLS file and the MediaPackage to generate the assest. The problem is for 99 mp3 files, it generates the manifest with audio like (DASH):

<AdaptationSet mimeType="audio/mp4" segmentAlignment="0" lang="und">

For just one, is generating without this tag. I checked the MP3 metainfo, they are identical besides the durations and title. Do you have any idea where I can start checking ? I've already done the whole process again and again and it still without audio.

Note: If I try to play the HLS from MediaConvert, it's playing well, but when I try to play using the MediaPackage asset, it's silent.

Thank you in advance!

profile picture
asked a year ago318 views
2 Answers
1
Accepted Answer

Hello Alisson,

Based on your note, I understand the HLS file from MediaConvert plays well but for the MediaPackage asset, the audio is silent. Here are some checks you can perform on the no audio file :

  1. ffprobe on the mediaconvert output
  2. ffprobe on the MediaPackage output

For the MediaConvert output, since it is working as expected, you should be able to see an audio stream on the ffprobe output like this: Stream #0:10x101: Audio: aac (LC) ([15][0][0][0] / 0x000F) .....

For the MediaPackage output, the audio stream should be missing from the ffprobe output since the output playback is silent.

I would suggest you to make a minor adjustment to the MediaConvert job settings: We recommend setting "Minimum final segment length (sec)" to 1 second, and re-running the conversion job. This will ensure MediaConvert does not produce a really short (<1s) length final segment.

When a Minimum final segment length is not set, MediaConvert could produce a segment that is less than 1 second long. Such segments usually contain only a few frames, sometimes only video and no audio frames.

The "Minimum final segment length (sec)" config can be found under Output Groups > Apple HLS. Once you have re-converted the file with this change, please try ingesting the new asset into MediaPackage, and give it a test.

If this still does not fix the silent MediaPackage output issue, I would recommend you to create a Support case with the AWS MediaPackage Support team for assistance.

AWS
SUPPORT ENGINEER
answered a year ago
  • Following your recommendations, we manage to convert the source and make it working ! Thank you!

0

Thank you very much for your quick answer ! I will test everything you said as soon as possible!

profile picture
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