Quantcast Avisynth: How to Filter Away these Things? - digitalFAQ.com Forums [Archives]
  #1  
08-19-2003, 04:12 PM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
I guess u c what i mean...

Script:
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")

AviSource("some.avii")
ConverttoYV12()
BlindPP()
GripCrop(480, 480, source_anamorphic=false)
GripSize(resizer="BicubicResize")
GripBorders()

pic 2+3 were taken via vdub
pic 1 was taken via the print key in fullscreeen mode

Pic1: ceyling (is it spelled that way... i mean the opposide of floor)
Pic2: the sky
Pic3: the seat



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  
08-19-2003, 05:41 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
The only way is to take the original DVD and make the KVCD from there.
Sorry but this Divx was made with the feet.
Reply With Quote
  #3  
08-19-2003, 05:48 PM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
The DivX is FINE!!!!
Its just the script... somehow won't give me proper results (ehwn viewing it)... although it doesn't do much...


I am currently trying sth else:
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\undot.dll")
LoadPlugin("C:\Filters25\vaguedenoiser.dll")
AviSource("F:\some.avi",false)
undot()
VagueDenoiser(threshold=0.8)
mergeluma(unfilter(30,30))
BicubicResize(352, 256, 0, 0.6, 8, 0, 624, 256)
AddBorders(0, 112, 0, 112)




BTW:
Vaguedenoiser got quite fast!
Reply With Quote
  #4  
08-19-2003, 05:52 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
hi razorblade2000,

This is one of those buggy codec issues w/ AVS and color space.

Scenario 1
Another cause could be... your codec and AVS color space.. and/or a combo
of how AVS is utilizing your codec and the filters color space, or some
filter converter you used ie, ConvertToYV12 etc.. Sometimes, it's just a
simple filter removal or upgrade change that fixes everything. Anyways..

Scenario 2.. virtualdub..
FWIW, on my 2nd pc, if I feed in any kind of .avi source (any kind) and
I press the first button, [>>1] and viewed the source, it would
show similar to yours, "solar flare'like" (or 16k color output)
But, if I press the second button after it, [>>0] it would show the
true colors. Some kind of setup issue going on their. I've never ben able
to figure out:
* What causes it, and
* How to fix it.
.
.
On my main pc, I can press either button, and the color quality is the same
througout.. 24bit colors.


Now, this color issue could be caused by Scenario 1 only, or it could be
from Scenario 2, OR a combination of the two.


If you decuce that Scenario 1 is your main problem, then you'll have to
figure out what is causing this to happen. It could just be that vdub is
not setup properly or just doesn't like your source, but that you can continue
w/ your AVS script inside TMPG

If you deduce that Scenario 2 is your issue, then that's a simple fix..
just DON'T press the first button. Encoding will be fine (cross your fingers)


Note, be warey about Satellite captures.. as they suffer this slight color
annoyance to some degree too (for other reasons like low bitrate, for instance)

I hope the above made some sense of it all.

Good luck,
-vhelp
Reply With Quote
  #5  
08-19-2003, 05:54 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
It's a color space issue (CODEC) from DivX -> MPEG conversion.
I wouldn't even bother with that DivX

-kwag
Reply With Quote
  #6  
08-19-2003, 06:06 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
Hi again Razor..

Boy, do I feel a bit domb cause I did not read your script source
correctly (was deduced by others as a divX) I should have realized this
from getgo.

Although my other response may serve some use in your case, chance
are, that it may not just as well. As others indicated, it could just be the
divX source. I know, I know.. but it plays well, and you don't notice any
thing.. untill you get ready to encode it

If you are really stumped by this issue, and you can't resolve it, then might
I suggest you do an experiment of your own, and do a DVD rip (hopefully
of the same Movie) and if at all possible, use the same method that was
used by that divX source - - like you'll problably not find the method. But,
give it a try, so that you can see for sure (w/out a doubt) that it was either
the source, or the system/codec issue described above

Good luck again, my friend,
-vhelp
Reply With Quote
  #7  
08-19-2003, 06:14 PM
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 Razorblade2000
The DivX is FINE!!!!
Its just the script... somehow won't give me proper results (ehwn viewing it)... although it doesn't do much...
Oh ! I thougth you took the pictures directly from the avi, not from the filtered result. Sorry.

Go see the thread I suggested to you in an other post, I think it will be good.
Reply With Quote
  #8  
08-19-2003, 06:14 PM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
somehow seems to work fine with the new script...


BTW.
Which codec does avisynth take? vfw or dshow? (-->divx or ffdshow... my divX CODEC is quite old I guess as I dont use/update it often)
Reply With Quote
  #9  
08-19-2003, 06:16 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Avisynth always take codec with "avisource" command, and directshowfilter with "directshowsource" command.
Reply With Quote
  #10  
08-20-2003, 05:22 AM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
Hmmm... funny... converttorgb24() at the end seems to make everything ok :?:

using this script atm:

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


m_width=480
myoverscan=2

AVISource("some.avi",false)
Converttoyv12()

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_a namorphic=false)
GripSize(resizer="lanczosresize")
GripBorders()
converttorgb24()



EDIT:
works fine without converttorgb24() now too?!? I don't really understand...
Reply With Quote
  #11  
08-20-2003, 05:28 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Edited : (no more relevant)
Reply With Quote
  #12  
08-20-2003, 05:52 AM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
Only a converttoyuy2() seems to give me these strage colors
Reply With Quote
  #13  
08-20-2003, 06:00 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
You shouldn't do any convert at all :

