Quantcast KVCD: Mpeg2dec2 or MPEG2DEC3? - digitalFAQ.com Forums [Archives]
  #1  
06-19-2003, 06:52 PM
audi2honda audi2honda is offline
Free Member
 
Join Date: Jun 2003
Location: Orange County, CA
Posts: 291
Thanks: 0
Thanked 0 Times in 0 Posts
I've been reading that Tom Barry's mpeg2dec2 is faster for Pentium 4 processors, but I see kwag's script useds Mark's Mpeg2Dec3.

Is there a quality or feature difference between these? I have a P4 so I'd like to take advantage of it.

Thanks
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
06-19-2003, 07:17 PM
audi2honda audi2honda is offline
Free Member
 
Join Date: Jun 2003
Location: Orange County, CA
Posts: 291
Thanks: 0
Thanked 0 Times in 0 Posts
I guess a better question is does anyone use this option "idct=5"

example:
Mpeg2Source("D:\Projects\project.d2v",idct=5)

The documentation for Mpeg2Dec3 says this is faster for P4 machines. I notice Kwag doesn't use it even though he has a P4. I don't really understand this setting and am curious if there is a quality impact by using this and if anyone has actually noticed faster frameserving and overall reduced encode time with this option.
Reply With Quote
  #3  
06-19-2003, 07:32 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi audi2honda,

I hadn't paid attention to that
I guess I'll have to run a clip with and without that option, to see how it impacts speed and/or quality

-kwag
Reply With Quote
  #4  
06-19-2003, 07:38 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Done
Results are identical in both file size and speed. Did a 30 second clip, and there was no difference.

-kwag
Reply With Quote
  #5  
06-19-2003, 09:14 PM
audi2honda audi2honda is offline
Free Member
 
Join Date: Jun 2003
Location: Orange County, CA
Posts: 291
Thanks: 0
Thanked 0 Times in 0 Posts
what version of mpeg2dec3 do you have? a new version with optimized code was just released about a week ago.
Reply With Quote
  #6  
06-19-2003, 09:29 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by audi2honda
what version of mpeg2dec3 do you have? a new version with optimized code was just released about a week ago.
Version 1.00, 5/20/2003.

Edit: The date is when I downloaded it. Do you have a newer version

-kwag
Reply With Quote
  #7  
06-19-2003, 09:31 PM
audi2honda audi2honda is offline
Free Member
 
Join Date: Jun 2003
Location: Orange County, CA
Posts: 291
Thanks: 0
Thanked 0 Times in 0 Posts
Give this one a try. You have to set idct=5 in your .d2v file and in your .avs script after the mpegsource call like I put in that simple example above. Let me know if you notice any performance. I'm playing with it too.

http://forum.doom9.org/showthread.ph...ght=idct+speed
Reply With Quote
  #8  
06-19-2003, 09:34 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Quote:
Originally Posted by audi2honda
what version of mpeg2dec3 do you have? a new version with optimized code was just released about a week ago.
Version 1.00, 5/20/2003.

Edit: The date is when I downloaded it. Do you have a newer version

-kwag
last from nic v1.08:
http://nic.dnsalias.com/

Reply With Quote
  #9  
06-19-2003, 09:36 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, same result with 1.08. No diff with or without "idct=5"

As: Mpeg2Source("F:\KPAX\VIDEO_TS\movie.d2v")
Or : Mpeg2Source("F:\KPAX\VIDEO_TS\movie.d2v", idct=5 )

-kwag
Reply With Quote
  #10  
06-19-2003, 09:39 PM
audi2honda audi2honda is offline
Free Member
 
Join Date: Jun 2003
Location: Orange County, CA
Posts: 291
Thanks: 0
Thanked 0 Times in 0 Posts
oh well worth a try
Reply With Quote
  #11  
06-19-2003, 09:41 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Maybe on a higher end P4 (2.4+Ghz) there's a difference. Mine is a poor 1.6Ghz CPU

-kwag
Reply With Quote
  #12  
06-19-2003, 09:48 PM
dazedconfused dazedconfused is offline
Free Member
 
