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. |
16th March 2015, 10:56 | #981 | Link |
Registered User
Join Date: Mar 2012
Location: Saint-Petersburg
Posts: 239
|
MT is not working for me in the latest build o_O
The very same script Code:
global threads=9 SetFilterMTMode("",2) SetFilterMTMode("ffdShow_source",3) ffdShow_source() ... Prefetch(threads)
__________________
SVPflow motion interpolation |
16th March 2015, 11:15 | #982 | Link | |||
AVS+ Dev
Join Date: Aug 2013
Posts: 359
|
Quote:
Nothing really in specific. Just use your regular scripts as you would normally do, and let me know if you see any problems. Plus-points for anybody who also tries out their script(s) using MT, but for that be sure that the correct filter modes have been specified. I cannot stress this enough: you can only expect MT-mode to behave sanely if you have the correct MT mode setting for all filters in your script. Here is a start for MT mode settings: https://pad.riseup.net/p/avs_plus_mt_modes . Never-fading fame for all who make fixes or additions to that list. Quote:
Quote:
__________________
AviSynth+ Last edited by ultim; 16th March 2015 at 11:18. |
|||
16th March 2015, 11:25 | #983 | Link | |
AVS+ Dev
Join Date: Aug 2013
Posts: 359
|
Quote:
Replace Code:
SetFilterMTMode("",2) Code:
SetFilterMTMode("DEFAULT_MT_MODE",2)
__________________
AviSynth+ |
|
16th March 2015, 11:29 | #985 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
|
|
16th March 2015, 11:48 | #987 | Link |
Registered User
Join Date: Mar 2012
Location: Saint-Petersburg
Posts: 239
|
SetFilterMTMode("DEFAULT_MT_MODE",2)
Yeah, thanks. I see some very strange behavior when playing video with SVP. Everything looks great, except when I set number of threads to 6 or 11 video playback becomes choppy. Every other number (tested values from 2 to 15) gives smooth playback. I'm on 2 cores / 4 threads SandyBridge now. Will test it with my FX-8320 later... === it looks like source filter (which is ffdshow_source()) became inaccurate with those values i.e. the next filter in the chain (SVSuper()) sometimes receives the same frame when it asks for N and N-1 so motions vectors are zero and playback is choppy most likely this's some issue with the cache
__________________
SVPflow motion interpolation Last edited by chainik_svp; 16th March 2015 at 12:02. |
16th March 2015, 12:16 | #989 | Link | |
AVS+ Dev
Join Date: Aug 2013
Posts: 359
|
Quote:
Edit: Consideirng that in your case avisynth is not running as a standalone directshow filter but as part of ffdshow, it might actually be frame-accurate depending on which source filters ffdshow chooses to use. I don't know enough about ffdshow internals to judge that tbh.
__________________
AviSynth+ Last edited by ultim; 16th March 2015 at 13:35. |
|
16th March 2015, 12:21 | #990 | Link |
Registered User
Join Date: Mar 2012
Location: Saint-Petersburg
Posts: 239
|
I never saw this before with Avisynth
And again, in AVS+ the issue is only with 6 or 11 threads. Some kind of magic numbers o_O
__________________
SVPflow motion interpolation |
16th March 2015, 13:04 | #992 | Link | |
Registered User
Join Date: Apr 2008
Posts: 1,106
|
Quote:
http://www.svp-team.com/forum/viewtopic.php?id=1011&p=3 I definitely feel there's some work needed in the buffer ahead areas to stop choppyness and also audio going out of sync. I'm not sure whats the best way to illustrate this so that a solution could be found. Last edited by mark0077; 16th March 2015 at 13:37. |
|
16th March 2015, 13:09 | #993 | Link | |
AVS+ Dev
Join Date: Aug 2013
Posts: 359
|
Quote:
__________________
AviSynth+ |
|
16th March 2015, 13:45 | #994 | Link |
Registered User
Join Date: Apr 2008
Posts: 1,106
|
I am having problems with audio desync when switching to avisynth+ (r1778) with SVP. I assume its down to the issue with ffdshow buffer ahead weirdness? Can anyone suggest a good number of avisynth+ threads, SVP cores, and ffdshow buffer aheads to try? I'm using core i7 920.
I was previously using SETs lates Avisynth MT with its threads, SVP cores and ffdshow buffer ahead set to a value of 15 where all worked fine. So far I have tried lowering the Avisynth+ threads down to 8 / 6 / 4 but audio seems really badly out of sync AND/OR video being choppy in all combinations I have tried. |
16th March 2015, 14:06 | #995 | Link |
Registered User
Join Date: Mar 2012
Location: Saint-Petersburg
Posts: 239
|
utim
This is not about timing, frames are rendering uniformly. I can visualize motion vectors, and it's clear that they're all zeroes at some frames. Zero-sized MVs mean source frames used for motion estimation was identical. But I still can't reproduce this effect via avs2avi or figure out any simple test scenario for ffdshow o_O May be you want to install SVP?
__________________
SVPflow motion interpolation |
16th March 2015, 15:28 | #998 | Link |
Registered User
Join Date: Mar 2012
Location: Saint-Petersburg
Posts: 239
|
I've checked frames returned by ffdshow_source() by inserting some debug code into Cache::GetFrame that computes 'checksum' of the Y plane.
Normal behavior (num of threads !=6): lookup always returns LRU_LOOKUP_NOT_FOUND, and for each 'n' returned frame is a new one (with contents different from frame 'n-1'). Code:
81: .... 8B35E6F 82: .... 8A80C08 83: .... 899A3CA 84: .... 89D3DED 85: .... 8B1A39A Code:
81: .... 8B35E6F 82: .... 8B35E6F 83: .... 899A3CA 84: .... 899A3CA 85: .... 8B1A39A 86: .... 8B1A39A
__________________
SVPflow motion interpolation |
16th March 2015, 16:13 | #999 | Link | |
AVS+ Dev
Join Date: Aug 2013
Posts: 359
|
Quote:
__________________
AviSynth+ |
|
16th March 2015, 17:43 | #1000 | Link |
Registered User
Join Date: Mar 2012
Location: Saint-Petersburg
Posts: 239
|
The very same magic numbers (6 and 11) on 4 cores / 8 threads AMD FX-8320
__________________
SVPflow motion interpolation |
Thread Tools | Search this Thread |
Display Modes | |
|
|