Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
3rd September 2017, 01:50 | #2661 | Link | |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Quote:
The avs one is outdated, the curve file photoshop uses now is .acv instead of .amp. |
|
3rd September 2017, 02:08 | #2663 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,346
|
Quote:
https://www.photography-forums.com/t...cv-file.69289/ |
|
3rd September 2017, 08:33 | #2664 | Link | |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Quote:
Got an error "vapoursynth.Error: Invalid avisynth colorspace in one of the input clips" when trying to load it into vs Code:
cur_path = r'blah.amp' clip = core.ffms2.Source(blah) clip = core.resize.Bicubic(clip, format=vs.RGB24) cc = core.avs.GiCoCu(clip, cur_path) Code:
cur_path ="blah.amp" GiCoCu(cur_path, alpha=False, photoshop=False) |
|
3rd September 2017, 15:14 | #2665 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,346
|
Maybe because GiGoCu is avisynth 2.5 plugin ? Or maybe you're using 64bit vpy ?
Probably the former because I can't even get it to work in in 32bit avisynth . Unless there is another version somewhere ? What about gradcurve, the vdub port for vapoursynth ? I didn't test it yet, but in the example, he's using an .amp file https://github.com/xekon/GradCurve EDIT: ^ it worked ok for 64bit version with both amp and acv. No error messages pop up for path errors; at first I was wondering why it wasn't working. Last edited by poisondeathray; 3rd September 2017 at 15:49. |
3rd September 2017, 16:21 | #2666 | Link | |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Quote:
The filter work both on amp and acv, no more work around or conversion. Code:
cur_path = r'test.amp' clip = core.ffms2.Source(abc.mp4) clip = core.resize.Bicubic(clip, matrix_in_s="709", format=vs.RGB24) clip = core.grad.Curve(clip, cur_path, ftype=1, pmode=1) # ftype 1 for amp, 2 for acv Code:
cur_path = r'test.amp' clip = core.grad.Curve(clip, cur_path, ftype=2, pmode=1) cur_path = r'test.acv' clip = core.grad.Curve(clip, cur_path, ftype=6, pmode=1) |
|
3rd September 2017, 18:04 | #2667 | Link |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
um, actually the filter was listed on the vapoursynth plugin page months ago...
But its description is meaningless, it's a curve reader rather than anything else that was said on the official thread. |
4th September 2017, 06:53 | #2668 | Link |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Hi I'm getting this green vertical bar on the right of my frame after using resize on the video, and there are random crashes for no reason.
Code:
clip = core.resize.Bicubic(clip, width=640, height=480) http://www.mediafire.com/file/p9jgodk3mwf9loo/snow.avi |
4th September 2017, 14:22 | #2670 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,346
|
It's 720x416 . xvid.
Crashes with all source filters, ffms2, l-smash, avisource in vapoursynth R39 x64. Even crashes feeding avs using avisource . (avs works independently, avs+resize works too, and feeding the 640x480 bicubic resized from avisynth works) |
4th September 2017, 15:23 | #2672 | Link |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Ok after some further testings I found the point where the problem occurs.
It's when the width of the input video is smaller than 720 pixel. All input clip with width bigger than 720 will work, couldn't find the exact crash pattern. Some width that is smaller than 720 may work, some may crash. This will work: Code:
clip = core.std.BlankClip(width=1920, height=1080, length=10000) clip = core.resize.Bicubic(clip, width=748, height=400) clip = core.resize.Bicubic(clip, width=740, height=480) Code:
clip = core.std.BlankClip(width=1920, height=1080, length=10000) clip = core.resize.Bicubic(clip, width=710, height=400) clip = core.resize.Bicubic(clip, width=740, height=480) Last edited by lansing; 4th September 2017 at 15:38. Reason: typo |
4th September 2017, 15:32 | #2673 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,346
|
Quote:
This works for me, I think because it's in RGB. If you use format=vs.YUV420P8 for BlankClip, I get green bar |
|
4th September 2017, 18:05 | #2674 | Link |
Registered User
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 321
|
Code:
2.6.1 depth: fix SSE2 conversions with mod4 and mod8 widths (introduced in 2.6) Code:
import vapoursynth as vs core = vs.get_core() clip = core.ffms2.Source('snow.avi') clip = core.resize.Bicubic(clip, width=640, height=480) clip.set_output() |
4th September 2017, 18:13 | #2675 | Link |
Registered User
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 321
|
This script produces a segfault too. For me this is a little random, and lower lengths are more prone to produce a segfault.
Code:
import vapoursynth as vs core = vs.get_core() clip = core.std.BlankClip(width=720, height=416, length=62) clip = core.resize.Bicubic(clip, width=640, height=480) clip.set_output() |
4th September 2017, 18:20 | #2676 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
4th September 2017, 21:37 | #2678 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
4th September 2017, 22:20 | #2680 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Does ot work properly with R38?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
Tags |
speed, vaporware, vapoursynth |
Thread Tools | Search this Thread |
Display Modes | |
|
|