Jason Rasmussen
1c2d83e2c7
refactor(server): job handlers ( #2572 )
...
* refactor(server): job handlers
* chore: remove comment
* chore: add comments for
2023-05-26 14:43:24 -05:00
Mert
e9722710ac
feat(server): transcode bitrate and thread settings ( #2488 )
...
* support for two-pass transcoding
* added max bitrate and thread to transcode api
* admin page setting desc+bitrate and thread options
* Update web/src/lib/components/admin-page/settings/setting-input-field.svelte
Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
* Update web/src/lib/components/admin-page/settings/setting-input-field.svelte
Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
* two-pass slider, `crf` and `threads` as numbers
* updated and added transcode tests
* refactored `getFfmpegOptions`
* default `threads`, `maxBitrate` now 0, more tests
* vp9 constant quality mode
* fixed nullable `crf` and `threads`
* fixed two-pass slider, added apiproperty
* optional `desc` for `SettingSelect`
* disable two-pass if settings are incompatible
* fixed test
* transcode interface
---------
Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
2023-05-22 13:07:43 -05:00
Zack Pollard
808d6423be
feat(all): ffmpeg quality options improvements ( #2161 )
...
* feat: change target scaling to resolution in ffmpeg config
* feat(microservices): scale vertical video correctly, only scale if video is larger than target
2023-04-03 20:42:53 -05:00
Michel Heusschen
c584791b65
feat(server): improve validation in controllers ( #2149 )
...
* feat(server): improve validation in controllers
* set ValidationPipe config with decorator
2023-04-02 23:24:18 -05:00
Jason Rasmussen
34d300d1da
refactor(server): flatten infra folders ( #2120 )
...
* refactor: flatten infra folders
* fix: database migrations
* fix: test related import
* fix: github actions workflow
* chore: rename schemas to typesense-schemas
2023-03-30 14:38:55 -05:00
Sergey Kondrikov
2c67090e3c
feat(server): add transcode presets ( #2084 )
...
* feat: add transcode presets
* Add migration
* chore: generate api
* refactor: use enum type instead of string for transcode option
* chore: generate api
* refactor: enhance readability of runVideoEncode method
* refactor: reuse SettingSelect for transcoding presets
* refactor: simplify return statement
* chore: regenerate api
* fix: correct label attribute
* Update import
* fix test
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
2023-03-28 14:03:43 -05:00
Michel Heusschen
2a1dcbc28b
fix(server): storage template unit test ( #1906 )
2023-03-01 13:10:01 +00:00
Chipwingg
aef5a48fc6
feat(server): added additional storage template preset ( #1903 )
2023-02-28 23:48:55 -06:00
Jason Rasmussen
6c7679714b
refactor(server): jobs and processors ( #1787 )
...
* refactor: jobs and processors
* refactor: storage migration processor
* fix: tests
* fix: code warning
* chore: ignore coverage from infra
* fix: sync move asset logic between job core and asset core
* refactor: move error handling inside of catch
* refactor(server): job core into dedicated service calls
* refactor: smart info
* fix: tests
* chore: smart info tests
* refactor: use asset repository
* refactor: thumbnail processor
* chore: coverage reqs
2023-02-25 08:12:03 -06:00
Jason Rasmussen
eade36ee82
refactor(server): auth service ( #1383 )
...
* refactor: auth
* chore: tests
* Remove await on non-async method
* refactor: constants
* chore: remove extra async
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-01-23 22:13:42 -06:00
Zack Pollard
4e0fe27de3
feat(server): transcoding improvements ( #1370 )
...
* feat: support isEdited flag for SettingSwitch
* feat: add transcodeAll ffmpeg settings for extra transcoding control
* refactor: tidy up and rename current video transcoding code + transcode everything
* feat: better video transcoding with ffprobe
analyses video files to see if they are already in the desired format
allows admin to choose to transcode all videos regardless of the current format
* fix: always serve encoded video if it exists
* feat: change video codec option to a select box, limit options
removed previous video codec config option as it's incompatible with new options
removed mapping for encoder to codec as we now store the codec in the config
* feat: add video conversion job for transcoding previously missed videos
* chore: fix spelling of job messages to pluralise assets
* chore: fix prettier/eslint warnings
* feat: force switch targetAudioCodec default to aac to avoid iOS incompatibility
* chore: lint issues after rebase
2023-01-21 20:09:02 -06:00
Jason Rasmussen
c0a6b3d5a3
refactor(server): system config ( #1353 )
...
* refactor(server): system config
* fix: jest circular import
* chore: ignore migrations in coverage report
* chore: tests
* chore: tests
* chore: todo note
* chore: remove vite config backup
* chore: fix redis hostname
2023-01-21 10:11:55 -06:00