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. |
![]() |
#1 | Link |
Moderator
![]() Join Date: Oct 2001
Location: England
Posts: 3,285
|
MPEG2Dec3 v1.10
New version of MPEG2Dec3.dll for AviSynth 2.5+
http://nic.dnsalias.com/MPEG2Dec3v110.zip http://nic.dnsalias.com/MPEG2Dec3v110_src.zip New Features:
Cheers, -Nic edit: Updated post to latest version Last edited by Nic; 28th July 2003 at 10:36. |
![]() |
![]() |
![]() |
#3 | Link |
Moderator
![]() Join Date: Oct 2001
Location: England
Posts: 3,285
|
Id once read: http://forum.doom9.org/showthread.ph...1.0#post264517
So Id thought there was no difference, and Id forgotten about the 1.0 release, but there was a difference. So forget the above posts and use below for the fixed memory alloc bug: (Link Removed) Sorry about that. -Nic ps MPEG2Dec3 v1.0 didnt have the debug output that .94 had so that had already been taken care of. My Bad ![]() (still might be useful for Jonny: ) http://forum.doom9.org/showthread.ph...ory#post274437 Last edited by Nic; 12th May 2003 at 12:54. |
![]() |
![]() |
![]() |
#5 | Link |
Moderator
![]() Join Date: Nov 2001
Location: Netherlands
Posts: 6,354
|
There already exists a version 1.0.1.: http://forum.doom9.org/showthread.ph...hreadid=49994. Could you include his changes and name it 1.0.2?
|
![]() |
![]() |
![]() |
#9 | Link |
Registered User
Join Date: Nov 2001
Posts: 9,770
|
great!!!
nic perhaps you can update your hp with this mpeg2dec3 so that more people recognize that it exists ![]()
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
![]() |
![]() |
![]() |
#10 | Link |
Moderator
![]() Join Date: Oct 2001
Location: England
Posts: 3,285
|
Ok, for my mistakes, ive added the ability to read both dvd2avi 1.76 and 1.77.3 D2V files.
http://nic.dnsalias.com/MPEG2Dec3v103.zip http://nic.dnsalias.com/MPEG2Dec3v103_src.zip -Nic |
![]() |
![]() |
![]() |
#14 | Link | |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
Quote:
- Tom |
|
![]() |
![]() |
![]() |
#15 | Link |
Retired
Join Date: Nov 2002
Posts: 1,349
|
@Nic
Thanks for the update. Here is a quick speed comparison between MPEGDecoder v2.03 and mpeg2dec3 v1.04 (idct=5). AVISynth 2.5.1 RC2, P4 2.4 GHz FSB 533, 512 MB PC266 DDR, simple script to frameserve PAL 720x576 video @ 25 fps with no filters except ConvertToYUY2, CCE 2.66.01.07. mpeg2dec3 v1.04: 1.72 MPEGDecoder v2.03: 1.89 Maybe still a little room for improvement ![]() |
![]() |
![]() |
![]() |
#17 | Link |
Moderator
![]() Join Date: Oct 2001
Location: England
Posts: 3,285
|
@trbarry: yup I saw that in getbit. Yup its using aligned memory, it uses the functions xvid uses.
@OBcecado: Good to know ![]() @RB: Always room for improvement, mpeg2dec3 does alot of copying memory about, if I can lower that it would be good (it shouldnt need to do as much as it was doing in the YUY2 version, but it still is). If anyone else fancies taking a look, look into assemble_frame is used, copyall (which is basically a memcpy) and Add_Block. From profiling it with the AMD tools it seems to spend as much time copying memory blocks as it does iDCT (!? Surely thats not right, but ill look into it) -Nic ps If I made a version, that didnt pay attention to fields correctly like MPEGDecoder doesnt, then it would speed along even faster (it would cut down on the memcpy's significantly). (but thats not a good idea ![]() |
![]() |
![]() |
![]() |
#18 | Link |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
Nic -
I just took a look at Add_Block, mostly because I sort of remembered it. It could be made a bit faster in a couple ways, but not done away with. I'm not really sure why the AMD profiler points that out as a major problem. It's usually inlined but maybe not so when profiling? Can you say what percentage of time Add_Block and the other main offenders are using? I had a trial copy of Vtune when I was first playing with this a year ago but it's since expired. Also it looks like most of the SSE2 support is turned off in MPEG2DEC3. I don't know what the effects of that are, but it certainly can't help P4 performance. - Tom |
![]() |
![]() |
![]() |
#20 | Link |
Registered User
Join Date: Oct 2001
Posts: 101
|
My test
Hi, because iīm a newbie in avisynt use, i will try to explain all the details of my test.
SCRIPT LoadPlugin("C:\UTILS\DVD\avisynth2\PLUGINS\MPEG2DEC3-25.dll") --> NICīs mpeg2dec3 1.04, of course LoadPlugin("C:\UTILS\DVD\avisynth2\PLUGINS\Unfilter-25.dll") LoadPlugin("C:\UTILS\dvd\AviSynth2\plugins\UNDOT-25.DLL") mpeg2source("G:\zzzprueba\1.d2v",cpu=6) Crop(8,66,-4,-68) LanczosResize(640,336) UnFilter(-5,-5) UnDot() I used avisynth_100503 with Virtual Dub Mod 1.5.1a for the test on my WXP with SP 1.0a installed. I have an Athlon 2100xp with 512mb. ram. Clip is "Hollow Man" trailer......2:27 min length XviD.Alpha.05.05.2003.1100 settings were: VHQ=4 Croma Motion B-Frames=2 Quantizer=2 all other settings=default Elapsed time: 5:05 m Size: 22.544 kb. ------------------------------------------------------------------------------ All the same settings and script, but this time with MarcFD 1.00 mpeg2dec3.dll Elapsed time: 4:45 m Size: 22.558 kb. ------------------------------------------------------------------------------ Both clips play ok. Hope this help. Alx. BTW, if someone see that the order of filters in the script is incorrect, please let me know, because i just began with avisynth and all advices are welcome. And, NIC, when are you planning to launch DVD2Avi_Nic ??? hope you had time in this last 2 years...he he he |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|