mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Allow configuration of ffmpeg args (#3216)
* Allow configuration of ffmpeg args * Add UI settings for ffmpeg config * Add changelog entry * Add documentation in manual
This commit is contained in:
@@ -47,12 +47,18 @@ type ScenePaths interface {
|
||||
GetTranscodePath(checksum string) string
|
||||
}
|
||||
|
||||
type FFMpegConfig interface {
|
||||
GetTranscodeInputArgs() []string
|
||||
GetTranscodeOutputArgs() []string
|
||||
}
|
||||
|
||||
type Generator struct {
|
||||
Encoder ffmpeg.FFMpeg
|
||||
LockManager *fsutil.ReadLockManager
|
||||
MarkerPaths MarkerPaths
|
||||
ScenePaths ScenePaths
|
||||
Overwrite bool
|
||||
Encoder ffmpeg.FFMpeg
|
||||
FFMpegConfig FFMpegConfig
|
||||
LockManager *fsutil.ReadLockManager
|
||||
MarkerPaths MarkerPaths
|
||||
ScenePaths ScenePaths
|
||||
Overwrite bool
|
||||
}
|
||||
|
||||
type generateFn func(lockCtx *fsutil.LockContext, tmpFn string) error
|
||||
|
||||
Reference in New Issue
Block a user