Quantcast Removing Dcts in the Source - Page 3 - digitalFAQ.com Forums [Archives]
  #41  
08-15-2003, 06:41 PM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
I'm looking forward to try your new divx script who seems great, at least what I've read Maybe you'll get some more question about aviS. 2.5x, I have'nt tried it out yet so be prepered

//Wolfi
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
  #42  
08-16-2003, 01:02 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
I combined girv and DialHot script with lanczos resize:

Blockbuster(method="noise",detail_min=1,detail_max =8,variance=0.3,seed=5823)
ATC(1,2,4,0.5,false)
TemporalSoften(2,7,7,3,2)
Blockbuster(method="noise",detail_min=1,detail_max =10,variance=0.5,seed=5823)
lanczosresize(720,272).addborders(0,104,0,104)

And got great results! Very sharp but not oversharp. Most dancing blocks gone! Great! All be using this for all DivX sources now!

[]'s
Vmesquita
Reply With Quote
  #43  
08-16-2003, 01:12 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Hey, you just removed undot from my script and didn't even quote my name beside girv's. You are a cheater
Reply With Quote
  #44  
08-16-2003, 01:28 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Oh, sorry DialHot!

Just edited and fixed! I am loving this thread! Thanks DialHot and girv for such amazing results! Much better than the stuff I was using before.

[]'s
Vmesquita
Reply With Quote
  #45  
08-16-2003, 04:43 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Ok guys i just tried this script

Quote:
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\blockbuster.dll")
LoadPlugin("C:\Filters25\atc.dll")



AviSource("C:\My Movie.avi")
Blockbustermethod="noise",detail_min=1,detail_max= 8,variance=0.3,seed=5823)
ATC(1,2,4,0.5,false)
TemporalSoften(2,7,7,3,2)
Blockbustermethod="noise",detail_min=1,detail_max= 10,variance=0.5,seed=5823)
LanczosResize(496, 318, 6, 0, 532, 28.AddBorders(16, 81, 16, 81)
with the same cq(70) as a movie i encoded last week with the motionAdaptive script and my results seem to be a lot better wiht the motion script?

The picture is a lot sharper and i seem to get less of the dancing blocks(can someone point these out to me somewhere because i don't know if i'm looking for the right thing)with the otimal script.

Now in short everyone is getting better results with the scripts in this thread except me and i can't figure it out.
Reply With Quote
  #46  
08-16-2003, 04:55 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
The script is better for removing defaults introduced by former avi compression : uggly blocks in flat uniform colored area that are generaly in the background (walls, dark areas, dancing lights...)

Depending the quality of your source, it's possible that you don't have any of these defaults present in the avi, so you don't see the benefit

BTW, don't you have a sample smaller with this script than with the MA one ? That mean that the final CQ for the complete movie will be upper, and so the quality better.

Note: did you copy/paste your script or just type it by hand ? Because it's full of errors and can't run like this
Reply With Quote
  #47  
08-16-2003, 05:52 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
@ Dialhot

Thanx for the reply

first off it is a very clean avi,also i figured it would be a different cq but i just loaded the avs into tmpge and hit start.

also about the script i did copy and paste but it kind of got screwed up but could you please point out all the errors .(it did run in tmpge no problem)

Thanx
Reply With Quote
  #48  
08-16-2003, 05:58 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Simple : in the two "blockbuster" lines, the opening parenthesis is missing (between "blockbuster" and "method")

PS: Ontario ? So the power is back again tonight ?
Reply With Quote
  #49  
08-16-2003, 06:40 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Thanx Dialot,yea that was just an error on my part but the opening parenthesis are in my script.

We got our power back as of 3 pm Friday (we were powerless for just over 23 hours)it was horrible the temperatures were in the high 80's but i guess it could have been a lot worse.

Thanx again
Reply With Quote
  #50  
08-18-2003, 12:32 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
I just would like to announce that I added the script I used to my DivX/DVD to KDVD/KSVCD using CCE/Tmpgenc Guide as the DivX suggested Script! Thanks Girv and DialHot!

[]'s
Vmesquita
Reply With Quote
  #51  
08-19-2003, 02:24 PM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
I just need to make some questions clear for me

1. In this new script (this is such a noob question I'm to used with 2.0x), were should I write my resolution, I can only see this command m_width, 480, sould'nt it also be
Code:
m_height, 540,
or whatever res. you want to use, so if I want 540x480 how should I write

Code:
AVISource(movie,false) 

#Post-Process 
Blockbuster(method="noise",detail_min=1,detail_max=8,variance=0.3,seed=5823) 
ATC(1,2,4,0.5,false) 
TemporalSoften(2,7,7,3,2) 
Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.5,seed=5823) 

#Resize, overscan and borders 

gripCrop(m_width, 480, overscan=myoverscan,source_anamorphic=false,dest_anamorphic=false)
GripSize(resizer="lanczosresize") 
GripBorders() 

#Subtitles # 
############ 
TextSub(subtitle) # Add a # in the begining of this line if you don't need subtitles. 

converttoyuy2()
2. Should I use "Higher quality" or "Motion Estimate fast" or is "Motion Estimate" something you dont use with divx sources?

//Wolfi
Reply With Quote
  #52  
08-19-2003, 03:41 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
WHERE DID YOU FIND THIS SCRIPT ???

The two firts parameters of gripcrop are the width and the height;
So you have to write Gripcrop(540,480,..........)

Note: seeing the script I'm quite sure that you have a line "m_width = 540" somewhere at the top of the script and you missed it !
Reply With Quote
  #53  
08-19-2003, 04:11 PM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
Quote:
Originally Posted by vmesquita
I just would like to announce that I added the script I used to my DivX/DVD to KDVD/KSVCD using CCE/Tmpgenc Guide as the DivX suggested Script! Thanks Girv and DialHot!

[]'s
Vmesquita
Okej I found it in the DivX/DVD to KDVD/KSVCD guide. And now I can see what misstake I did. Sorry bothering you

//Wolfi
Reply With Quote
  #54  
08-19-2003, 05:38 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Don't worry Wolfi, you're not boreing me. I was just surprised about this script I never seen before. That's all
Reply With Quote
  #55  
08-19-2003, 06:12 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
@Dialhot
As I announced, I added this script to my guide as the DivX script. This is the complete version:
-----------------------------------------------------------------------------
################################################## ####################
# Based on Optimized Script to remove DCT Blocks by Girv and DialHot #
################################################## ####################
##############
# Parameters #
##############
#Use 720 or 352 to KDVD, 528 352 to K(S)VCD
m_width=720
subtitle="name_of_the_subtitle.smi" # Add a # in the beginning of this line if you
#don't need subtitles.movie="name of the movie.avi"
myoverscan=1 # Test values from 0 to 3 here. Bigger files produce more quality but #a value too big will cause undesirable black borders on your TV.



##########
# script #
##########
AVISource(movie,false)

#Post-Process
Blockbuster(method="noise",detail_min=1,detail_max =8,variance=0.3,seed=5823)
ATC(1,2,4,0.5,false)
TemporalSoften(2,7,7,3,2)
Blockbuster(method="noise",detail_min=1,detail_max =10,variance=0.5,seed=5823)

#Resize, overscan and borders

gripCrop(m_width, 480, overscan=myoverscan,source_anamorphic=false,dest_a namorphic=false)
GripSize(resizer="lanczosresize")
GripBorders()

#Subtitles #
############
TextSub(subtitle) # Add a # in the begining of this line if you don't need subtitles.

converttoyuy2()
---------------------------------------------------------------------------

@Wolfi
There's no variable for height since it's always 480. Ok you could use 320x240, but that's not very likelly. Use High Quality, Motion Estimate is just for the MA script which I don't recommend with DivX sources.
Reply With Quote
  #56  
08-19-2003, 10:13 PM
incognito incognito is offline
Free Member
 
Join Date: Jul 2003
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
I'm going to give it a try on an AVI tonight.
__________________
I own a Philips DVD 701. NTSC.
Reply With Quote
  #57  
08-20-2003, 09:08 AM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
Okej that script is written for dvd2svcd right but if I want to use this script for avisynth v2.52 and tmpgenc should it look like this then. You'll have to tell me if I'm wrong

Code:
LoadPlugin("C:\Filters\MPEG2Dec3.dll") 
LoadPlugin("C:\Filters\atc.dll") 
LoadPlugin("C:\Filters\ASharp.dll") 
LoadPlugin("C:\Filters\Blockbuster.dll") 

AVISource("C:\movie.avi,false")  

Blockbuster(method="noise",detail_min=1,detail_max=8,variance=0.3,seed=5823) 
ATC(1,2,4,0.5,false) 
TemporalSoften(2,7,7,3,2) 
Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.5,seed=5823) 

