Training 2021-04-17
This commit is contained in:
@@ -8,11 +8,14 @@ import glob
|
||||
import sys
|
||||
import argparse
|
||||
|
||||
config = {}
|
||||
config['vcodec'] = "vp9"
|
||||
|
||||
|
||||
argParser = argparse.ArgumentParser()
|
||||
|
||||
|
||||
jsonFileName = sys.argv[1]
|
||||
#jsonFileName = "***REMOVED***Kniebeuge.json"
|
||||
|
||||
clipDict = {}
|
||||
with open(jsonFileName) as jf:
|
||||
@@ -51,7 +54,7 @@ for clip in clipDict:
|
||||
|
||||
stream = ffmpeg.output(stream,
|
||||
clip['target'],
|
||||
vcodec="vp9",
|
||||
vcodec=config['vcodec'],
|
||||
**{
|
||||
"an":None, "y":None,
|
||||
"pass":"1",
|
||||
@@ -87,7 +90,7 @@ for clip in clipDict:
|
||||
|
||||
stream = ffmpeg.output(stream,
|
||||
clip['target'],
|
||||
vcodec="vp9",
|
||||
vcodec=config['vcodec'],
|
||||
**{
|
||||
"an":None, "y":None,
|
||||
"pass":"2",
|
||||
|
||||
Reference in New Issue
Block a user