mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
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>
This commit is contained in:
@@ -26,21 +26,26 @@ void main() {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String preset
|
||||
test('to test the property `preset`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String targetVideoCodec
|
||||
// VideoCodec targetVideoCodec
|
||||
test('to test the property `targetVideoCodec`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String targetAudioCodec
|
||||
// AudioCodec targetAudioCodec
|
||||
test('to test the property `targetAudioCodec`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// TranscodePolicy transcode
|
||||
test('to test the property `transcode`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String preset
|
||||
test('to test the property `preset`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String targetResolution
|
||||
test('to test the property `targetResolution`', () async {
|
||||
// TODO
|
||||
@@ -56,11 +61,6 @@ void main() {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String transcode
|
||||
test('to test the property `transcode`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user