Quantcast Avisynth: Anyone Put the Matrix Reloaded on KVCD? - digitalFAQ.com Forums [Archives]
  #1  
10-20-2003, 05:26 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
...on 1CD?
And if so, could you please post the script along with info on CQ etc.?
__________________
AudioSlave
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  
10-20-2003, 07:10 PM
muhali3 muhali3 is offline
Free Member
 
Join Date: Sep 2003
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
I did it with this script, the quality was ok, and i got a CQ of 66.34. I just used Dialhot's Avi2kvcd script and switched some stuff around. My final size was 792.65 MB. I just got the DVD 2 days ago

Code:
AviSource("c:/matrix.avi") 
BlindPP() 
GripCrop(480, 480, overscan=1, source_anamorphic=false) 
GripSize(resizer="LanczosResize") 
Undot() 
Deen("a2d",2,10,12)
TemporalSoften(2,2,7,15,2)
DCTFilter(1,1,1,1,1,1,0.5,0) 
Blockbuster(method="noise",detail_min=1,detail_max=8,variance=0.3,seed=5823) 
GripBorders()
Reply With Quote
  #3  
10-20-2003, 07:46 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
@muhali

Thank you. I'm guessing my problem is that my source DVD is PAL. I'm losing quite a bit in CQ right there. BTW didn't you encode a DVD source?
Another question: Why didn't you use the MA script Or an adaptive script...
__________________
AudioSlave
Reply With Quote
  #4  
10-20-2003, 08:08 PM
muhali3 muhali3 is offline
Free Member
 
Join Date: Sep 2003
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
yeah i encoded a ntsc dvd source, i guess i messed up the file name.
I didn't use the MA Script because whenever i use it Avisynth gives an error message when it gets like 4mins into the source. The script that i have there is also very fast when compared to the MA script. I have a slow computer (1.1GhZ) so its more convenient, but if you have a fast computer (around 2.4GhZ) use VagueDenoiser. ok whatever.
Reply With Quote
  #5  
10-21-2003, 05:03 AM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
Hi muhali3 i agree with you there i only have a Pentium3 @933 Mhz and if i convert a DivX Movie it takes 3-4 hours but the DVD Source MA script is double that about 7-8 hours.

What DivX codec did u use? I usually use Xvid codec.
__________________
Regards.

Michael.
Reply With Quote
  #6  
10-21-2003, 04:06 PM
muhali3 muhali3 is offline
Free Member
 
Join Date: Sep 2003
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
i don't really get what you mean when you say what divx codec did i use, i use the one that everyone uses
Reply With Quote
  #7  
10-21-2003, 04:46 PM
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
@ Audioslave

Try a combination of higher spatial filtering like deen does and the MA routine incl. DCT

Code:
##################################### 
nf = 0 
#Mpeg2Source("Your_D2V_Source_Here") 
# 
undot() 
Limiter() 
# asharp(1, 4) # only if really needed! 
GripCrop(Your_GripCrop_Parameters_Here) 
GripSize(resizer="BicubicResize") 
deen("a2d",2,8,10) 
MergeChroma(blur(1.50)) 
MergeLuma(blur(0.1)) 
# 
###################################### 
# 
SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2 
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \ 
unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ) : \ 
TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ") 
# 
###################################### 
# 
GripBorders() 
LetterBox(16,16,16,16) 
Limiter() 
DCTFilter(1,1,1,1,1,1,0.5,0) 
# 
###################################### 
# 
## Functions ### 
function fmin( int f1, int f2) { 
return ( f1<f2 ) ? f1 : f2 
} 
# 
######################################
Try without Blockbuster at the end cause blockbuster just adds fine noise to give information at plain surfaces to the encoder so it avoids Blocks.
But as your source is clean DVD you will get even more CQ without blockbuster ... just try a prediction with and without blockbuster and preview the predicted sample by this you see the quality and the resulted CQ
Reply With Quote
  #8  
