mirror of
https://github.com/stashapp/stash.git
synced 2026-01-24 00:54:10 +01:00
Added -pix_fmt yuv420p to H264 encodes
This commit is contained in:
parent
0ce9e073bd
commit
182afad695
3 changed files with 3 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ func (e *Encoder) SceneMarkerVideo(probeResult VideoFile, options SceneMarkerOpt
|
|||
"-i", probeResult.Path,
|
||||
"-max_muxing_queue_size", "1024", // https://trac.ffmpeg.org/ticket/6375
|
||||
"-c:v", "libx264",
|
||||
"-pix_fmt", "yuv420p",
|
||||
"-profile:v", "high",
|
||||
"-level", "4.2",
|
||||
"-preset", "veryslow",
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ func (e *Encoder) ScenePreviewVideoChunk(probeResult VideoFile, options ScenePre
|
|||
"-i", probeResult.Path,
|
||||
"-y",
|
||||
"-c:v", "libx264",
|
||||
"-pix_fmt", "yuv420p",
|
||||
"-profile:v", "high",
|
||||
"-level", "4.2",
|
||||
"-preset", "veryslow",
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ func (e *Encoder) Transcode(probeResult VideoFile, options TranscodeOptions) {
|
|||
args := []string{
|
||||
"-i", probeResult.Path,
|
||||
"-c:v", "libx264",
|
||||
"-pix_fmt", "yuv420p",
|
||||
"-profile:v", "high",
|
||||
"-level", "4.2",
|
||||
"-preset", "superfast",
|
||||
|
|
|
|||
Loading…
Reference in a new issue