mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 19:41:00 +00:00
099a3f2114
A multipart upload should either be completed or aborted on error. In the current state of things, a multipart upload would neither be completed nor aborted, putting the onus on an external entity to take care of finishing incomplete uploads or relying on a sane bucket life cycle policy configured to abort incomplete multipart uploads. An incomplete multipart upload still contributes to the storage costs as long as it exists. We introduce a property here to allow the user to select either aborting or completing multipart uploads on error. Aborting the upload causes whole of data to be discarded and the same upload ID is not usable for uploading more parts to the same. Completing an incomplete multipart upload can be useful in situations like having a streamable MP4 where one might want to complete the upload and have part of the data which was uploaded be preserved. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/618> |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
gst-plugin-s3
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 that rusoto's ChainProvider uses. At the moment, that is:
- Environment variables:
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
- AWS credentials file. Usually located at ~/.aws/credentials.
- 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
awstranscriber
Transcribes audio to text.