[PR #9802] fix(server): nvenc not working when there are no filters #12642

Closed
opened 2026-02-05 15:00:42 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/immich-app/immich/pull/9802

State: closed
Merged: Yes


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.

**Original Pull Request:** https://github.com/immich-app/immich/pull/9802 **State:** closed **Merged:** Yes --- ## 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.
OVERLORD added the pull-request label 2026-02-05 15:00:42 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#12642