同步音视频,使用默认预设进行压制
This commit is contained in:
parent
a7a583c81a
commit
bde4531b3b
@ -237,8 +237,8 @@ def _common_ffmpeg_setting():
|
||||
|
||||
def _common_ffmpeg_params():
|
||||
return (
|
||||
"-vsync", "1", "-async", "1", "-avoid_negative_ts", "1",
|
||||
"-f", "mp4", "-b:v", VIDEO_BITRATE, "-c:a", "aac",
|
||||
"-preset:v", "fast", "-profile:v", "main", "-avoid_negative_ts", "1",
|
||||
"-qmin", "18", "-qmax", "38", "-g:v", str(VIDEO_GOP),
|
||||
"-fflags", "+genpts", "-shortest"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user