mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +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:
@@ -86,6 +86,9 @@ func (g Generator) transcode(input string, options TranscodeOptions) generateFn
|
||||
VideoCodec: ffmpeg.VideoCodecLibX264,
|
||||
VideoArgs: videoArgs,
|
||||
AudioCodec: ffmpeg.AudioCodecAAC,
|
||||
|
||||
ExtraInputArgs: g.FFMpegConfig.GetTranscodeInputArgs(),
|
||||
ExtraOutputArgs: g.FFMpegConfig.GetTranscodeOutputArgs(),
|
||||
})
|
||||
|
||||
return g.generate(lockCtx, args)
|
||||
@@ -117,6 +120,9 @@ func (g Generator) transcodeVideo(input string, options TranscodeOptions) genera
|
||||
VideoCodec: ffmpeg.VideoCodecLibX264,
|
||||
VideoArgs: videoArgs,
|
||||
AudioArgs: audioArgs,
|
||||
|
||||
ExtraInputArgs: g.FFMpegConfig.GetTranscodeInputArgs(),
|
||||
ExtraOutputArgs: g.FFMpegConfig.GetTranscodeOutputArgs(),
|
||||
})
|
||||
|
||||
return g.generate(lockCtx, args)
|
||||
|
||||
Reference in New Issue
Block a user