Join Date: Nov 2002
Posts: 316
Thanks: 0
Thanked 0 Times in 0 Posts
This is a bit off-topic, but just thought I'd add that there definetly IS a noticeable speed increase if you have a P4 processor and use "idct=5" in your .d2v while using MPEG2DEC2 in Avisynth 2.08. I guess MPEG2DEC3 must need a bit more optimizing.

-d&c
Reply With Quote
  #13  
06-19-2003, 09:49 PM
audi2honda audi2honda is offline
Free Member
 
Join Date: Jun 2003
Location: Orange County, CA
Posts: 291
Thanks: 0
Thanked 0 Times in 0 Posts
i'm going to try it now. Kwag did you put it in your .d2v file also?
Reply With Quote
  #14  
06-19-2003, 09:53 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by audi2honda
i'm going to try it now. Kwag did you put it in your .d2v file also?
No , only in the .avs

-kwag
Reply With Quote
  #15  
06-19-2003, 10:09 PM
dazedconfused dazedconfused is offline
Free Member
 
Join Date: Nov 2002
Posts: 316
Thanks: 0
Thanked 0 Times in 0 Posts
Just ran a short sampler encode with idct=4 vs idct=5 in Avinsynth 2.08 with MPEG2DEC2 to verify my previous statement :

time with idct=4 in .d2v was 3:25
time with idct=5 in .d2v was 3:05

that's with a P4 2.26Ghz, btw.

It's a pity if the same speed boost doesn't ring true for MPEG2DEC3.

-d&c
Reply With Quote
  #16  
06-19-2003, 10:14 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Then what about MPEG2DEC2 vs. MPEG2DEC3 comparison both on 2.52

-kwag
Reply With Quote
  #17  
06-19-2003, 10:17 PM
audi2honda audi2honda is offline
Free Member
 
Join Date: Jun 2003
Location: Orange County, CA
Posts: 291
Thanks: 0
Thanked 0 Times in 0 Posts
I'm running some tests with mpeg2dec3 and will have results in about 10 minutes. THen I'll use mpeg2dec2
Reply With Quote
  #18  
06-19-2003, 10:28 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
I'm creating a new project file with DVD2AVI 1.77.3 to compare against the one I have, which was done with DVD2AVI 1.76.

-kwag
Reply With Quote
  #19  
06-19-2003, 10:36 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Well, I see no diff with my CPU. I just tested with DVD2AVI 1.77.3, and verified the project file. It's using SSE-2,MMX. Here's the line:
iDCT_Algorithm=5 (1:MMX 2:SSEMMX 3:FPU 4:REF 5:SSE2MMX)
Maybe my P(iss)4 CPU being 1.6Ghz, it's not good enough to see a difference

-kwag
Reply With Quote
  #20  
06-19-2003, 10:38 PM
audi2honda audi2honda is offline
Free Member
 
Join Date: Jun 2003
Location: Orange County, CA
Posts: 291
Thanks: 0
Thanked 0 Times in 0 Posts
I don't see any difference either. I ran a few times and there was no difference between the plugins. I have a P4 1.8. I've got a 2.8ghz at work that I can try a few tests on tomorrow, but it seems the difference is negligable.

I'd try mpeg2dec2, but i'm not giving up AVS 2.5
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD2SVCD: MPEG2DEC3.DLL?? Payasa Video Encoding and Conversion 3 10-05-2003 09:32 AM
Avisynth: MPEG2Dec3 Problem? cybernut Avisynth Scripting 18 06-18-2003 12:28 PM
Avisynth: MPEG2DEC3 getting better every day Boulder Avisynth Scripting 11 06-13-2003 11:16 PM
Avisynth: What to do with contents of MPEG2DEC2.zip file? dazedconfused Avisynth Scripting 2 01-28-2003 01:39 PM
Avisynth: Mpeg2dec.dll or mpeg2dec2.dll melmo Avisynth Scripting 3 11-01-2002 12:34 AM

Thread Tools



 
All times are GMT -5. The time now is 07:39 AM  —  vBulletin © Jelsoft Enterprises Ltd