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

fix(server): nvenc not working when there are no filters #9802

Merged
merged 1 commit into from
May 27, 2024

Conversation

mertalev
Copy link
Contributor

Description

The code currently adds format=nv12 if there is no filter, but this makes FFmpeg throw an error. Omitting it works for both HDR and SDR inputs, so there's no need for it.

How Has This Been Tested?

Tested on a video that was throwing an error with format=nv12, confirming that it works when omitted. Also tested on an HDR video that still worked without this.

Copy link
Member

@danieldietzler danieldietzler left a comment

Choose a reason for hiding this comment

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

🪄

Copy link

Deploying immich with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1e41290
Status: ✅  Deploy successful!
Preview URL: https://3ae5bbc9.immich.pages.dev
Branch Preview URL: https://fix-server-nvenc-no-filters.immich.pages.dev

View logs

@mertalev mertalev merged commit 21bd20f into main May 27, 2024
23 of 25 checks passed
@mertalev mertalev deleted the fix/server-nvenc-no-filters branch May 27, 2024 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants