首先说明下 我只是为了将一个dvd压成720 最近两天才开始琢磨视频压制的 完全没有压制基础 各种术语什么完全不懂
本人学计算机的 完全靠google 以分析代码的心态 把这个压制脚本给复制粘贴过来了
通过不断改变参数 代码顺序 最终调整了一个预览效果最好的脚本
额 想问下这个脚本中有什么重复的地方 或者是代码顺序有什么问题 另外还有什么能改进的地方
纯小白 交流困难 各位大牛说详细点 非常感谢
另外问下 qtgmc santiage干什么用的
脚本如下:
DirectShowSource("D:\DVD_VIDEO.mpg",fps=25)
ConvertToYV12()
crop(6, 76, -6, -80)
Santiag(2,2)
lanczos4resize(1560,1040).eedi3().lanczos4resize(1280,520)
Levels(0,1.297,255,0,255)
Tweak(0.0,1.2,-12,1.0)
Santiag(2,2)
Toon(strength=0.6)
LSFmod(strength=80, undershoot=120, overshoot=40)
aWarp4(Spline64Resize(5120, 2080, 0.375, 0.375), aSobel().aBlur(), depth=16)
Toon(strength=0.5)
fft3dfilter(sigma=1.5, bt=3, bw=32, bh=32, ow=16, oh=16)
AddBorders(0,100,0,100)
视频片段:
http://dl.vmall.com/c0tekkp7cs
原视频参数:
General
Complete name : D:\DVD_VIDEO.mpg
Format : MPEG-PS
File size : 675 MiB
Duration : 16mn 47s
Overall bit rate mode : Variable
Overall bit rate : 5 618 Kbps
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : No
Format settings, Matrix : Default
Format settings, GOP : M=1, N=15
Duration : 16mn 47s
Bit rate mode : Variable
Bit rate : 5 058 Kbps
Maximum bit rate : 9 000 Kbps
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 5:4
Frame rate : 25.000 fps
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.488
Stream size : 607 MiB (90%)
原始图像:
压制完: