Quantcast Avisynth: Dctfilter - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
04-01-2004, 11:05 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
here i go again...

simple script:

xxxResize(352, 176, 0, 0.6, 0, 0, 720, 480) # no matter if bicubic,lanczos,bilinear!
# with or without other filters here or in other positions
DCTFilter(1,1,1,1,1,1,0.5,0)
AddBorders(0, 32, 0, 32) # the borders was used only to realce the problem
trim (xx1000,xx2000) # choose the scene to encode ( ~41 seconds )


i see thin light lines from top to bottom next to left and right blackborders,
removing the DCTFilter(1,1,1,1,1,1,0.5,0) from the script,
the thin light lines disappear!

i see easily in 352X240 (ntsc) but is hard to see in 7??X480 !
can someone do samples with each situation and post the result please?

if you want to test to see the "light lines", you need to encode and play, ok?
don't wait to see it loading the script in vdub,
encode a sample and see in a player like powerdvd !


thanks in advance!
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  
04-01-2004, 11:09 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
DCTFilter bug
Reply With Quote
  #3  
04-01-2004, 11:17 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
DCTFilter bug
yes.....it's like "ghosts" in tvs with bad antenas....!
Reply With Quote
  #4  
04-02-2004, 06:02 AM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
I have never experienced the phenomenon you're describing but on the other hand I almost never use DCT filter - I think it removes far too much of the fine details in the video.
But - it's good to be informed about bugs .
__________________
AudioSlave
Reply With Quote
  #5  
04-02-2004, 06:15 AM
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
audioslave wrote:
"I have never experienced the phenomenon you're describing but on the other hand I almost never use DCT filter"

...of course....!

audioslave my friend...you're a joker....
cool...
Reply With Quote
  #6  
04-02-2004, 07:04 AM
GFR GFR is offline
Free Member
 
Join Date: May 2002
Posts: 438
Thanks: 0
Thanked 0 Times in 0 Posts
Jorel,

I've also seen this effect. It's like DCT filter adds some "ringing" (gibbs) around the borders.

Kwag,

I'd not call this a "bug"... it's a direct result of how the filter works (you cut off high frequencies, Gibbs has to appear).
Reply With Quote
  #7  
04-02-2004, 07:35 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
Jorel you should post a pic (cause now I only can assume), as I never noticed a "bug" in DCT Filter.

As GFR said, ... DCTFilter does exactly the same as when applying a very high frequency cutting matrix. Now Jorel just change DCTFilter from ...

DctFilter(1,1,1,1,1,1,0.5,0)

to ...

DctFilter(1,1,1,0.5,0,0,0,0)

you see what happens? The horizontal resolution wont be touched effectively BUT the horizontal frequenzies will be dropped more and more the higher the frequencies get Seems like a Movie pic scaled to half width and afterwars rescaled to full width just pointResize() used

And thats why when applying a DCTfilter using strong highfreq. settings on a stream where that one gots for exmple only 352 as width, ... the high frequencies at that width are very importand as they will be scaled 2x for watching on a full size res. TV. .... And therefore 352x288(240) could appear more blurry as a rescaling to full resolution on a TV is much more softer as for example a more precise Bicubic resize ..... which for example is a very importand advantage WHY we got that benefit of Notch matrixes etc.
Reply With Quote
  #8  
04-02-2004, 08:11 AM
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
GFR,
you wrote the "right words" !


ink,
i did using DctFilter(1,1,1,0.5,0,0,0,0)....
is really worse!...the "light lines" (ghosts) are big....i need a exorcist priest .

then is better don't use DctFilter in 302X240 or change the parameters?
send recomendations please ink !


<edited>
sorry ink, i don't know how post the pictures here, (i need to learn)
...i can send by mail if you want it!
Reply With Quote
  #9  
04-02-2004, 09:24 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
@ Joel

the(dot)incredible(at)gmx(dot)net


Well I actually do not use DCTfilter at 352x288 encodings as the Notch already filters enough on that resolution ... but thats only IMHO.

But I do not have that much continously experience on 352x288(240) as they do only take 1% of all my encodings

Outside Germany I don't know but it seems that lycos.com does offer webspace easyely where you also can point to pic.jpg from a forum like in here.
Reply With Quote
  #10  
04-02-2004, 09:40 AM
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 incredible
But I do not have that much continously experience on 352x288(240) as they do only take 1% of all my encodings
And it's about 0.5% of my encodings

-kwag
Reply With Quote
  #11  
04-02-2004, 10:04 AM
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 incredible
But I do not have that much continously experience on 352x288(240) as they do only take 1% of all my encodings
And it's about 0.5% of my encodings

-kwag

and 90% of my encodes!
i got a dvd burner but still doing (cartoons) kvcd 320X240 for my kids!
or lame

do i still use DctFilter changing some parameters for kvcds (320X240)
or "trash it" for this resolution ?!?

ink,
thanks for the webspace links...you have pm!
Reply With Quote
  #12  
04-02-2004, 10:23 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 jorel
do i still use DctFilter changing some parameters for kvcds (320X240)
or "trash it" for this resolution ?!?
Trash it.

I did the same last week, after having read a thread from Inc on that subject . I tested, and he is right !
Reply With Quote
  #13  
04-02-2004, 10:31 AM
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
Quote:
Originally Posted by jorel
do i still use DctFilter changing some parameters for kvcds (320X240)
or "trash it" for this resolution ?!?
Trash it.

I did the same last week, after having read a thread from Inc on that subject . I tested, and he is right !
ok Phil !


thanks you all !

Reply With Quote
  #14  
04-02-2004, 10:32 AM
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 jorel

and 90% of my encodes!
i got a dvd burner but still doing (cartoons) kvcd 320X240 for my kids!
or lame
That's fine

-kwag
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Blockbuster Vs DCTfilter? supermule Avisynth Scripting 7 10-13-2005 07:09 AM
KVCD: DCTFilter? nicksteel Video Encoding and Conversion 7 08-25-2004 03:57 AM
DCTFilter clagraca Conversão e Codificação de Vídeo (Português) 8 04-15-2004 03:16 PM
Avisynth: DCTFilter a Winner? Jellygoose Avisynth Scripting 12 06-30-2003 04:20 AM
Avisynth: DCTFilter? Wolfi Avisynth Scripting 2 04-27-2003 11:04 AM




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