mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-24 18:18:06 +00:00
set default chunking method to ffms2, looks to work more reliably
This commit is contained in:
parent
6f1cb54d8f
commit
3bd2f7e144
2 changed files with 11 additions and 9 deletions
|
@ -103,8 +103,8 @@ With your own parameters:
|
|||
|
||||
-cm --chunk_method Determine way in which chunks made for encoding.
|
||||
By default selected best one avalable.
|
||||
vs_lsmash > vs_ffms2 > hybrid
|
||||
['hybrid'(default), 'select', 'vs_ffms2', 'vs_lsmash'(Recomended To Install)]
|
||||
vs_ffms2 > vs_lsmash > hybrid
|
||||
['hybrid'(default), 'select', 'vs_ffms2'(Recomended To Install), 'vs_lsmash']
|
||||
|
||||
-tr --threshold PySceneDetect threshold for scene detection Default: 35
|
||||
|
||||
|
|
|
@ -50,12 +50,14 @@ def select_best_chunking_method(project: Project):
|
|||
import vapoursynth
|
||||
plugins = vapoursynth.get_core().get_plugins()
|
||||
|
||||
if 'systems.innocent.lsmas' in plugins:
|
||||
log('Set Chunking Method: L-SMASH\n')
|
||||
project.chunk_method = 'vs_lsmash'
|
||||
elif 'com.vapoursynth.ffms2' in plugins:
|
||||
if 'com.vapoursynth.ffms2' in plugins:
|
||||
log('Set Chunking Method: FFMS2\n')
|
||||
project.chunk_method = 'vs_ffms2'
|
||||
|
||||
elif 'systems.innocent.lsmas' in plugins:
|
||||
log('Set Chunking Method: L-SMASH\n')
|
||||
project.chunk_method = 'vs_lsmash'
|
||||
|
||||
except:
|
||||
log('Vapoursynth not installed but vspipe reachable\n' +
|
||||
'Fallback to Hybrid\n')
|
||||
|
|
Loading…
Reference in a new issue