Re: CLIP + cropping
Posted: Fri Dec 07, 2018 6:01 pm
Seems to be working fine
Please note that the mod 2 crop worked on this sample
mediainfo report and script
Please note that the mod 2 crop worked on this sample
mediainfo report and script
Code: Select all
General
Unique ID : 43861704572585296599800650762977012602 (0x20FF74FF94230A62181AE663D95FEB7A)
Complete name : W:\TEMP\FANBOYS.mkv
Format : Matroska
Format version : Version 4
File size : 5.36 GiB
Duration : 1 h 29 min
Overall bit rate : 8 557 kb/s
Encoded date : UTC 2018-12-07 23:46:33
Writing application : mkvmerge v28.2.0 ('The Awakening') 64-bit
Writing library : libebml v1.3.6 + libmatroska v1.4.9
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L4.1@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 h 29 min
Bit rate : 7 915 kb/s
Width : [color=#FF0000]1 918[/color] pixels
Height : [color=#FF0000]1 078[/color] pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.160
Stream size : 4.96 GiB (92%)
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Code: Select all
import vapoursynth as vs
core = vs.get_core()
core.std.LoadPlugin("C:/Users/LUIS/Desktop/CropRedesign/DGDecodeNV.dll")
clip = core.dgdecodenv.DGSource(r'I:\FANBOYS.dgi', ct=2, cl=2, fieldop=0)
clip.set_output()