10-22-2003, 11:57 AM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you for all your help. The thing is that no matter what I try the CQ seems to stop just below 56. Isn't there any "magical" filter I can try, except Deen and VagueDenoiser to crank up the CQ a bit more? Otherwise I'll just gonna have to lower the resolution (I'm testing with 480x576 at the moment).
__________________
AudioSlave
Reply With Quote
  #9  
10-22-2003, 01:31 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Did you try to lower the audio to 112 kb/s ? Raise the overscan ? Raise the blur on the Luma ?

You never gave us your script so its hard to see where we can enhance it !

You ask for "Magic filters except Deen or VagueDenoiser". They are magick : why don't you want to use them ?
Reply With Quote
  #10  
10-22-2003, 02:04 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
I have tried with both Deen and VagueDenoiser but they didn't raise the CQ enough.
Okay here's the script I'm using (Dialhot's BTW!):
Quote:
nf=0

MPEG2Source("D:/The Matrix Reloaded.d2v", cpu=4, ipp=false)

GripCrop(480, 576, overscan=2, source_anamorphic=true)
GripSize(resizer="LanczosResize")
UnDot()
Deen("a2d", 2, 10, 12)
#STMedianFilter(8, 32, 0, 0)
MergeChroma(blur(1.58 ))
MergeLuma(blur(0.1))

SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = round(YDifferenceToNext())"+chr(13)+ "(nf >= SwitchThreshold) ? UnFilter(-(fmin(nf*2,100)),-(fmin(nf*2,100))) : TemporalCleaner(6+nf,13+nf) ")

GripBorders()
DCTFilter(1, 1, 1, 1, 1, 1, 0.5, 0)

function fmin(int f1, int f2) { return (f1<f2) ? f1 : f2 }
Any suggestions, please?

BTW Dialhot, this is the script I PM'ed you about...
__________________
AudioSlave
Reply With Quote
  #11  
10-22-2003, 02:14 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
I didn't understood you were using it for a DVD source.

use cpu=6 insteed of cpu=4
use mergeluma(blur(0.2))
use Bicubic insteed of Lanczos

But try that one by one : if you use all of them at the same time, I guess the picture will be to soft for your eyes.


Note: and for the sound ?
Reply With Quote
  #12  
10-22-2003, 02:19 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
@Dialhot
I'm trying 112kbps for the audio...
Do you have any idea on why I get this error message in the CQMatic log:
Quote:
File size difference: -10690560.0
I think those numbers aren't supposed to be negatives, right?

P.S. Always from DVD sources...

EDIT: About the CQMatic error: What's really strange is that I have preview on in TMPGEnc and everything looks alright. No error messages at all...
__________________
AudioSlave
Reply With Quote
  #13  
10-22-2003, 02: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 Dialhot

use cpu=6 insteed of cpu=4

hey Phil,this is new for me

where i adjust this and for "what"
what this do?
Reply With Quote
  #14  
10-22-2003, 02:42 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
Hi jorel.

From what I understand this is a way for mpeg3dec to postprocess the movie. Sort of in a way that we manually do by processing the movie with all kinds of filters. Please correct me if I'm wrong.
And as you can see in my previous post, this is where you put the line in a script:
Quote:
MPEG2Source("D:/The Matrix Reloaded.d2v", cpu=6, ipp=false)
BTW ipp=false means that the source is progressive. If you want to use this for an interlaced source you'll have to write ipp=true.
__________________
AudioSlave
Reply With Quote
  #15  
10-22-2003, 02:47 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
AS audioslave explain, the "cpu=6" is in the mpeg2source line. But you can use it also in "blindPP" if you use this filter.

You can read the documentation of mpeg2dec3 to see what is the usage of the parameter "cpu".
Reply With Quote
  #16  
10-22-2003, 02:50 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


thanks audioslave and Phil.....
now i see in the mpeg2dec3 (v1.10) read-me:

cpu : 0 to 6.
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)

iPP :
To use Field-Based Post-Processing.
it' better if you want to deinterlace
- True : Field based
- False : Image based (default)

....and some more hints.....


edited>
thank you too Phil
we post at the same time.
Reply With Quote
  #17  
10-22-2003, 06:44 PM
EightBall EightBall is offline
Free Member
 
Join Date: Apr 2002
Posts: 167
Thanks: 0
Thanked 0 Times in 0 Posts
I am dazzled both by the knowledge and the cooperation of all the posters on this thread.

Truly, all of you are part of what makes this site so good. so different.

Last year, I just wanted to know how to burn a movie. No reason, just wanted to.
Now I want to know all about the field of video encoding. What a fascinating hobby, I feel so fortunate to have met Karl Kwag online, and eventually to have been a part of this site, where I got to meet so many of you. From the genius of Kwag,Dialhot,Boulder, so many others, the sheer professionalism of Kwag himself, the added super-friendliness of Jorel,vmesquita, many others, the willing helpfulness of rendalunit, jellygoose, muhali, incredible,and so many others.
This site has Character, and Personality.
This newbie, (I hate that word ) thanks you all. I feel fortunate to be among you. Why I havent been thrown out on my ear, I'll never know.
Reply With Quote
  #18  
10-22-2003, 07:03 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
EightBall,
i hate the word "newby" too....i'm newby (more than you).

but the best:
is a pleasure to have you as our friend (for me is too big)
(sorry my english,you know what i mean)!
Reply With Quote
  #19  
10-23-2003, 02:27 AM
EightBall EightBall is offline
Free Member
 
Join Date: Apr 2002
Posts: 167
Thanks: 0
Thanked 0 Times in 0 Posts
I know exactly what you mean, my friend. Thanks!
Reply With Quote
  #20  
10-23-2003, 06:52 AM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by EightBall
I am dazzled both by the knowledge and the cooperation of all the posters on this thread.

Truly, all of you are part of what makes this site so good. so different.

Last year, I just wanted to know how to burn a movie. No reason, just wanted to.
Now I want to know all about the field of video encoding. What a fascinating hobby, I feel so fortunate to have met Karl Kwag online, and eventually to have been a part of this site, where I got to meet so many of you. From the genius of Kwag,Dialhot,Boulder, so many others, the sheer professionalism of Kwag himself, the added super-friendliness of Jorel,vmesquita, many others, the willing helpfulness of rendalunit, jellygoose, muhali, incredible,and so many others.
This site has Character, and Personality.
This newbie, (I hate that word ) thanks you all. I feel fortunate to be among you. Why I havent been thrown out on my ear, I'll never know.
I couldnt of said it better myself and i agree with you 110%

This is an excellent forum friendly, helpful and what a fantastic community where like minded people help each other out and share what knowledge they have discovered along the way, i to am a newbie but have learned so much from the people you have mentioned in your post and would like to add my thank you to them also.
__________________
Regards.

Michael.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Notch matrix the default matrix from the KDVD template? jzhao66 Video Encoding and Conversion 2 06-29-2005 03:25 AM
KVCD: Matrix and GOP? Prodater64 Video Encoding and Conversion 15 12-23-2004 04:17 PM
KVCD: Help with The Matrix break Video Encoding and Conversion 9 07-15-2003 06:40 AM
KVCD: tweaked Matrix vs. GOP vs. avisynth? r6d2 Video Encoding and Conversion 1 06-10-2003 04:29 PM
Old KVCD Matrix verses new Notch Matrix jamesp Avisynth Scripting 4 03-20-2003 03:48 PM

Thread Tools



 
All times are GMT -5. The time now is 09:04 AM  —  vBulletin Jelsoft Enterprises Ltd