View Full Version : Avisynth - video did not change at all
quochuyonnet
28th October 2021, 10:05
Anyone help?
My video did not change at all after use AwarpSharp or even Sharpen etc... :confused:
https://i.imgur.com/p7UumFA.jpeg
https://i.imgur.com/Dx6Pp92.jpeg
video = DirectShowSource("D:\Toriko\Encoder\3s.mp4")
aWarpSharp2(video,thresh=128, blur=2, type=0, depth=32, chroma=4)
Shapern(0.5,0.5)
return (video)
Encode video by
ffmpeg -i awarp.avs vid.mp4
everything run smoothly, no error.
StainlessS
28th October 2021, 10:34
video = DirectShowSource("D:\Toriko\Encoder\3s.mp4") # assign to video
aWarpSharp2(video,thresh=128, blur=2, type=0, depth=32, chroma=4) # implicit assign result to Last
Shapern(0.5,0.5) # call using implicit last, and assign result to Last
return (video) # Return original video from DirectShowSource
Skip return (video) [leave it out] or Return Last.
All you have to do is step through your code, and the problem is obvious. [1st rule, DONT PANIC].
EDIT:
Are you sure that this line works OK (without error) ?
Shapern(0.5,0.5) # maybe Sharpen(0.5,0.5)
EDIT: I suspect that you are trying to script without any kind of GUI, suggest either VDub 2 or AvsPMod. [is hard (guess) work without GUI].
tebasuna51
28th October 2021, 10:51
@quochuyonnet, please read the forum rules. (http://forum.doom9.org/forum-rules.htm)
...
7) Keep the size of personal images down.
8) No cross posting. Post your message once, to the appropriate forum and nowhere else or it will be locked or deleted without warning.
9) Use a title that describes the content of your post. Don't use all caps or special characters to draw attention....
You put the same question in 3 forum threads.
quochuyonnet
28th October 2021, 13:14
video = DirectShowSource("D:\Toriko\Encoder\3s.mp4") # assign to video
aWarpSharp2(video,thresh=128, blur=2, type=0, depth=32, chroma=4) # implicit assign result to Last
Shapern(0.5,0.5) # call using implicit last, and assign result to Last
return (video) # Return original video from DirectShowSource
Skip return (video) [leave it out] or Return Last.
All you have to do is step through your code, and the problem is obvious. [1st rule, DONT PANIC].
EDIT:
Are you sure that this line works OK (without error) ?
Shapern(0.5,0.5) # maybe Sharpen(0.5,0.5)
EDIT: I suspect that you are trying to script without any kind of GUI, suggest either VDub 2 or AvsPMod. [is hard (guess) work without GUI].
Thank you it's worked like charm after remove return (video). You've made my day! i was reinstall window and everything just because of it.
quochuyonnet
28th October 2021, 13:15
@tebasuna51 i will remove question from another post and edit pics size.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.