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. |
1st July 2016, 15:05 | #1903 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,582
|
Quote:
LOL... It took months from my first post but... Hey... At last...
__________________
@turment on Telegram |
|
1st July 2016, 17:45 | #1905 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
Quick question. What's the difference between having a filter run in MT=1 with a unique_lock in GetFrame vs having a filter run in MT=3?
In both cases, there is a single instance and the work is sequential. With MT=3, it's always the same thread calling instead of each request coming from a different thread. Besides that, what's the difference? |
3rd July 2016, 21:23 | #1907 | Link |
AVS+ Dev
Join Date: Aug 2013
Posts: 359
|
EDIT: There is a newer version available in this post.
I have compiled a new build of Avisynth+ for testing, you can find it here. (To download all files at once, there is a "Download" button at the top right corner of the page) This is r2003, and is built on top of the most up-to-date code for Avs+ as of now. It includes all the changes from Avisynth 2.6.1, all of pinterf's work, all code-related pull-requests sent to me, and some additional fixes from me. So it is pretty cutting edge Let us know your experiences. Some notes to bear in mind: - Important: This build breaks some plugins. If you are a regular user, you might not want this build. It it is for testing anyway. - This was built with a new compiler (MSVS 2015 Update 3). You'll find corresponding runtimes that you must install first under the same link above. These will be included in the next installer. - XP-support might not work, I cannot test it. Let me know and I'll try to correct it. - ConvertStackedToNative/ConvertNativeToStacked have been renamed to ConvertHbdFromStacked/ConvertHbdToStacked (HBD = high bit-depth). These are transitional functions and exist to support old plugins which tried to hack around missing HBD support. We expect that these functions will not be needed in a year from now. - The high bit-depth support is still provisional. Some important and useful functions for dealing with it are still missing. - While testing, please keep an extra eye on the correctness of Resizers/Resamplers, mergers, and SoundTouch. Let us know if you see any problems. Cheers.
__________________
AviSynth+ Last edited by ultim; 5th July 2016 at 22:50. |
3rd July 2016, 22:00 | #1908 | Link | |
Registered User
Join Date: Mar 2012
Location: Saint-Petersburg
Posts: 239
|
Quote:
the filter working in mt=3 knows that it processes frames one-by-one so it's free to use some info from the previous frame(s) to process current one a simple motion blur filter can be a good example
__________________
SVPflow motion interpolation Last edited by chainik_svp; 3rd July 2016 at 22:04. |
|
3rd July 2016, 22:54 | #1910 | Link | |
AVS+ Dev
Join Date: Aug 2013
Posts: 359
|
Quote:
Filters should request each frame they need every time they receive a request and must not try to "remember" frames on their own. This way filters do not depend on a specific order of requests. The caches in Avisynth will make sure that processing is still efficient by avoiding the re-calculation of frames that have been already requested in the recent past.
__________________
AviSynth+ |
|
3rd July 2016, 23:11 | #1912 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Also, for anyone wanting to experiment with native 16-bit output, here are FFmpeg and mpv builds that support opening 16-bit scripts:
http://www.mediafire.com/download/k7...0789_avshbd.7z http://www.mediafire.com/download/rs...3454_avshbd.7z Quote:
Last edited by qyot27; 3rd July 2016 at 23:17. |
|
3rd July 2016, 23:16 | #1913 | Link | ||
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Quote:
Code:
ColorBarsHD() Dither_convert_8_to_16() Quote:
Edit: also the resizers are messed up, if I comment out the resizers then the output is correct, otherwise I get this. Code:
ColorBarsHD(1280, 720) Dither_convert_8_to_16() ConvertHbdFromStacked() Spline64Resize(400,300) Crop(9,7,-9,-7) FlipHorizontal().FlipVertical() TurnLeft().TurnRight().Turn180() PointResize(3200,2400) GrayScale() BilinearResize(1600,1200) ConvertHbdToStacked() Last edited by Reel.Deel; 3rd July 2016 at 23:32. |
||
3rd July 2016, 23:28 | #1914 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
High Dynamic Range != High Bit Depth.
__________________
Groucho's Avisynth Stuff |
3rd July 2016, 23:30 | #1915 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Quote:
Version() by itself works. Version().ConvertToYV12() throws an Access Violation. |
|
3rd July 2016, 23:32 | #1916 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
The build could still be incompatible with WinXP though...
__________________
Groucho's Avisynth Stuff Last edited by Groucho2004; 3rd July 2016 at 23:52. Reason: reduced ambiguity |
|
3rd July 2016, 23:43 | #1917 | Link |
AVS+ Dev
Join Date: Aug 2013
Posts: 359
|
Well said. High bit Depth is the ability to use more than 8-bits to represent finer color gradations, and (probably much more importantly) to present more correct processing results due to less errors in in-between operations.
HBD is basically a technical prerequisite of HDR. In addition to HBD, HDR allows to process color and brightness values outside of your limited display range. This usually means 1) using HBD to represent values outside of the valid displayable range, and 2) at the end some kind of tone mapping algorithm to bring it back down to valid pixel values. With HBD Avisynth+ can now do the first of part of HDR, for the second some kind of plugin to perform the tone mapping would be required. About the naming: "Native" and "Stacked" are even less standardized than "HBD". AFAIK, "native" and "stacked" were invented in this community to give method names to an Avisynth-specific hack. XP and crashes: Looking into it. I could run an MCTemporalDenoise script and some resizers before I uploaded.
__________________
AviSynth+ Last edited by ultim; 3rd July 2016 at 23:53. Reason: typos |
3rd July 2016, 23:46 | #1918 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
__________________
Groucho's Avisynth Stuff |
3rd July 2016, 23:54 | #1919 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Quote:
I mean, it's not like it's difficult to just switch from using output_mode=2 to using output_mode=1, but having the option would be nice. |
|
4th July 2016, 00:07 | #1920 | Link |
AVS+ Dev
Join Date: Aug 2013
Posts: 359
|
I cannot reproduce any of the crashes. Tried 32-bits in VDub, AvsPmod, and AVSmeter, none of them crashed with any of the three scripts posted earlier. Did you guys install the new runtime?
I can however reproduce the corrupted output from the resizer using Reel.Deel's script. Also, I am adding the /Zc switch for XP.
__________________
AviSynth+ |
|
|