字幕编码,profile main, tune animation
This commit is contained in:
parent
7bdde6781f
commit
db7f92d258
@ -176,13 +176,15 @@ def quick_split_video(file):
|
||||
|
||||
def _common_ffmpeg_setting():
|
||||
return (
|
||||
"-y", "-hide_banner", "-progress", "-", "-loglevel", "error", "-sub_charenc", "UTF-8"
|
||||
"-y", "-hide_banner", "-progress", "-", "-loglevel", "error"
|
||||
)
|
||||
|
||||
|
||||
def _common_ffmpeg_params():
|
||||
return (
|
||||
"-preset:v", "fast", "-profile:v", "high", "-level", "4.1",
|
||||
"-qmin", "10", "-qmax", "48", "-crf", "26",
|
||||
"-f", "mp4", "-b:v", VIDEO_BITRATE, "-c:a", "copy",
|
||||
"-sub_charenc", "UTF-8",
|
||||
"-preset:v", "fast", "-profile:v", "main",
|
||||
"-qmin", "12", "-qmax", "34", "-crf", "24", "-tune:v", "animation",
|
||||
"-fflags", "+genpts", "-shortest", "-movflags", "faststart"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user