New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems that MaskSubMod() does not support VSFilterMod? #3
Comments
The issue here is that Cube() along with DGCube() only accept RGB planar 16bit, without the alpha channel.
So, by re-arranging what I've done to your use case, your script would become:
Now, I commented the code to make it easier. I think I deserve a cappucino now. :P |
This is my final script, which doesn't seem to work well. Even if I replace DGCube with Cube and import vscube.dll, it still doesn't work
|
What's the actual error outputted? |
Prompt 'No events detected. Cowardly reusing to write XML file.' |
win11 x64 |
Ok, I downloaded VSFilterMod and actually tested on a test.ass with ColorBars().
Of course ColorBars() are just an example as I didn't want to index another content. This is the converted colorbars in RGBA 16bit: and this is the relative alpha channel (also in PQ): from the script Test.ass which is here: |
Your request has been satisfied and I've added a preliminary support to RGB32 in version 2.6 https://github.com/FranceBB/LinearTransformation/releases/tag/2.6 As an example, let's take a look at the following fake RGB32 input:
This creates an RGB32 stream in which the first 24bit are RGB (i.e 8+8+8=24): and the last 8 are the alpha channel (+8 = 32): This is in BT709 SDR.
what's gonna happen is that the stream will be divided in two parts: the normal part and the alpha channel and both will be subject to the very same transformation (in this case from BT709 to BT2020 PQ) before being added back to create a proper RGB32 output: as per your request. |
That's great Thank you
|
I now suspect that it may be an issue with avs2bdnxml. I have seen that it is implemented using vfw, and may it be that vfw does not support it? |
Convert the avs script using avs2bdnxml, but still prompt "No events detected. Cowardly refusing to write XML file." |
Tested to be an issue with vscube.dll, which seems to not support x86 |
It seems that MaskSubMod() does not support VSFilterMod
LoadPlugin("D:/afd/DGCube.dll") LoadPlugin("D:/afd/VSFilterMod.dll") MaskSubMod("D:/afd/a-mmrq14.ass", 1920, 1080, 23.97599983215332, 51424) ConvertBits(16) ConvertToPlanarRGBA() DGCube("D:/afd/BT709_to_PQ.cube")
The text was updated successfully, but these errors were encountered: