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 June 2016, 14:24 | #1681 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
My wild guess would be that only certain Win32 APIs/functions require these switches in order for the code to run on XP. For others, the object code created by the compiler would be the same with or without the switches.
|
1st June 2016, 14:56 | #1682 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,664
|
Quote:
--- @qyot27 I know a while back you were working on the documentation. I'm not sure if it was finished or not but from what I've seen it looks really good. How would I go about helping out? |
|
1st June 2016, 15:19 | #1683 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,419
|
Quote:
The rc2integrate branch also adds a note into README.md about how to build the Sphinx documentation. Actually editing the docs mostly only requires basic text editing, since the RST syntax is meant to be human-readable. Updating the docs against classic AviSynth's changes is pretty trivial, just do an dump of the page with lynx before and after the commit that changes a particular file(s) (so you don't have to deal with all the HTML), compare the changes in something like Meld, and adjust the corresponding *.rst files in AviSynth+'s docs to match the text content, adjusting for RST or Sphinx-specific syntax. EDIT: After looking at the commits since 2.6 Final, there were no docs changes, so the docs in rc2integrate are still as up-to-date as classic's docs. Also, generally, some of those 2.6.1 changes in classic's CVS make me want to scream in agony. Last edited by qyot27; 1st June 2016 at 18:59. |
|
2nd June 2016, 00:57 | #1684 | Link |
Registered User
Join Date: Feb 2004
Location: NYC
Posts: 124
|
1080i, ColorMatrix, Expected FPS.
The latest mt_modes list says:
Code:
#note1: Can't use mode 1 or 2 on any filters if encoding 1080i files(480i works perfectly fine). Code:
#As far as I know, the only workaround seems to be running a deinterlacer right after the video source and running it as "MT_SERIALIZED", #than running any desired filters after. Filters after the deinterlacer, seem to be able use any mode.
Separately:
Without making any modifications to the MT modes file, on a 4770K@4.5Ghz, I seem to be getting 5-6.5 fps with MT enabled on a 1080i source being downscaled to 360p. By contrast, mainline AVS 2.6.1 with avs_tp (and ColorMatrix enabled) yields 6-7.5 fps, and AVS MT yields 12 fps but always crashes about 50-66% of the way through (again with ColorMatrix enabled). Is this within expected norms? Also, this line in the MT modes files is incorrect: Code:
SetFilterMTMode("DGDecIM", MT_SERIALIZED) #DGDecIM beta 50 2015/10/10 Code:
SetFilterMTMode("DGSourceIM", MT_SERIALIZED) #DGDecIM beta 50 2015/10/10 Last edited by bilditup1; 2nd June 2016 at 01:10. Reason: Added currents speeds. |
2nd June 2016, 01:58 | #1685 | Link |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,664
|
@bilditup1
tp7's list is just an older revision of the latest MTModes list. He put it up on GitHub a while back as a backup because the original list was tampered with. Unfortunately it hasn't been updated since in over a year. Regarding the notes, I'm not sure who wrote that or how or when it was tested. It was probably before this issue was fixed: https://github.com/AviSynth/AviSynthPlus/issues/37 It's probably best to test and report back if you find any problems. All filters used by QTGMC work with MT mode 1 or 2 and they're already included in the MT Modes list (except for some filters from MVTools). I've successfully used QTGMC with: Code:
SetFilterMTMode("WhateverSource" 3) SetFilterMTMode("DEFAULT_MT_MODE", 2) WhateverSource("somevideo.file") QTGMC() Prefetch(x) Code:
Import("MTModes.avsi") SetFilterMTMode("WhateverSource" 3) SetFilterMTMode("DEFAULT_MT_MODE", 2) WhateverSource("somevideo.file") QTGMC() Prefetch(x) Thanks for the DGSourceIM report. I'll correct it right now. |
2nd June 2016, 02:19 | #1686 | Link | |||
Registered User
Join Date: Feb 2004
Location: NYC
Posts: 124
|
Quote:
Quote:
Quote:
Code:
Dither_convert_8_to_16 () Dither_resize16 (1280, 720) Dither_convert_yuv_to_rgb (matrix="601", output="rgb48y", lsb_in=true) r = SelectEvery (3, 0) g = SelectEvery (3, 1) b = SelectEvery (3, 2) Dither_convert_rgb_to_yuv (r, g, b, matrix="709", lsb=false, mode=0) OK great! No problem. |
|||
2nd June 2016, 02:59 | #1687 | Link | |||
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,664
|
Quote:
Quote:
Code:
Dither_convert_8_to_16 () Dither_resize16 (640, 480, csp="YV24") # change to the desired dimensions Dither_convert_yuv_to_rgb (matrix="709", output="rgb48y", lsb_in=true) # convert to RGB using the 709 color matrix commonly used in HD content r = SelectEvery (3, 0) g = SelectEvery (3, 1) b = SelectEvery (3, 2) Dither_convert_rgb_to_yuv (r, g, b, matrix="601", lsb=false, mode=0, output="YV12") # convert to YUV using the 601 color matrix commonly used in SD content Quote:
|
|||
2nd June 2016, 03:52 | #1688 | Link | ||||
Registered User
Join Date: Feb 2004
Location: NYC
Posts: 124
|
Quote:
Quote:
Code:
Dither_resize16 (640, 480, csp="YV24") # change to the desired dimensions Code:
Dither_convert_yuv_to_rgb (matrix="709", output="rgb48y", lsb_in=true) # convert to RGB using the 709 color matrix commonly used in HD content r = SelectEvery (3, 0) g = SelectEvery (3, 1) b = SelectEvery (3, 2) Dither_convert_rgb_to_yuv (r, g, b, matrix="601", lsb=false, mode=0, output="YV12") # convert to YUV using the 601 color matrix commonly used in SD content Quote:
|
||||
2nd June 2016, 03:53 | #1689 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,664
|
Quote:
I would like too add some updates from the wiki, mainly the internal filters which raffriff42 has worked on (sadly the official documentation does not include these changes, see here). Also add a few things from the AviSynth+ wiki page, and maybe start documenting MT. |
|
2nd June 2016, 04:07 | #1690 | Link |
Registered User
Join Date: Feb 2004
Location: NYC
Posts: 124
|
Using AVSMeter 2.2.8 with r1858, it appears to work most of the way through...and then just sort of hangs with zero CPU activity.
Click here for a screenshot of where it stopped and the script I used. Source is still 1080i60 MPEG2, OS is Win10x64. Last edited by bilditup1; 2nd June 2016 at 04:24. |
2nd June 2016, 04:08 | #1691 | Link | |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
Quote:
In addition to DitherTools, you can try AviSynthShader. You can convert color matrix and resize your image through the GPU. Might be faster than DitherTools, not sure. |
|
2nd June 2016, 04:17 | #1692 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,664
|
Quote:
Regarding your other questions, if you post them in appropriate thread I'll gladly help where I can. |
|
2nd June 2016, 04:20 | #1693 | Link | |
Registered User
Join Date: Feb 2004
Location: NYC
Posts: 124
|
Quote:
I'm not sure who is in charge of the AviSynth wiki, but maybe this can be pointed out somewhere? Like maybe here, where neither DitherTools nor AviSynthShader are mentioned at all? ED: I just realized that anyone can sign up there, and just did. But I don't think I'm really qualified to begin mucking around there just yet. Last edited by bilditup1; 2nd June 2016 at 04:33. |
|
2nd June 2016, 04:25 | #1694 | Link | ||
Registered User
Join Date: Feb 2004
Location: NYC
Posts: 124
|
Quote:
Quote:
basically answers one of them already. I'll ask there too though, as I can't be the only one curious about this. Last edited by bilditup1; 2nd June 2016 at 04:33. |
||
2nd June 2016, 04:38 | #1695 | Link | |
Registered User
Join Date: Feb 2004
Location: NYC
Posts: 124
|
Quote:
Code:
SetFilterMTMode("WhateverSource", 3) |
|
2nd June 2016, 05:39 | #1696 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,419
|
Quote:
It's really as simple as 'make html' in the distrib/docs/english directory, so long as you've installed Python and Sphinx. Sphinx will tell you if there are syntax errors in the files, and if the built HTML version is open in your browser, you can see the errors and work them down until it complies. And it'll also only rebuild the files that have been touched, rather than needing to rebuild the entire doc tree. |
|
2nd June 2016, 08:42 | #1697 | Link | |
Registered User
Join Date: Feb 2004
Location: NYC
Posts: 124
|
Quote:
|
|
2nd June 2016, 08:43 | #1698 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,309
|
Quote:
|
|
2nd June 2016, 09:22 | #1699 | Link | ||
Registered User
Join Date: Feb 2004
Location: NYC
Posts: 124
|
Quote:
Quote:
OK, so that could be a problem with this artificial test of mine, where I'm taking 1,000 frames out of every 5,000, to avoid having to do a full encode that I don't even need? That should cause pretty abrupt scene changes, in theory. |
||
2nd June 2016, 09:57 | #1700 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,309
|
Quote:
Such a basic script must not cause freeze should it be artificial or not. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|