1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-09 13:26:47 +01:00
immich/server/src/infra
Mert 8349a28ed8
refactor(server): modularize getFfmpegOptions (#3138)
* refactored `getFfmpegOptions`

refactor transcoding, make separate service

* fixed enum casing

* use `Logger` instead of `console.log`

* review suggestions

* use enum for `getHandler`

* fixed formatting

* Update server/src/domain/media/media.util.ts

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>

* Update server/src/domain/media/media.util.ts

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>

* More specific imports, renamed codec classes

* simplified code

* removed unused import

* added tests

* added base implementation for bitrate and threads

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2023-07-08 21:43:11 -05:00
..
entities refactor(server): modularize getFfmpegOptions (#3138) 2023-07-08 21:43:11 -05:00
migrations feat(web/server): Face thumbnail selection (#3081) 2023-07-02 17:46:20 -05:00
repositories refactor(server): modularize getFfmpegOptions (#3138) 2023-07-08 21:43:11 -05:00
typesense-schemas refactor(server)*: tsconfigs (#2689) 2023-06-08 10:01:07 -05:00
utils refactor(server)*: tsconfigs (#2689) 2023-06-08 10:01:07 -05:00
communication.gateway.ts chore(server): organize imports (#2779) 2023-06-16 19:54:17 +00:00
database.config.ts refactor(server)*: tsconfigs (#2689) 2023-06-08 10:01:07 -05:00
index.ts refactor(server)*: tsconfigs (#2689) 2023-06-08 10:01:07 -05:00
infra.config.ts refactor(server)*: tsconfigs (#2689) 2023-06-08 10:01:07 -05:00
infra.module.ts refactor(server): modularize getFfmpegOptions (#3138) 2023-07-08 21:43:11 -05:00
redis-io.adapter.ts chore(server): organize imports (#2779) 2023-06-16 19:54:17 +00:00