0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-03-25 02:41:37 -05:00
immich/server/src/microservices
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
..
processors refactor(server)*: tsconfigs (#2689) 2023-06-08 10:01:07 -05:00
utils chore(server): organize imports (#2779) 2023-06-16 19:54:17 +00:00
app.service.ts refactor(server): modularize getFfmpegOptions (#3138) 2023-07-08 21:43:11 -05:00
main.ts refactor(server)*: tsconfigs (#2689) 2023-06-08 10:01:07 -05:00
microservices.module.ts refactor(server)*: tsconfigs (#2689) 2023-06-08 10:01:07 -05:00