- AVCSource("F:\track1.dga")
- LanczosResize(1280,720)
- #remove grain function
- function rgf(clip c)
- {
- c = c.fft3dfilter(sigma=1.5, bt=5, bw=32, bh=32, ow=16, oh=16, sharpen=0.5)
- c = c.deblock(16,8,8)
- c = c.LSFmod()
- return c
- }
- __film = last
- __t0 = __film.trim(0, 2388)#grain
- __t0 = __t0.rgf()
- __t1 = __film.trim(2389, 3340)#normal
- __t1 = __t1.undot()
- __t1 = __t1.undot()
- __t2 = __film.trim(3341, 4007)#grain
- __t2 = __t2.rgf()
- __t3 = __film.trim(4008, 4437)#normal
- __t3 = __t3.undot()
- __t3 = __t3.undot()
- __t4 = __film.trim(4438, 4557)#grain
- __t4 = __t4.rgf()
- __t5 = __film.trim(4558, 7831)#normal
- __t5 = __t5.undot()
- __t5 = __t5.undot()
- __t6 = __film.trim(7832, 8328)#grain
- __t6 = __t6.rgf()
- __t7 = __film.trim(8329, 28719)#normal
- __t7 = __t7.undot()
- __t7 = __t7.undot()
- __t8 = __film.trim(28720, 30740)#grain
- __t8 = __t8.rgf()
- __t9 = __film.trim(30741, 31916)#normal
- __t9 = __t9.undot()
- __t9 = __t9.undot()
- __t10 = __film.trim(31917, 34137)#grain
- __t10 = __t10.rgf()
- __t11 = __film.trim(34138, 34721)#normal
- __t11 = __t11.undot()
- __t11 = __t11.undot()
- __t12 = __film.trim(34722, 0)#grain
- __t12 = __t12.rgf()
- __t0 ++ __t1 ++ __t2 ++ __t3 ++ __t4 ++ __t5 ++ __t6 ++ __t7 ++ __t8 ++ __t9 ++ __t10 ++ __t11 ++ __t12
复制代码 播放器能播 X264不能压缩
错误提示
x264 [error]: malloc of size 1053824 failed
x264 [error]: x264_encoder_encode failed
所用到的X264命令行- x264_1688 --output "01.mkv" "01.avs" --profile high --preset veryslow --tune ssim --level 41 --subme 9 --keyint 250 --min-keyint 25 --non-deterministic --crf 20.0 --aq-mode 2 --threads 0 --transfer bt709 --colormatrix bt709 --colorprim bt709
复制代码 求教各位大大 |