1/ all the gain of avs2.5 upon avs2.08 is based on the work in YV12 colorspace : it's better, it's faster.
Every script should start with a convertToYV12 like yours. But ...

2/ last divx and xvid codecs give output directly in YV12, so you should install these last version and remove the "convertoYV12" of your script !

Note: to see if you have a yv12 compatible codec on your HD just do this :

Code:
Avisource("somefile.avi")
Subtitle(String(IsYV12()))
Open this in wmp, if you have "True" in the left top corner of the picture, that means that you are already in YV12 colorspace after the avisource. If not, that means that you need a "convertToYv12" or to change your codec (as told in point 1 and 2 above).
Reply With Quote
  #14  
08-20-2003, 10:12 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
Everyone seeing all the constant DivX problems
I'm really getting tired (and bored) of DivX(XviD) topics (and problems)
Maybe KVCD.Net should just "drop" DivX topics completely, and concentrate on "Advanced Video conversion" as our title on the top of the forum says
Which means conversions from high quality MPEG-1/2, MJPEG/HuffYUV captures, etc. NOT third generation loosy (MPEG-4) conversions
Sorry, but I just had to let the steam out, as I'm seeing too many "DivX" related posts lately

-kwag
Reply With Quote
  #15  
08-20-2003, 10:50 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
Everyone seeing all the constant DivX problems
I'm really getting tired (and bored) of DivX(XviD) topics (and problems)
Maybe KVCD.Net should just "drop" DivX topics completely, and concentrate on "Advanced Video conversion" as our title on the top of the forum says
Which means conversions from high quality MPEG-1/2, MJPEG/HuffYUV captures, etc. NOT third generation loosy (MPEG-4) conversions
Sorry, but I just had to let the steam out, as I'm seeing too many "DivX" related posts lately

-kwag
@ all friends:

excuse me to write this but...
i don't like divx,and don't have!

one of the reasons?
or the color of the skin it too green or like a lobster(red wine?)
(see the avatar colors of Phil and Wolfi...seems from divx)

another?
hard to re encode!

more?
need more?
ok,don't play in my (and tons) dvd players!

Reply With Quote
  #16  
08-20-2003, 05:31 PM
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
one of the reasons?
or the color of the skin it too green or like a lobster(red wine?)
(see the avatar colors of Phil and Wolfi...seems from divx)
It's a normal and known problem of NTSC (Never Twice the Same Color). It's not to a electronic pro that I will learn that

And my avatar is yellow, all yellow. It is not green or red, it's yellow. And it's a special, wanted, effect. Not a problem of divx

For the other thing, I agree with Kwag. I'm also pissed of seeing a thread starting by "Hello, I'm a newbie, I just download a divx and I want to make a KVCD from there".

Do newbies never see (and understand, if it's not too much for them) disclamers ?

For my part I won't give anymore help for Divx.
Reply With Quote
  #17  
08-20-2003, 07:25 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
Hi guys..

@ Dialhot..

Jorel wrote:
Quote:
one of the reasons?
or the color of the skin it too green or like a lobster(red wine?)
(see the avatar colors of Phil and Wolfi...seems from divx)
I have to admit, I'm w/ Jorel on this too. I thought it WAS << GREEN >>
But, thanks to you, and now that I've had a closer L K I can clearly
see that it's << YELLOW >> !!

Take it easy all,
-vhelp
Reply With Quote
  #18  
08-20-2003, 08:13 PM
Dano Dano is offline
Free Member
 
Join Date: Apr 2003
Location: Brockton, MA
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
You must have RGB24 input to TMPGenc. I used to get similar color problems with mpeg-2 TV caps and now add ConvertToRGB24() to the ends of my scripts and get correct colors. The problem arises when the convertto command is not present because then the Windows compressor is called upon and it does a poor job at it (what a surprise huh?). An added bonus is you get a decent speed increase as well. Have yet to try this and see if it makes any difference on DVD backups.
__________________
-Dano
Reply With Quote
  #19  
08-20-2003, 09:31 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
@ Phil and vhelp.

the avatars was used as example,let me try to explain better...
Phil avatar:
to turn the color of the skin yellow,
was needed more green to got the yellow result.
Wolfi avatar:
to turn the color like "lobster",
was needed more "red wine"(more magenta/dark red),
to got this result.

again was my poor english...
better if i was wrote:
"or the color of the skin have too green or ..."
and i wrote.."seems from divx",
and not "came from divx" .

was better or worse my "explanations"?!?!?

resuming:
divx ever change the general matizes....
in the skin have more green or more "red wine"(lobster color)!

better now my friends?

sorry my poor english,please.
Reply With Quote
  #20  
08-20-2003, 09:37 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
To me, DivXs look like they have an unnatural transparency
I don't know exactly what it is, but it doesn't look natural.
It does a wonderful job on very low bitrates, but it sucks on high speed motion. Even MPEG-1 scales better than MPEG-4 on high bitrates

-kwag
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
HCenc: Some things to HC v0.15b Encoder Master Video Encoding and Conversion 10 06-25-2005 06:56 AM
Avisynth: HQdn3d - mplayer filter ported to avisynth incredible Avisynth Scripting 1 10-25-2004 09:51 AM
The gender of non-living things. kwag Off-topic Lounge 0 08-15-2004 12:16 AM
Avisynth: Need clip filter & dust filters for avisynth nighthawk Avisynth Scripting 3 01-31-2004 12:24 PM
Avisynth: Auto crop using avisynth filter beta? black prince Avisynth Scripting 6 11-28-2002 08:51 AM

Thread Tools



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