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. |
30th November 2013, 18:08 | #1181 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Quote:
Anyway, I'll test makediff and see what happens...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
30th November 2013, 18:21 | #1182 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Quote:
Code:
import vapoursynth as vs core = vs.get_core() clip = core.avisource.AVISource('a downloaded file.avi') blur_clip = core.generic.Blur(clip, planes=0) diff_clip = core.std.MakeDiff(clip, blur_clip, planes=0) sharpened_clip = core.std.MergeDiff(clip, diff_clip, planes=0) sharpened_clip.set_output()
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
30th November 2013, 18:35 | #1183 | Link |
Beyond Kawaii
Join Date: Feb 2008
Location: Russia
Posts: 724
|
Tried your script, only with ffms2. The same result:
-perfectly fine with vspipe x32 -perfectly fine with VirtualDub x64 -crash with vspipe x64 Went as far as completely reinstalling all Python 3.3 distributions and VapourSynth. Still the same.
__________________
...desu! Last edited by Mystery Keeper; 30th November 2013 at 19:00. |
1st December 2013, 11:07 | #1184 | Link |
Registered User
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 321
|
I'm able to reproduce this with some videos only when using ffms2 as source filter (linux.x86_64).
Investigating a little it looks like generic.Blur corrupts the frames (not sure why, how), and once this happens, if you pass this frames to std.MakeDiff it crashes vspipe (it also crashes vsviewer). Code:
import vapoursynth as vs core = vs.get_core() clip = core.ffms2.Source('[some] random - 07 [file].mkv') blur_clip = core.generic.Blur(clip, planes=0) #diff_clip = core.std.MakeDiff(clip, blur_clip, planes=0) diff_clip = blur_clip sharpened_clip = core.std.MergeDiff(clip, diff_clip, planes=0) sharpened_clip.set_output() But I'm not sure if its ffms2's fault, genericfilters's fault, or my hardware. :/ Last edited by Are_; 1st December 2013 at 11:10. |
1st December 2013, 12:21 | #1185 | Link |
Beyond Kawaii
Join Date: Feb 2008
Location: Russia
Posts: 724
|
For me it doesn't crash my 64-bit build of vsviewer. Though I modified it to compile with Qt5. Shouldn't make any difference. Also, no corrupted frames.
64-bit vspipe crashes regardless of the source, even if I replace Blur with BlankClip. Both MakeDiff and MergeDiff lead to crash. And the crash always happens right in the beginning.
__________________
...desu! Last edited by Mystery Keeper; 1st December 2013 at 12:36. |
4th December 2013, 22:30 | #1186 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Here's R22 RC1.
Changes from test 3:
Still looking at the crashiness created by generic filters and maybe makediff. Will probably be a few more days until I have time to investigate it thoroughly.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
5th December 2013, 12:48 | #1187 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Here's an x64 compile of genericfilters.
It fixes an access violation in the sse2 optimized 9/10 bit 3x3 convolution. If there still are any crahes at all remaining in VapourSynth it'd be helpful if you report them again.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
5th December 2013, 17:37 | #1188 | Link |
Beyond Kawaii
Join Date: Feb 2008
Location: Russia
Posts: 724
|
The same. 64-bit vspipe crashes on MakeDiff/MergeDiff. Now with error message.
Edit: And I remind, the crash does NOT happen in 64-bit VirtualDub.
__________________
...desu! Last edited by Mystery Keeper; 5th December 2013 at 17:55. |
5th December 2013, 22:32 | #1189 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Quote:
Any kind of debugging info would help or would it be possible for me to remotely control your computer for a few minutes?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
6th December 2013, 00:18 | #1191 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Find me on irc. I'm in #darkhold on Rizon and some other avisynth channels. This won't be solved without faster communication.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
7th December 2013, 12:56 | #1193 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Here's R22 RC2.
After a long debugging session with mystery keeper a very rare asm bug on x64 windows has been fixed. The installer will now refuse to install when the python installations are a mess. Generic filters has been added again after finding the crash issue in the code. This will most likely become the final released version.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
9th December 2013, 18:54 | #1194 | Link |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
I tried to run a vpy script in vsfs mode, the script has loaded mvtools2 from avs, and when I try to mount it, it returned an error.
Code:
Python exception: No attribute with the name avs exists. Did you mistype a plugin namespace? Traceback (most recent call last): File "vapoursynth.pyx", line 1148, in vapoursynth.vpy_evaluateScript (src\cython\vapoursynth.c:17833) File "F:\source\1993.vpy", line 12, in <module> core.avs.LoadPlugin(r"C:\Program Files (x86)\AviSynth 2.5\plugins\mvtools2.dll") File "vapoursynth.pyx", line 789, in vapoursynth.Core.__getattr__ (src\cython\vapoursynth.c:12729) vapoursynth.Error: No attribute with the name avs exists. Did you mistype a plugin namespace? |
9th December 2013, 19:02 | #1195 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Quote:
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
10th December 2013, 14:53 | #1197 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
R22 released. Download links on the website as usual and the changelog is in the first post.
Don't forget to read the notes in the release blog post about compatibility. Lut2, Merge and MaskedMerge got the arguments changed. Have fun with the 64 bits in windows.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
10th December 2013, 15:29 | #1198 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
The following script does crash, not sure if l-smash's or vs' fault:
Code:
import vapoursynth as vs core = vs.get_core() ret = core.lsmas.LWLibavSource(source='park_joy_1080p50.y4m') ret.set_output() |
10th December 2013, 15:34 | #1199 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Try it with other files and see if it works. Preferably one that's worked before.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
Tags |
speed, vaporware, vapoursynth |
|
|