Added -pix_fmt yuv420p to H264 encodes

This commit is contained in:
Stash Dev
2019-03-29 08:23:21 -07:00
parent 0ce9e073bd
commit 182afad695
3 changed files with 3 additions and 0 deletions

View File

@@ -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",