mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Add detection of container/video_codec/audio_codec compatibility for live file streaming or transcoding (#384)
* add forceMKV, forceHEVC config options * drop audio stream instead of trying to transcode for ffmpeg unsupported/unknown audio codecs
This commit is contained in:
@@ -165,6 +165,9 @@ func (t *ExportTask) ExportScenes(ctx context.Context) {
|
||||
if scene.AudioCodec.Valid {
|
||||
newSceneJSON.File.AudioCodec = scene.AudioCodec.String
|
||||
}
|
||||
if scene.Format.Valid {
|
||||
newSceneJSON.File.Format = scene.Format.String
|
||||
}
|
||||
if scene.Width.Valid {
|
||||
newSceneJSON.File.Width = int(scene.Width.Int64)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user