Skip to content

Mr-Z-2697/ideal-chainsaw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ideal-chainsaw

python scripts for my stupid encoding workflow, the repo name is just randomly suggested by github

explanations

vpy2ssim.py

read the code it's short
calculates ssim with ffmpeg. assuming you have one output file per vapoursynth script and the output name is (vpy name)+_fin.hevc and your vs script has a video node object named src which is your reference for ssim calculation but you can modify the code anyway.

find_smallest_ssim.py

drag n drop ffmpeg generated ssim log.
it uses and displays dB form of ssim because it's easier to compare for human eyes ;p

vpy2flac.py

encodes audio from source file strings find in vpy, with concat support.
and you need to manually edit this script to choose stream index.

segsaio.py

(video) segments/segmented (encoding) all in one. moved from gist.
uses mvtools or <insert your scd method here> to detect scene change then encode in fragments with multi-process parallel work, on the fly. (i know how to use pool, i use my stupid implementation just because i thought pool was too complicated)

aomenc not doing good in mt, svtav1 refuses to use scenecut like a(n) ■■■■■, so either should benefit from this script.
they said yes, we say no (Railgun T NCOP SVT-AV1 8bit preset 6 tune 0/VQ crf 38)
2024-02-19_184145

About

python scripts for my stupid encoding workflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages