tweak vp8 encoder settings

This commit is contained in:
byte[] 2020-04-02 21:45:21 -04:00
parent 4ccd733c2f
commit be83699e65

View file

@ -32,8 +32,6 @@ defmodule Philomena.Processors.Webm do
System.cmd("ffmpeg", [
"-loglevel",
"0",
"-threads",
"1",
"-y",
"-i",
file,
@ -93,25 +91,27 @@ defmodule Philomena.Processors.Webm do
System.cmd("ffmpeg", [
"-loglevel",
"0",
"-threads",
"1",
"-y",
"-i",
file,
"-c:v",
"libvpx",
"-quality",
"-deadline",
"good",
"-cpu-used",
"3",
"5",
"-auto-alt-ref",
"0",
"-qmin",
"15",
"-qmax",
"35",
"-crf",
"10",
"-b:v",
"5M",
"31",
"-vf",
scale_filter,
"-threads",
"1",
webm
])
@ -119,8 +119,6 @@ defmodule Philomena.Processors.Webm do
System.cmd("ffmpeg", [
"-loglevel",
"0",
"-threads",
"1",
"-y",
"-i",
file,
@ -138,6 +136,8 @@ defmodule Philomena.Processors.Webm do
"5M",
"-vf",
scale_filter,
"-threads",
"1",
mp4
])
@ -155,8 +155,6 @@ defmodule Philomena.Processors.Webm do
System.cmd("ffmpeg", [
"-loglevel",
"0",
"-threads",
"1",
"-y",
"-i",
file,
@ -179,8 +177,6 @@ defmodule Philomena.Processors.Webm do
System.cmd("ffmpeg", [
"-loglevel",
"0",
"-threads",
"1",
"-y",
"-i",
file,