Video codec ffmpeg command line correction for mp4
This commit is contained in:
parent
293b7f3092
commit
af371716ba
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ params = {
|
||||||
"twopass": False,
|
"twopass": False,
|
||||||
"recursive": False,
|
"recursive": False,
|
||||||
"format": [],
|
"format": [],
|
||||||
"delay": ""
|
"delay": "10"
|
||||||
}
|
}
|
||||||
|
|
||||||
VERSION = "0.1dev"
|
VERSION = "0.1dev"
|
||||||
|
@ -184,7 +184,7 @@ def encode_h264(src, dest):
|
||||||
EXEC_FFMPEG,
|
EXEC_FFMPEG,
|
||||||
"-y",
|
"-y",
|
||||||
"-i", src,
|
"-i", src,
|
||||||
"-codec:va", "libx264",
|
"-codec:v", "libx264",
|
||||||
"-b:v", params["vbitrate"],
|
"-b:v", params["vbitrate"],
|
||||||
"-pass", "1",
|
"-pass", "1",
|
||||||
] + params["h264_vcommand"] + [
|
] + params["h264_vcommand"] + [
|
||||||
|
|
Reference in a new issue