Compare commits
3 commits
7fd0daf8d3
...
3df8380099
| Author | SHA1 | Date | |
|---|---|---|---|
| 3df8380099 | |||
| 401347e29b | |||
| b49a97209c |
3 changed files with 4 additions and 3 deletions
|
|
@ -216,6 +216,7 @@ def stream(video, target, profile, info, audio_track=0, flags={}):
|
||||||
'-vb', '%dk' % bitrate,
|
'-vb', '%dk' % bitrate,
|
||||||
'-aspect', aspect,
|
'-aspect', aspect,
|
||||||
# '-vf', 'yadif',
|
# '-vf', 'yadif',
|
||||||
|
'-max_muxing_queue_size', '512',
|
||||||
'-vf', 'hqdn3d%s,scale=%s:%s' % (crop, width, height),
|
'-vf', 'hqdn3d%s,scale=%s:%s' % (crop, width, height),
|
||||||
'-g', '%d' % int(fps*5),
|
'-g', '%d' % int(fps*5),
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -1695,7 +1695,7 @@
|
||||||
"annotationsCalendarSize": 128,
|
"annotationsCalendarSize": 128,
|
||||||
"annotationsHighlight": "none",
|
"annotationsHighlight": "none",
|
||||||
"annotationsMapSize": 128,
|
"annotationsMapSize": 128,
|
||||||
"annotationsRange": "position",
|
"annotationsRange": "selection",
|
||||||
"annotationsSize": 256,
|
"annotationsSize": 256,
|
||||||
"annotationsSort": "position",
|
"annotationsSort": "position",
|
||||||
"calendarFind": "",
|
"calendarFind": "",
|
||||||
|
|
@ -1852,7 +1852,7 @@
|
||||||
"videoSize": "small",
|
"videoSize": "small",
|
||||||
"videoSubtitles": true,
|
"videoSubtitles": true,
|
||||||
"videoSubtitlesOffset": 0,
|
"videoSubtitlesOffset": 0,
|
||||||
"videoTimeline": "slitscan",
|
"videoTimeline": "keyframes",
|
||||||
"videoView": "player",
|
"videoView": "player",
|
||||||
"videoVolume": 1
|
"videoVolume": 1
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -210,7 +210,7 @@ def parse_query(data, user):
|
||||||
for key in ('keys', 'group', 'file', 'range', 'position', 'positions', 'sort'):
|
for key in ('keys', 'group', 'file', 'range', 'position', 'positions', 'sort'):
|
||||||
if key in data:
|
if key in data:
|
||||||
query[key] = data[key]
|
query[key] = data[key]
|
||||||
print(query.get('sort'), data.get('sort'))
|
#print(query.get('sort'), data.get('sort'))
|
||||||
query['qs'] = models.Document.objects.find(data, user)
|
query['qs'] = models.Document.objects.find(data, user)
|
||||||
query['item'] = get_item(data.get('query', {}))
|
query['item'] = get_item(data.get('query', {}))
|
||||||
return query
|
return query
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue