Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.2.6 #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Release 0.2.6 #1

wants to merge 6 commits into from

Conversation

Lunkers
Copy link

@Lunkers Lunkers commented Jan 22, 2025

No description provided.

This commit add support for using s3 urls on the format
s3://<BUCKET>/<KEY> in both input and output.

If ans s3 URL is used as input, a presigned URL is created
and used as input to ffmpeg. The duration of the presigned URLs can be
controlled with the 'remote-files.s3.presignDurationSeconds' config
property.

If an s3 URL is used for 'outputFolder', output will first be stored
locally and then uploaded to s3 once transcoding is finished.

Aws credentials are read with DefaultCredentialsProvider, meaning
aws credentials can be provided in a number of ways, see
https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/auth/credentials/DefaultCredentialsProvider.html;

Not that when using s3 urls for input, the presigned URLs will be
shown in the logs. If this is not desirable, setting
logging.config (or env variable LOGGING_CONFIG) to
'classpath:logback-json-mask-s3-presign.xml'
will use a log config that masks the presign query parameters.

Signed-off-by: Gustav Grusell <[email protected]>
Signed-off-by: Gustav Grusell <[email protected]>
By setting env variable REMOTEFILES_S3_ANONYMOUSACCESS to true, s3 urls will be
accessed in anonymous mode, corresponding to using the '--no-sign-request' flag
with the aws cli. Any s3 access key or secrets key configured will be
ignored.

Signed-off-by: Gustav Grusell <[email protected]>
Multipart upload is not supported by the s3 sdk when using anonymous
access.

Signed-off-by: Gustav Grusell <[email protected]>
- update gradlew to 8.12.1
- update kotlinter-gradle to 4.1.1
- fix linting
- add ignored lambdas for jacoco checks

Signed-off-by: Gustav Grusell <[email protected]>
Previously, encore would fail the job if the input had a mix of mono and
multitrack audiostreams, except if the first stream was multitrack. This feat
adds some support for inputs with a mix of mono and multitrackstreams,
where the first stream is a monostream. Given such an input, encore now uses
all monostreams that comes before the first multitrack stream, and ignore
all following audiostreams.

Signed-off-by: Gustav Grusell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants