Log in

View Full Version : AviSynth Version 2.5.0 Beta


DVDHack
30th January 2003, 01:24
Recently the new Beta of AviSynth was released and there are claims of improveed speed. Is it possible to use this version with DVD2SVCD somehow?

A further speed improvement would be really nice.

markrb
30th January 2003, 01:54
If you swap anything you are on your own. Try it if you want, but if you have issues don't ask us for help until you have swapped it back.

Basically all you would have to do is copy over the Avisynth.dll file in your Windows/system directory.

Mark

DVDHack
30th January 2003, 02:31
Now where's your sense of adventure?

I'll give it a whirl tonight and report back.

I was actually hoping that DVD2SVCD had made an assessment or was planning to incorporate, given I now get about 2.02 realtime I'm pretty happy - just a nice to have.

I'll try 1.1.1 at the same time.

markrb
30th January 2003, 04:35
Now I never said I had no adventurous side to. I have installed it myself.
I just have to read the party line that says don't change anything in the bundle or you are on your own.

Basically there is no way of knowing what will happen and DVD2SVCD is tested with what it has. Changing has caused all kinds of wierdness in the past.

Mark

DDogg
30th January 2003, 07:51
Hello all.

This might help the experiment, although I have not done a full encode and mux using it and do not know if using Nic's MPEGDecoder.dll will cause any problems. The speed improvment was substantial.

http://forum.doom9.org/showthread.php?s=&postid=251180#post251180

DVDHack
31st January 2003, 00:14
Unfortunately simply substituting the avisynth.dll does not work. I believe that the command sequences being sent aren't in quite the correct format. I got an error message indicating an unsupported resolution. I think a digit got cropped making me believe there is a change in command syntax.

Tonight I will try using AviSynth to direct encode a Video with CCE, that should work fine. I'll report back the encoding speeds. If its substantial perhaps we can twist DVD2SVCDs arm to use it.

markrb
31st January 2003, 00:31
I didn't have any issue with swapping the dll's.
It's working fine, but not as fast as I hoped.
Maybe I have to look into it further.

DDogg are you back? Please say you are back.
We all missed you around here.

Mark

DVDHack
31st January 2003, 00:41
I'm using the RoBa method - which I find superb, perhaps that's the issue. Perhaps I'll try a straight encode using VBR.

markrb
31st January 2003, 02:31
I think I found out why my speed was not as expected. Stupid me shut off FF on DVD2AVI. This forced an encode of 29.97 fps instead of the normal 23.976 fps. It also lead to a crappy encode.
I had a previous encode that I had to manually shut off, but I should have remembered. What a waste of a day.
I won't know for sure if this was my info until I try to encode again, but I think it was.

Mark

mrbass
31st January 2003, 02:37
DDogg...woohoo..ressurected from the grave. Remember me...I was standing over your grave and I dropped a silver dollar and you winked by blowing a dust mound 2 inches into the air. That was back in April 2002..I think it was around the release of DVD2SVCD 1.0.8 build 1.

Like doom9 says on his new page the main speed improvement should be from that "native YUV12 support".

DVDHack
31st January 2003, 03:40
Looks like DVD2SVCD is way ahead of me and giving it a try.

http://forum.doom9.org/showthread.php?s=&threadid=42924 (http://)

DDogg
31st January 2003, 05:15
Howdy markrb and mrbass,

Long time no see and all that :) Just dropping by the old homestead to see how things were going. It looks like the place is in good hands. Real good hands! Great job, markrb. Maybe I can sneak back every once in a while. I have been playing with 2.5 and Nic's MPEGDecoder. Definitely faster by about 12-15%, but I don't know if it will workout for D2S. I think he is messing with it -- and cussing it some too. The big speed increase comes from using MPEGDecoder, but that may cause some sync problems for D2S. He has ta be da judge of that :)

Just remember to put the convertToYUV2 in the script or CCE will barf with MPEGDecoder.

This works for me, but D2S said he was having some problems.
http://forum.doom9.org/showthread.php?s=&threadid=42924&perpage=30&pagenumber=2

Cya,
DD

markrb
31st January 2003, 07:29
Ok so that explains why I am not getting any speed increase.
I tried the MPEGDecoder, but it did puke.
I didn't add the line to the AVS.
I haven't had the time to really read the release notes yet, so I wasn't going to ask anything until after I did.

Glad to see you around, if only for a little while.

Mark

BRN
31st January 2003, 07:45
I've gotten DVD2SVCD to run using MPEG2Dec3.dll and adding ConvertToYUY2() and AddAudio() functions as line items in the DVD2SVCD.INI file. The problem I'm having now is getting the ChangeCD picture AVS to run. I don't know of a way to modify the AVS before encoding to add the AddAudio() function instead of the ResampleAudio function and I don't know if Avisynth BMP Loader.dll will work with AviSynth 2.5.

Wilbert
31st January 2003, 13:35
Try:

AddAudio()
ResampleAudio(44100)

instead of replacing ResampleAudio by AddAudio. Does that work? This bmploader plugin will not work in AviSynth v2.5.

BRN
31st January 2003, 22:53
I use LanczosResize and, occasionally, trbarry's Unfilter.dll, Trbarry has a new version that works with AviSynth 2.5. I also use MarcFD's new MPEG2Dec3.dll version 1.00. So I've gotten DVD2SVCD to run by making the following changes to the .INI file:

--------------------------------

[AVISYNTH_Lanczos3Resize]
0=LanczosResize(^TargetWidth,^TargetHeight)
1=AddBorders(0,^BorderTop,0,^BorderBottom)
2=ConvertToYUY2()
3=AddAudio()

[AVISYNTH_Lanczos3Resize with UNFILTER]
0=LoadPlugin(!UNFILTER.dll)
1=LanczosResize(^TargetWidth,^TargetHeight)
2=AddBorders(0,^BorderTop,0,^BorderBottom)
3=UNFILTER(^x_value,^y_value)
4=ConvertToYUY2()
5=AddAudio()
!UNFILTER.dll=C:\Program Files\AviSynth 2.5\plugins\UnFilter.dll
^x_value=20
^y_value=20

-------------------------------

Which gives me AVS files like this:

-------------------------------

LoadPlugin("C:\PROGRA~1\AVISYN~1.5\plugins\MPEG2D~2.DLL")
mpeg2source("D:\XMEN\DVD2AV~1.D2V")
LanczosResize(480,360)
AddBorders(0,60,0,60)
ConvertToYUY2()
AddAudio()

Or

LoadPlugin("C:\PROGRA~1\AVISYN~1.5\plugins\MPEG2D~2.DLL")
mpeg2source("D:\XMEN\DVD2AV~1.D2V")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\UnFilter.dll")
LanczosResize(480,360)
AddBorders(0,60,0,60)
UNFILTER(20,20)
ConvertToYUY2()
AddAudio()

-------------------------------

It works OK but unfortunately the CD Image tab functions for Title, ChangeCD, and LastCD Picture won't work until DVD2SVCD can update the AviSynth_BMP_Loader.dll to work with 2.5.

markrb
1st February 2003, 04:08
I am moving this to the advanced forum since it is of a file that is not included in the bundle.
Keep in mind any problems that you have do not belong in the DVD2SVCD forums. Avisynth 2.5 is not ready for full release with DVD2SVCD. Any problems that you have please talk about them in the proper forum which is the avisynth forum and not here.

As far as I go I am going back to 2.07. I got it to work and it was faster, but it causes major sync issues with the DVD I created that worked perfect using the same settings with the version that is included in DVD2SVCD. I didn't mux it using DVD2SVCD I used Scenerist BTW.

Mark

onesoul
1st February 2003, 16:55
Although I am eager to one day use avisynth 2.5, I will wait some time as some filters I use still have not been ported to 2.5, and of course by reading what mark said, it's one more reason to wait for a while until all the issues disappear.

Regards

markrb
2nd February 2003, 05:37
Just a quick update. It was suggested to me that I use Mpeg2dec3.dll instead of the mpgdecoder.dll and so far this looks promising. I only did a quick 1-pass VBR as a test, but it was much faster and it was in sync. I am doing further testing now and will report back when I get some more data.

Mark

symonjfox
3rd February 2003, 16:58
I tried Avisynth 2.5 with D2S. I must set, in the frameserver tab, the things you sayd before (Mpeg2dec3.dll instead of Mpeg2dec and Converttoyuy2 else it doesn't work).

After that the program ran perfectly. I had a very small speed improvement using my Athlon XP (maybe it would be better with P4 since Mpeg2dec3 is SSE2 optimized).

The only problem I had is when D2S try to convert the title, change disc, end bitmap, because it says that the AVS filter it uses is for 2.0x version and not for 2.5

Nothing else.

markrb
8th February 2003, 07:15
I said I would come back and give an update when I had tried a few more. Well at this point I have done many and all are perfectly in sync and fine as long as I use the mpeg2dec3.dll, add the converttoyuy2 and use the addaudio script I found through the avisynth forum(basically a new way to avoid crashes on an AMD system like resampleaudio used to be).

I only do DVD-R conversions and honestly I only use DVD2SVCD to redo the extra's since I want a little finer control over the main movie, but even doing multiple PGC extra's have not been a problem. Tonight I redid all 8 PGC's of the extra's on a DVD to reduce it's size, used Scenerist to recombine it and all are great.

The speed boost is noticable, but not huge. I get about .05-.07 faster for the same video.

Mark

onesoul
9th February 2003, 01:41
Originally posted by markrb
...and use the addaudio script I found through the avisynth forum(basically a new way to avoid crashes on an AMD system like resampleaudio used to be). This is only needed for cce 2.50, right?
I only do DVD-R conversions and honestly I only use DVD2SVCD to redo the extra's since I want a little finer control over the main movie, You are talking about settings at cce and maybe audio too, right?

Thanks

Wilbert
11th March 2003, 17:15
The only problem I had is when D2S try to convert the title, change disc, end bitmap, because it says that the AVS filter it uses is for 2.0x version and not for 2.5
Some news:

There's a plugin called LoadPluginEx.dll (in the WarpSharp package, see AviSynth faq q1.23 and q3.4) which lets you import v2.0x plugins in v2.5x. Just load the plugin in the appropriate avs script and use the v2.0x plugins like you normally do. Good luck!

markrb
11th March 2003, 18:37
This is only needed for cce 2.50, right? Yes it's only needed for 2.5 as resampleaudio does not work.

BTW I have given up on 2.5 at this point. I found it did work, but it just wasn't worth the extra effort and incompatability issues I got from time to time.

Mark