mirror of
https://github.com/immich-app/immich.git
synced 2024-11-16 02:18:50 -07:00
8349a28ed8
* 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>
68 lines
1.4 KiB
Dart
Generated
68 lines
1.4 KiB
Dart
Generated
//
|
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
|
//
|
|
// @dart=2.12
|
|
|
|
// ignore_for_file: unused_element, unused_import
|
|
// ignore_for_file: always_put_required_named_parameters_first
|
|
// ignore_for_file: constant_identifier_names
|
|
// ignore_for_file: lines_longer_than_80_chars
|
|
|
|
import 'package:openapi/api.dart';
|
|
import 'package:test/test.dart';
|
|
|
|
// tests for SystemConfigFFmpegDto
|
|
void main() {
|
|
// final instance = SystemConfigFFmpegDto();
|
|
|
|
group('test SystemConfigFFmpegDto', () {
|
|
// int crf
|
|
test('to test the property `crf`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// int threads
|
|
test('to test the property `threads`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// VideoCodec targetVideoCodec
|
|
test('to test the property `targetVideoCodec`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// 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
|
|
});
|
|
|
|
// String maxBitrate
|
|
test('to test the property `maxBitrate`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// bool twoPass
|
|
test('to test the property `twoPass`', () async {
|
|
// TODO
|
|
});
|
|
|
|
|
|
});
|
|
|
|
}
|