Revert preview generation change

This commit is contained in:
WithoutPants
2020-05-13 17:23:23 +10:00
committed by GitHub
parent 4829b4b214
commit 41c6d9e681

View File

@@ -16,8 +16,8 @@ type ScenePreviewChunkOptions struct {
func (e *Encoder) ScenePreviewVideoChunk(probeResult VideoFile, options ScenePreviewChunkOptions) { func (e *Encoder) ScenePreviewVideoChunk(probeResult VideoFile, options ScenePreviewChunkOptions) {
args := []string{ args := []string{
"-v", "error", "-v", "error",
"-i", probeResult.Path,
"-ss", strconv.Itoa(options.Time), "-ss", strconv.Itoa(options.Time),
"-i", probeResult.Path,
"-t", "0.75", "-t", "0.75",
"-max_muxing_queue_size", "1024", // https://trac.ffmpeg.org/ticket/6375 "-max_muxing_queue_size", "1024", // https://trac.ffmpeg.org/ticket/6375
"-y", "-y",