Training 2021-04-17

This commit is contained in:
marko
2021-04-17 18:12:08 +02:00
parent 906b0a8111
commit 9a8088b27d
13 changed files with 279 additions and 4 deletions

View File

@@ -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",