Created
April 22, 2016 21:20
-
-
Save YamashitaRen/408677033480f379cf3ff9b8c58bd13c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import vapoursynth as vs | |
core = vs.get_core() | |
ClipA=core.ffms2.Source(source='[HorribleSubs] Kabaneri of the Iron Fortress - 02v2 [1080p].mkv') | |
ClipA=core.resize.Spline36(ClipA,854,480,vs.YUV440P8) | |
ClipT=core.ffms2.Source(source='[SAA] Koutetsujou no Kabaneri - 02 vostfr (1280x720 x264 AAC).mkv') | |
ClipT=core.resize.Spline36(ClipT,1913,1080,vs.YUV440P8) | |
ClipT=core.std.AddBorders(ClipT,3,4) | |
ClipT=core.resize.Spline36(ClipT,854,480) | |
## Pour couper les frames 4,5 et 6 | |
## http://www.vapoursynth.com/doc/functions/trim.html | |
# ClipT=core.std.Trim(ClipT,first=0,last=3)+core.std.Trim(ClipT,first=7) | |
## Pour rajouter 3 frames entre les frames 3 et 4 | |
## http://www.vapoursynth.com/doc/functions/blankclip.html | |
# ClipT=core.std.Trim(ClipT,first=0,last=3)+core.std.BlankClip(ClipT,length=3)+core.std.Trim(ClipT,first=7) | |
Clip=core.std.StackVertical([ClipA,ClipT]) | |
Clip.set_output() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment