Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

s2texperiments/s2t-stereo-to-mono-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lambda Function which transcode stereo opus file to mono and transfer it to Google Cloud Storage

Prerequiste

  • Add static ffmpeg binaries to /ffmpeg/

Optional

  • Node >=8 installed (tests)
  • zip as cli tool installed (build.sh)

Expected Incoming Data

{
    "title":"data",
    "type": "string"
    "$comment" : "Base64 encoded String"
}

ENV

BUCKET=Bucketname on Google Cloud Storage (GCS)
DESTINATION=Name where the generated artefact will be stored on GCS  
GOOGLE_APPLICATION_CREDENTIALS=Path where credentials will be stored. Default: /tmp/credentials.json
GOOGLE_APPLICATION_CREDENTIALS_JSON=Outh2 Credentials for GCS
GOOGLE_PROJECT_ID=ProjectId for GCS 

Test

Add a .env file to the root folder und run npm test to test your GCS connection.

About

transform opus stereo to mono

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published