Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Audio-Only Pipeline Guide in Wiki Fails to Output Audio HLS  #332

Description

@djsjr

Describe the bug
Steps in wiki to produce audio-only pipeline fail. Output bucket remains empty after uploading audio file to input bucket.

Uploading a video file results in an output of an audio-only HLS. However, audio files do not work.

I have tried changing suffix in SetupTriggerLambda to '.mp3', '.aac', leaving as is. No change. Also I noticed that the lambda function 'project_name-dev-cfTrigger' found from the Lambda console does not change even after pushing an updated video resource.

To Reproduce

  1. Follow steps in wiki for changing pipeline to audio-only.
  2. Upload audio file (let's say .mp3) to input bucket
  3. No HLS in output bucket.

Expected behavior
Expect to find audio-only HLS in output bucket.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: iOS
  • Browser safari
  • Version 3.9.2

Smartphone (please complete the following information):
N/A

Additional context
I am using flutter. I notice the file paths in the audio guide do not exactly match my own.
Guide: ./amplify/backend/video/project_name/vod-helpers/LambdaFunctions/SetupTriggerLambda/index.js
Actual: ./amplify/backend/video/project_name/build/vod-helpers/LambdaFunctions/SetupTriggerLambda/index.js

Guide: ./amplify/video/project_name/mediaconvert-job-temp.json
Actual: ./amplify/backend/video/project_name/mediaconvert-job-temp.json

EDIT: Changing audio file extension to .mp4 and uploading (after having changed the media convert template per guide) seems to work. It's a workaround at least.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions