finetune gallery ffmpeg settings
This commit is contained in:
parent
62932bd0cd
commit
dbe6fdbd84
2 changed files with 5 additions and 5 deletions
|
@ -77,12 +77,12 @@ extractor:
|
|||
video:
|
||||
previewSize: 1080 # used as preview size and preview filename
|
||||
ext: mp4 # used as target video container and preview filename
|
||||
scale: -2:'min(720,ih)' # overwrites previewSize. E.g. -2:'min(ih,max(720,min(1080,ih*.5)))' for 720p <= height*0.5 <= 1080p or height, if height < 720
|
||||
#scale: -2:'min(720,ih)' # overwrites previewSize. E.g. -2:'min(ih,max(720,min(1080,ih*.5)))' for 720p <= height*0.5 <= 1080p or height, if height < 720
|
||||
frameRate: 30
|
||||
maxVideoBitRate: 4000 # in KB
|
||||
maxVideoBitRate: 5000 # in KB
|
||||
videoEncoder: libx264
|
||||
preset: slow
|
||||
profile: baseline
|
||||
preset: veryfast
|
||||
profile: high
|
||||
level: '3.0'
|
||||
#addFfmpegArgs: [...] # Additional ffmpeg args
|
||||
#customFfmpegArgs: [...] # custom ffmpeg args for video conversion, replaces all other settings such previewSize, videoEncoder, addFfmpegArgs, ...
|
||||
|
|
|
@ -122,7 +122,7 @@ manager.register_task(name="read_database", job=analyze_db).period(35).start()
|
|||
|
||||
@app.route('/', methods=['GET'])
|
||||
def root_query():
|
||||
playhead = ines
|
||||
playhead = iway
|
||||
return jsonify(playhead)
|
||||
|
||||
def create_app():
|
||||
|
|
Loading…
Reference in a new issue