View Full Version : Does anyone know avss.dll (ala DSS) from Haali?
Wilbert
29th January 2008, 22:10
According to http://forums.animesuki.com/showthread.php?t=48608, there is an AviSynth plugin called avss.dll created by Haali (which can be obtained from the Haali Media Splitter).
DSS2 is Haali's implementation of Directshowsource. It has the advantage of being frame-accurate, but only supports VFR by converting it to CFR; at least that was the case when I tried it last time, it might have changed.
The point being is whether it is based on DSS, since DSS2 is closed source. I will ask him about it.
Myrsloik
29th January 2008, 23:16
As someone who happens to be in possession of the full source for dss2 I can tell you that it uses directshow and that's where the similarities end. There are no violations and in my opinion the only thing you'll develop with this line of questioning is a bad reputation...
TheFluff
29th January 2008, 23:25
You didn't notice this plugin until now? It's been around for years.
Also I wonder how your logic behind posting this thread went, was it something like "hey it has 'directshow' in the name so it must be a derivative, I better post a thread on doom9 about it to stir up some drama while I wait for Haali to answer" or what?
Wilbert
29th January 2008, 23:30
Oh c'mon, that was never my intension. I was just curious about the plugin since i hadn't seen it before. My apologies if anyone is offended and sorry that i took your words too literally.
TheFluff
29th January 2008, 23:40
Well if this is going to be turned into a general DSS2 thread... the syntax is:
dss2(string infile, float fps)
i.e.
loadplugin("avss.dll")
dss2("X:/test.mkv",fps=23.976)
Unlike the original DSS, it does not support loading audio. It also always converts VFR to CFR; i.e. it acts like the original DSS with convertfps=true does.
cooolway
9th October 2008, 08:23
how do I load audio from my video as it doesn't with DSS2?
Myrsloik
9th October 2008, 10:35
You don't, it's not supported in DSS2. Use another method and audiodub.
halsboss
15th May 2009, 14:41
For posterity and completeness of this thread, there were some reported "challenges" with it. See near the end of this post http://forum.doom9.org/showthread.php?p=1285639#post1285639
Dogway
11th July 2011, 05:06
Do I need to have Haali installed/registered in order to use dss2? because I just took avss.dll and uninstalled haali and now it doesn't work. I'd like to use it while keeping the system as clean of Haali as possible.
LoRd_MuldeR
11th July 2011, 08:15
Do I need to have Haali installed/registered in order to use dss2? because I just took avss.dll and uninstalled haali and now it doesn't work. I'd like to use it while keeping the system as clean of Haali as possible.
Well, DSS2 uses DirectShow, obviously. So you will need the suitable DirectShow filters (splitters and decoders) installed/registered on your system. Consequently for MKV or MP4 or TS files you'll need the Haali Media Splitter or something that can do the same job.
IanB
11th July 2011, 09:57
Dss2 uses the frame grab feature of Haali's directshow renderer.
So you need that as a minimum.
It is does not normally include itself in default graphs.
Dogway
11th July 2011, 15:36
It's for a wmv source.
I use lavfilters+ffdshow(wmv9)+madvr.
Can I then take the Haali's renderer files and copy them somewhere where it is requested?
LoRd_MuldeR
11th July 2011, 15:46
It's for a wmv source.
I use lavfilters+ffdshow(wmv9)+madvr.
Can I then take the Haali's renderer files and copy them somewhere where it is requested?
You will have to register the COM interface, I think.
C:\Program Files (x86)\Haali\MatroskaSplitter>regsvr32 splitter.ax
C:\Program Files (x86)\Haali\MatroskaSplitter>regsvr32 dxr.dll
Dogway
11th July 2011, 15:51
Looks like it turns practically into a manual install, I will check. Is ffms2 a worse option than dss2 for VC-1 sources?
TheFluff
11th July 2011, 16:23
Looks like it turns practically into a manual install, I will check. Is ffms2 a worse option than dss2 for VC-1 sources?
What container? TS will probably work very badly, other containers I don't know since I haven't tried it.
Dogway
11th July 2011, 16:26
wmv, I get eventual artifacts when frameskipping with ffms2. Not sure if its so at encoding...
forclip
28th October 2011, 16:41
Does anyone know how to contact the author of this plugin? Of course, assuming that he willing to fix (or at least take a look at) some bugs..
IanB
28th October 2011, 22:04
Does anyone know how to contact the author of this plugin?These may be a little stale but may get you started :-
Mike Matsnev (mailto:mike@haali.net), aka Haali (http://forum.doom9.org/member.php?u=38175) (Last Activity: 13th Oct 2009)
Haali Media Splitter Home (http://haali.su/mkv/) (Last updated 03/03/2011)
Report your bug, others may know the answer ....
forclip
29th October 2011, 14:12
Thanks.
The bugs:
1. This plugin can't handle a files that contains a symbols from my local CodePage. So it can't be used with (for example) C:\файл.mkv.
2. It may hangs when processing the last frames. Sure, this behavior may be related to splitters\decoders that's being used, but the same files works fine with DirectShowSource.
P.S. I don't looking for a workarounds, no need to point me to FFMS2, DGDecNV and so on.
IanB
30th October 2011, 06:19
1. Avss.cppHRESULT hr = dss2->OpenFile(CA2WEX<128>(filename, CP_OEMCP), avgframe);
DirectShowSource.cppMultiByteToWideChar(CP_ACP, 0, filename, -1, filenameW, MAX_PATH);
There is a whole thread dedicated to non-ascii characters in scripts.
2. The avss code seems predictable, I suspect the frame grab code in the renderer is getting caught. (I don't have the renderer code :( ) Sorry I can't help.
forclip
30th October 2011, 10:43
1. Avss.cpp
So you have the sources for this plugin? :)
mandarinka
30th October 2011, 16:14
Dss2 uses the frame grab feature of Haali's directshow renderer.
So you need that as a minimum.
It is does not normally include itself in default graphs.
Sorry for being paranoid, but I have to ask, since Haali's renderer only supports yuy2 and rgb32 input.
Does dss2 keep the decoded video data in yv12 colorspace, or does it in fact force a colorspace conversion? I don't think the latter is likely to be the case, but I'd like to get a confirmation, if someone can give one!
IanB
30th October 2011, 22:07
So you have the sources for this plugin? :)No, I only have some of the source.
TheRyuu
31st October 2011, 14:20
It seems the avss source package that I have contains the fix mentioned by IanB so perhaps it was updated at somepoint.
Build: avss.7z (http://warpsharp.info/avisynth/avss.7z)
Source: avss-src.7z (http://warpsharp.info/avisynth/avss-src.7z)
forclip
31st October 2011, 17:52
Build: avss.7z (http://warpsharp.info/avisynth/avss.7z)
Source: avss-src.7z (http://warpsharp.info/avisynth/avss-src.7z)
Thanks! Unfortunately, I still can`t open my "C:\файл.mkv", so I think that avss.dll that I had before was already "fixed". May be this issue is similar to this one (http://doom10.org/index.php?topic=25.msg4659#msg4659):
DirectShow probably expects Unicode strings only and FFMS2 isn't converting them before passing them to the splitter or something.
IanB
31st October 2011, 21:49
It seems the avss source package that I have contains the fix mentioned by IanB so perhaps it was updated at somepoint.
Build: avss.7z (http://warpsharp.info/avisynth/avss.7z)
Source: avss-src.7z (http://warpsharp.info/avisynth/avss-src.7z)
Huh! :confused: This source still uses CP_OEMCP (Dosbox code page) instead of CP_ACP (Windows code page).
To test this theory, create the .AVS in something using the OEM code page like Edit under Cmd.exe.
Also thanks TheRyuu for the full source code :D
forclip
1st November 2011, 18:21
This source still uses CP_OEMCP (Dosbox code page) instead of CP_ACP (Windows code page).
Replaced, and it did the trick! :)
TheRyuu
2nd November 2011, 03:51
Huh! :confused: This source still uses CP_OEMCP (Dosbox code page) instead of CP_ACP (Windows code page).
To test this theory, create the .AVS in something using the OEM code page like Edit under Cmd.exe.
Also thanks TheRyuu for the full source code :D
For some reason I thought you hilighted it because it was what changed in your original post. I didn't see the correlation between 1 and 2, brainfart.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.