Fix ffmpeg error output (#176)

This commit is contained in:
WithoutPants
2019-11-05 08:34:57 +11:00
committed by Leopere
parent fee2de5547
commit be12a9f5a1
4 changed files with 15 additions and 10 deletions

View File

@@ -14,7 +14,7 @@ type SceneMarkerOptions struct {
func (e *Encoder) SceneMarkerVideo(probeResult VideoFile, options SceneMarkerOptions) error {
args := []string{
"-v", "quiet",
"-v", "error",
"-ss", strconv.Itoa(options.Seconds),
"-t", "20",
"-i", probeResult.Path,
@@ -40,7 +40,7 @@ func (e *Encoder) SceneMarkerVideo(probeResult VideoFile, options SceneMarkerOpt
func (e *Encoder) SceneMarkerImage(probeResult VideoFile, options SceneMarkerOptions) error {
args := []string{
"-v", "quiet",
"-v", "error",
"-ss", strconv.Itoa(options.Seconds),
"-t", "5",
"-i", probeResult.Path,