Skip to content

feat(server): option to transcode to original resolution - #2709

Merged
alextran1502 merged 3 commits into
immich-app:mainfrom
mertalev:transcode-original-res
Jun 10, 2023
Merged

alextran1502 merged 3 commits into
immich-app:mainfrom
mertalev:transcode-original-res

Conversation

@mertalev

@mertalev mertalev commented Jun 9, 2023 •

Copy link
Copy Markdown
Member

Implements #2707, allowing users to transcode without setting a target resolution. Specifically, a new option is added for target resolution: "original".

@vercel

vercel Bot commented Jun 9, 2023 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
immich ⬜️ Ignored (Inspect) Jun 10, 2023 0:45am

Comment thread server/src/domain/media/media.service.spec.ts Outdated
Comment thread server/src/domain/media/media.service.ts Outdated

@jrasm91 jrasm91 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. I'd be fine also adding a fallback value to the targetResolution in the case that the value is invalid for whatever reason. But we could also do that in a separate PR.

@mertalev

Copy link
Copy Markdown
Member Author

For now it's probably best to leave it as-is. If it's NaN but also not original, then something clearly went very wrong so it shouldn't get hidden with a fallback value.

@alextran1502
alextran1502 merged commit 9cdec62 into immich-app:main Jun 10, 2023
@mertalev
mertalev deleted the transcode-original-res branch June 10, 2023 04:58
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.

3 participants