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. |
9th May 2016, 16:54 | #1521 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
I'd say it's one of (or the combinations of) these: Code:
SuperResXBR() ResizeX() |
|
9th May 2016, 19:14 | #1524 | Link |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
@MysteryX
The latest SVPflow (v4.0.0.128) states that all filters are compatible with MT mode 1 so you might want to add this: Code:
SetFilterMTMode("SVSuper", 1) SetFilterMTMode("SVAnalyse", 1) SetFilterMTMode("SVSmoothFps", 1) Code:
SetFilterMTMode("ConvertFromShader", 3) SetFilterMTMode("ConvertToShader", 3) SetFilterMTMode("ExecuteShader", 3) SetFilterMTMode("Shader", 3) |
9th May 2016, 19:27 | #1525 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
Managed to invoke the problem as: (clown.png is 192x256) Code:
ImageSource("clown.png").ConvertToRGB24().Trim(0,49) Spline16resize(Width(),Height(),-0.5,-0.5) Question: which is the correct one? |
|
9th May 2016, 20:02 | #1526 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
The last thing I saw in debugView: Code:
[17364] Cache::GetFrame LRU_LOOKUP_NOT_FOUND: [ConvertToShader] n= 0 child=0000000003A2F310 frame=000000000A1BB2A0 framebefore=000000000A1BB2A0 videoCacheSize=1 SeekTimeWithGetFrame:0.004151 But previously there were successful similar actions, such as: Code:
[17364] Cache::GetFrame LRU_LOOKUP_NO_CACHE: [ConvertToShader] n= 0 child=0000000003A2F3E0 frame=000000000A145890 vfb=0000000005128F30 videoCacheSize=0 SeekTime :0.818723 [17364] Cache::GetFrame LRU_LOOKUP_NO_CACHE: [ConvertToShader] n= 0 child=0000000003A2F3E0 frame=000000000A145610 vfb=0000000005128F90 videoCacheSize=0 SeekTime :0.821725 [17364] Cache::GetFrame LRU_LOOKUP_FOUND_AND_READY: [ConvertToYV12] n= 0 child=00000000036B8B10 frame=000000000AF2A810 vfb=0000000005121F10 videoCacheSize=1 SeekTime :0.000005 [17364] Cache::GetFrame LRU_LOOKUP_FOUND_AND_READY: [ConvertToYV12] n= 0 child=00000000036B8B10 frame=000000000AF2A810 vfb=0000000005121F10 videoCacheSize=1 SeekTime :0.000003 etc... Then I disabled MT (no Prefetch line). It worked. And re-enabled Prefetch(1) and now I got only: (mostly) ExecuteShader: CopyInputClip failed (rarely) ExecuteShader: ProcessFrame failed |
|
9th May 2016, 20:13 | #1527 | Link | ||
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
Yes, I'm using AviSynthShader which I wrote myself. The bottleneck is memory transfers from the GPU back to the CPU.
Quote:
Quote:
That is strange. I wrote those myself. I haven't really tested the x64 version of AviSynthShader but some people tried it and said it works. Does it work with a previous build of AVS+?
__________________
FrameRateConverter | AvisynthShader | AvsFilterNet | Natural Grounding Player with Yin Media Encoder, 432hz Player, Powerliminals Player and Audio Video Muxer Last edited by MysteryX; 9th May 2016 at 20:17. |
||
9th May 2016, 20:19 | #1528 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
If both of them are mode 2, it stucks. |
|
10th May 2016, 07:15 | #1531 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
Every since I switched from AviSynth 2.6 to AviSynth+, with SVP, sometimes there is green bars artifacts. It happens rarely and only for a frame or two and then it's fine so it's hard to reproduce, but it would be something to keep an eye out for.
|
10th May 2016, 13:05 | #1532 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
RGB24 and RGB32 resizers were shifting the image horizontally to the opposite direction. The phenomenon became more pronounced when the crop values were much larger than MysteryX sample with 0.5. Code:
b=ImageSource("clown.png").Trim(0,49).ConvertToRGB24() a=b.Spline16resize(b.Width(),b.Height(),20,20) b=b.Spline16resize(b.Width(),b.Height(),-20,-20) StackHorizontal(a,b) MysterX, thank you for the report. Release: later. |
|
10th May 2016, 14:04 | #1533 | Link |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
@Everyone using MT
Small update to the MT modes list. Added a handful of source filters, SVPflow, and a few corrections. Hopefully more to come. Someone recently added LanczosResize to the list. I thought all the internal filters already register themselves? @pinterf Thanks for the fix! |
10th May 2016, 14:16 | #1534 | Link |
Registered User
Join Date: Jan 2015
Posts: 47
|
Idk if this has already been asked and/or answered but is it possible to use mvtools in mt? Uhh more like whenever I use mdegrain (and the vectors that come allong) cpu utilization is rather low, some scenarios even only 20%. I've tried every mt mode with mvtools but it either completely freezes the encode or it doesn't change anything performance wise. Prefetch amounts don't change anything as well, it just takes longer to start with large amounts.
Verstuurd vanaf mijn SM-A500FU met Tapatalk |
10th May 2016, 14:47 | #1535 | Link | |
typo lover
Join Date: May 2009
Posts: 595
|
Quote:
All internal resizers except PointResize are using common code. The differences are just coefficients(calculated at the time of initialization of a script) and number of refference samples. If LanczosResize is not MT_NICE_FILTER, then others are also same.
__________________
my repositories |
|
10th May 2016, 18:44 | #1537 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Quote:
Quick question: there's a undocumented parameter in SetFilterMTMode (bool force). Do you have any idea what it does? Is the default false? I never got a chance to ask ultim when he was still around. |
|
10th May 2016, 20:00 | #1538 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Quote:
If I add force=true to the mt modes list would that prevent users from overwriting it in their scripts or does it only work for internal filters/ external filters that register themselves? |
|
10th May 2016, 20:38 | #1539 | Link | |
typo lover
Join Date: May 2009
Posts: 595
|
Quote:
If user set 'SetFilterMTMode("somefilter", mode, force=true)', he can overwrite the MTMode.
__________________
my repositories |
|
11th May 2016, 04:35 | #1540 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
Adding this causes the x86 script to freeze on start.
__________________
FrameRateConverter | AvisynthShader | AvsFilterNet | Natural Grounding Player with Yin Media Encoder, 432hz Player, Powerliminals Player and Audio Video Muxer Last edited by MysteryX; 11th May 2016 at 04:38. |
|
|