18 releases

0.12.0 Feb 8, 2024
0.11.3 Dec 18, 2023
0.11.2 Nov 11, 2023
0.10.8 Jun 6, 2023
0.0.0 Mar 11, 2022

#269 in Network programming

Download history 1/week @ 2023-11-02 28/week @ 2023-11-09 5/week @ 2023-11-16 52/week @ 2023-11-23 88/week @ 2023-11-30 57/week @ 2023-12-07 70/week @ 2023-12-14 38/week @ 2023-12-21 1/week @ 2023-12-28 6/week @ 2024-01-04 2/week @ 2024-01-11 5/week @ 2024-01-18 19/week @ 2024-01-25 52/week @ 2024-02-01 52/week @ 2024-02-08 205/week @ 2024-02-15

331 downloads per month

MPL-2.0 license

250KB
5.5K SLoC

gst-plugin-aws

This is a GStreamer plugin to interact with Amazon Web Services. We currently have elements to interact with S3 and Transcribe.

AWS Credentials

AWS credentials are picked up using the mechanism described by AWS SDK. At the moment, that is:

  1. Environment variables: AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
  2. AWS credentials file. Usually located at ~/.aws/credentials.
  3. IAM instance profile. Will only work if running on an EC2 instance with an instance profile/role.

An example credentials file might look like:

[default]
aws_access_key_id = ...
aws_secret_access_key = ...

s3src

Reads from a given S3 (region, bucket, object, version?) tuple. The version may be omitted, in which case the default behaviour of fetching the latest version applies.

$ gst-launch-1.0 \
    s3src uri=s3://ap-south-1/my-bucket/my-object-key/which-can-have-slashes?version=my-optional-version !
    filesink name=my-object.out

s3sink

Writes data to a specified S3 (region, bucket, object, version?) tuple. The version may be omitted.

$ gst-launch-1.0 \
    videotestsrc ! \
    theoraenc ! \
    oggmux ! \
    s3sink uri=s3://us-west-1/example-bucket/my/file.ogv?version=my-optional-version

s3hlssink

Writes a single variant HLS stream directly to a specified S3 (region, bucket, path prefix) tuple. Takes the encoded audio and video stream as input, and uses hlssink3 if available, else hlssink2. HLS stream parameters such as playlist length, segment duration, etc. can be tweaked by accessing the underlying sink using the hlssink property.

awstranscriber

Transcribes audio to text.

Dependencies

~36–48MB
~764K SLoC