hỏi về Avisynth

minhtri595

The Warrior of Light
Lão Làng GVN
Tham gia ngày
2/3/06
Bài viết
2,472
Reaction score
42
mình có đoạn avisynth như sau
Mã:
DGDecode_mpeg2source("G:\tam\D1.d2v", cpu=4, info=3)
ColorMatrix(hints=true, interlaced=true, threads=0)
tfm(order=-1).tdecimate(mode=1,hybrid=1)
crop( 6, 0, -2, 0)

#resize
#noise
AnimeIVTC(mode=5,aa=3,check=1)
lúc kéo thả vào MPC coi thử thì nó báo là

Script error : there is no function named "pointresize
, line 125
, line 132
(G:\tam\D1.avs, line 8)

nếu sửa thành như sau thì nó chạy
Mã:
DGDecode_mpeg2source("G:\tam\D1.d2v", cpu=4, info=3)
ColorMatrix(hints=true, interlaced=true, threads=0)
tfm(order=-1).tdecimate(mode=1,hybrid=1)
crop( 6, 0, -2, 0)

PointResize(656,480) # Point (Sharp)
#noise
nhưng mà thêm
AnimeIVTC(mode=5,aa=3,check=1)
vào thì lại báo lỗi trên
 
sao ko xài spline36resize ?

Mã:
DGDecode_mpeg2source("G:\tam\D1.d2v", cpu=4, info=3)
ColorMatrix(hints=true, interlaced=true, threads=0)
tfm(order=-1).tdecimate(mode=1,hybrid=1)
Spline36Resize(656,480,6,0,-2,0)
one more thing: đừng dùng colormatrix nếu ko cần thiết
 
mình ko có xài resize, tại vì nó báo thiếu nên mình thử code có pointresize coi có thật thiếu hay ko.
mình cần encode từ dvd nguyên bản ra h264, test thử cái đoạn
Mã:
DGDecode_mpeg2source("G:\tam\D1.d2v", cpu=4, info=3)
ColorMatrix(hints=true, interlaced=true, threads=0)
tfm(order=-1).tdecimate(mode=1,hybrid=1)
crop( 6, 0, -2, 0)

#resize
#noise
thì nét hơn video gốc rồi, chỉ có điều là răng cưa quá (bản gốc cũng răng cưa rồi) nên lúc nét lên thì răng cưa cũng rõ hơn nên xài thêm AnimeIVTC để khử răng cưa nhưng lại bị báo lỗi trên
/cái requirement là chép đủ rồi đó chứ
 
Có 1 khả năng nữa là xung đột plugin, cách giải quyết là cài lại avisynch và quẳng đống plugin ra thư mục khác (không phải thư mục plugin) rồi dùng lệnh import để dùng plugin.
 
bên VNS họ chỉ thế này
Mã:
DGDecode_mpeg2source("G:\tam\D1.d2v", cpu=4, info=3)
ColorMatrix(hints=true, interlaced=true, threads=0)
tfm(order=-1).tdecimate(mode=1,hybrid=1)
crop( 6, 0, -2, 0)

#resize
#noise
[B]maa()[/B]
các hàm khử răng cưa có thể gọi riêng, ko cần qua animeitvc():-w:-w
 
Back
Top