Quantcast Avisynth: Info about Mpeg2source? - digitalFAQ.com Forums [Archives]
  #1  
03-24-2004, 05:11 AM
zagor zagor is offline
Free Member
 
Join Date: Feb 2004
Location: Italia
Posts: 226
Thanks: 0
Thanked 0 Times in 0 Posts
Can anyone explain to me the function of

idct=5
and
cpu=4

in the line MPEG2Source?

If I want to do Kdvd from Dvd is right to use:

Mpeg2Source ("dvd.d2v",cpu=4,idct=5)
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  
03-24-2004, 06:05 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
They are internal functions of the meg2dec3.dll.

Explanation/readme is delivered with the dll file or here:
http://mf.creations.nl/avs/filters/MPEG2Dec3.html

CPU:

cpu : 0 to 6.

DivX decoder like cpu level setting. - 0 : No PP
- 1 : DEBLOCK_Y_H
- 2 : DEBLOCK_Y_H, DEBLOCK_Y_V
- 3 : DEBLOCK_Y_H, DEBLOCK_Y_V, DEBLOCK_C_H
- 4 : DEBLOCK_Y_H, DEBLOCK_Y_V, DEBLOCK_C_H, DEBLOCK_C_V
- 5 : DEBLOCK_Y_H, DEBLOCK_Y_V, DEBLOCK_C_H, DEBLOCK_C_V, DERING_Y
- 6 : DEBLOCK_Y_H, DEBLOCK_Y_V, DEBLOCK_C_H, DEBLOCK_C_V, DERING_Y, DERING_C
(Y=luma C=chroma, H=horizontal V=vertical)
default : 0


IDCT:

idct : 1 to 5.

iDCT : iDCT algo used.
-0 : Default value (in .d2v file)
-1 : 32 bit MMX
-2 : 32 bit SSEMMX
-3 : 64 bit FPU
-4 : 64 bit IEEE-1180 Reference
-5 : 32 bit SSE2 (for P4)
default : 0
Reply With Quote
  #3  
03-24-2004, 06:49 AM
zagor zagor is offline
Free Member
 
Join Date: Feb 2004
Location: Italia
Posts: 226
Thanks: 0
Thanked 0 Times in 0 Posts

what is this?

Please, give me a answer more "simpler".

I am not graduated in avisynth.

byby

Dialhot, where are you?
Reply With Quote
  #4  
03-24-2004, 07:36 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
CPU is for deblocking for example high compressed sources as divx, choose CPU=4 generally they will be spatial well treated.

IDCT is acording to your CPU type (as listed)
Reply With Quote
  #5  
03-24-2004, 08:01 AM
zagor zagor is offline
Free Member
 
Join Date: Feb 2004
Location: Italia
Posts: 226
Thanks: 0
Thanked 0 Times in 0 Posts
thanks, now is better.
by
Reply With Quote
  #6  
03-24-2004, 10:51 PM
Peter1234 Peter1234 is offline
Free Member
 
Join Date: Feb 2003
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
Here is an even better explanation: using

Mpeg2Source("C:\Documents and Settings\user\Desktop\test.d2v",cpu=6,idct=5)

produces 6.3% lower data rate (6.3% more video per CD) than

Mpeg2Source("C:\Documents and Settings\user\Desktop\test.d2v")

at least on the test I did.
I did not see a difference in quality.
Reply With Quote
  #7  
03-25-2004, 03:03 AM
FuPP FuPP is offline
Free Member
 
Join Date: Mar 2004
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
you should look better

cpu = 6 (deblocking + deringing) blurs/smoothes more
Reply With Quote
  #8  
03-25-2004, 04:11 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
I would have say like FuPP

Deblocking has very low visual effect, but deringing blurs a lot.
That's why all my script use cpu=4.
Reply With Quote
  #9  
03-25-2004, 04:56 AM
Peter1234 Peter1234 is offline
Free Member
 
