immich/docs/docs/administration
Sergey Katsubo 4a384bca86
fix(server): opus handling as accepted audio codec in transcode policy (#26736)
* Fix opus handling as accepted audio codec in transcode policy

Fix the issue when opus is among accepted audio codecs in transcode policy
(which is default) but it still triggers transcoding because the codec name
from ffprobe (opus) does not match `libopus` literal in Immich.

Make a distinction between a codec name and encoder:
- codec name: switch to `opus` as the audio codec name. This matches what ffprobe
returns for a media file with opus audio.
- encoder: continue using the `libopus` encoder in ffmpeg.

* Add unit tests for accepted audio codecs and for libopus encoder

* Add db migration for ffmpeg.targetAudioCodec opus

* backward compatibility

* tweak

* noisy logs

* full mapping

* make check happy

* mark deprecated

* update api

* indexOf

---------

Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2026-03-07 13:08:42 -05:00
..
img docs: update documentation (#25440) 2026-01-25 15:45:30 +00:00
_category_.json ci: doc format check (#2325) 2023-04-24 12:49:20 -05:00
backup-and-restore.md docs: update manual backup/restore to match the automatic process (#25924) 2026-02-05 12:43:33 -05:00
email-notification.mdx feat: docs.immich.app (#21819) 2025-09-25 15:54:34 +01:00
jobs-workers.md fix(docs): add ocr to job flow diagram (#26505) 2026-03-03 12:43:59 +01:00
maintenance-mode.md docs: update documentation (#25440) 2026-01-25 15:45:30 +00:00
oauth.md chore: update oauth documentation (#25907) 2026-02-05 09:00:00 -05:00
postgres-standalone.md fix(docs): clarify supported vector version (#25753) 2026-01-31 11:46:51 -05:00
reverse-proxy.md docs: remove writeTimeout on traefik example (#25837) 2026-02-05 20:58:10 +00:00
server-commands.md fix(docs): typo in maintenance mode command (#24518) 2025-12-11 09:19:33 -06:00
server-stats.md chore(docs): clean up and add new content (#15003) 2025-01-02 10:04:14 -06:00
storage-template.mdx fix(docs) Fix relative paths leading to broken links (#6354) 2024-01-13 14:15:32 -06:00
system-integrity.md docs: make IGNORE_MOUNT_CHECK warning stronger (#14011) 2024-11-08 13:29:10 +00:00
system-settings.md fix(server): opus handling as accepted audio codec in transcode policy (#26736) 2026-03-07 13:08:42 -05:00
user-management.mdx docs: update documentation (#25440) 2026-01-25 15:45:30 +00:00