gripCrop(m_width, 480, overscan=myoverscan,source_anamorphic=false,dest_anamorphic=false) 
GripSize(resizer="lanczosresize") 
GripBorders() 

TextSub("C:\movie.srt") 
converttoyuy2()
Confused

This part makes me SO CONFUSED
Code:
gripCrop(m_width, 480, overscan=myoverscan,source_anamorphic=false,dest_anamorphic=false) 
GripSize(resizer="lanczosresize") 
GripBorders()
If I want to use this new divx script in tmpgenc and not dvd2svcd should I then replace the "gripCrop" line with this line if I want the resolution 540x480
Code:
lanczosresize(540,480).addborders(my_values)
god help me out....

//Wolfi
Reply With Quote
  #58  
08-20-2003, 09:14 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Wolfi, the line
Code:
gripCrop(m_width, 480, overscan=myoverscan,source_anamorphic=false,dest_anamorphic=false)
is tied to an other line in the top of the script that you missed !
Code:
#Use 720 or 352 to KDVD, 528 352 to K(S)VCD
m_width=720
That is the line to modify if you want to use the script correctly.

In fact you can either write
Code:
m_width=540
gripCrop(m_width, 480, overscan=myoverscan,source_anamorphic=false,dest_anamorphic=false)
Or a shorter (and less confusing) way :
Code:
gripCrop(540, 480, overscan=myoverscan,source_anamorphic=false,dest_anamorphic=false)
And you can use this directly in tmpgenc.

Note: you missed also the line where "myoverscan" is defined. Look at the top the original script of vmesquita carrefully.
Reply With Quote
  #59  
08-20-2003, 09:56 AM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
Then I will try again :P

Code:
LoadPlugin("C:\Filters\MPEG2Dec3.dll") 
LoadPlugin("C:\Filters\atc.dll") 
LoadPlugin("C:\Filters\ASharp.dll") 
LoadPlugin("C:\Filters\Blockbuster.dll") 
LoadPlugin("C:\Filters\VSFilter.dll")

AVISource("C:\movie.avi,false") 

Blockbuster(method="noise",detail_min=1,detail_max=8,variance=0.3,seed=5823) 
ATC(1,2,4,0.5,false) 
TemporalSoften(2,7,7,3,2) 
Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.5,seed=5823) 

gripCrop(540, 480, overscan=2,source_anamorphic=false,dest_anamorphic=false)

GripSize(resizer="lanczosresize") 
GripBorders() 

TextSub("C:\movie.srt") 
converttoyuy2()
Now I have four questions

1. Can you see errors in the script or is the whole structure wrong

2. I need VSFilter to be able to add subtitles right

4. Can you tell me if these .dll files are the only ones I need: MPEG2Dec3.dll, Blockbuster.dll, atc.dll, VSFilter.dll and ASharp.dll. Or do I need ASharp.dll

3. What differences is it between "false" and "true"

//Wolfi
Reply With Quote
  #60  
08-20-2003, 10:09 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 Wolfi
1. Can you see errors in the script or is the whole structure wrong
Yes I do

It's not AVISource("C:\movie.avi,false") but AVISource("C:\movie.avi",false)

Quote:
2. I need VSFilter to be able to add subtitles right
Yes.

Quote:
4. Can you tell me if these .dll files are the only ones I need: MPEG2Dec3.dll, Blockbuster.dll, atc.dll, VSFilter.dll and ASharp.dll. Or do I need ASharp.dll
As you can see, "asharp" is never used in the script so you do not need to load the corresponding dll

Quote:
3. What differences is it between "false" and "true"
The same than between "black" and "white", or "day" and "night" )
Can you be more precise in your question ?

[/i]
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Subtitles from video? cpietrio Subtitles 7 08-06-2004 09:33 AM
DVD2SVCD: Removing credits from dvds before encode jorel Video Encoding and Conversion 0 06-12-2004 11:11 AM
VirtualDub: Help removing logos the_tone76 Video Encoding and Conversion 1 03-08-2004 12:46 PM
Removing vocals from music black prince Audio Conversion 2 09-23-2003 09:00 AM
KVCD: Best method for removing blockiness in still/dark areas? Reno Video Encoding and Conversion 1 04-05-2003 07:26 AM

Thread Tools



 
All times are GMT -5. The time now is 02:46 PM  —  vBulletin Jelsoft Enterprises Ltd