Join Date: Feb 2003
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
I do not have the experience that you two have and apparently not as sharp of eyes either. Thanks for pointing that out. I will take a closer look.

Since zagor seemed to want a simple answer, I was just trying to point out why cpu is used in simple terms. Which for me has been to get more video per CD at low data rates. Sorry if I led astray.
Reply With Quote
  #10  
03-25-2004, 05:20 AM
zagor zagor is offline
Free Member
 
Join Date: Feb 2004
Location: Italia
Posts: 226
Thanks: 0
Thanked 0 Times in 0 Posts
Dialhot wrote:
Quote:
That's why all my script use cpu=4.
Also those for Dvd ---> Kdvd?.

or only Avi ----> Kdvd, kvcd.

by
Reply With Quote
  #11  
03-25-2004, 05:43 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by zagor
Dialhot wrote:
Quote:
That's why all my script use cpu=4.
Also those for Dvd ---> Kdvd?.

or only Avi ----> Kdvd, kvcd.

by
Also for DVD->KDVD.

I gave my script there :
http://www.kvcd.net/forum/viewtopic.php?t=8675&start=16
Reply With Quote
  #12  
03-25-2004, 05:45 AM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by zagor
Dialhot wrote:
Quote:
That's why all my script use cpu=4.
Also those for Dvd ---> Kdvd?.

or only Avi ----> Kdvd, kvcd.

by
Read what inc said:
Quote:
Originally Posted by incredible
CPU is for deblocking for example high compressed sources as divx, choose CPU=4 generally they will be spatial well treated.

IDCT is acording to your CPU type (as listed)
For DVD to KDVD, Kwag's Optimal Script don't use CPU command.
Dialhot's scripts are designed for DivX/Xvid to KVCD/KDVD.
(I think that Dialhot's thread "Latest optimal script for AVI to KVCD" it is for KDVD too)
Reply With Quote
  #13  
03-30-2004, 08:47 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Prodater64
(I think that Dialhot's thread "Latest optimal script for AVI to KVCD" it is for KDVD too)
You think wrong ! I do not do ANY Xvid->KDVD and I will NEVER recommand anyone to do that. But that's the subject of a (closed) discussion I had with Vmesquita about Diko.

So my scripts aren't for avi -> KDVD ans when I said I use cpu=4 even for DVD is only in the kind of script that I referenced in my previous post.
Reply With Quote
  #14  
03-30-2004, 10:00 AM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
You think wrong ! I do not do ANY Xvid->KDVD and I will NEVER recommand anyone to do that. But that's the subject of a (closed) discussion I had with Vmesquita about Diko.
I know that Phil. I think in same way too, AVI to KDVD have not sense.
But my question is, if somebody want to make KDVD from AVI's, it will be usefull your V4 script?
Reply With Quote
  #15  
03-30-2004, 10:32 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Prodater64
But my question is, if somebody want to make KDVD from AVI's, it will be usefull your V4 script?
Let say that is better than doing this with no script at all or even with another script (because this script quope with a lot of problems presents in avi sources). But I'm sure that something can be found that would be better to this particular purpose. I'm mainly worried by the resolution increase. And there is also the bitrate allowed on a DVD that permit to be less "heavy" on the filtering than when you target to do a 800 MB video.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Retrieving script info from files? will_diddy Avisynth Scripting 3 11-08-2006 04:41 AM
Avisynth: Info about kwag and vmesquita scripts? zagor Avisynth Scripting 11 08-01-2004 08:02 AM
Avisynth: Grabs Avisynth info oxycotton420 Avisynth Scripting 4 07-03-2004 08:00 AM
TMPGEnc: Mpeg2Source Error Bud Video Encoding and Conversion 2 06-06-2003 04:22 PM
Avisynth vs Mpeg2source? Bud Avisynth Scripting 1 07-01-2002 05:56 PM

Thread Tools



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