Quantcast Avisynth: Weird Artifacts During Scene Changes? - Page 2 - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #21  
07-06-2003, 04:19 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
Thanks Peter,

I saw your other post

-kwag
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
  #22  
07-06-2003, 04:40 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
hi zes..

I was trying to get back to you sooner, but I kept getting disconnected.
Anywyas, gave me time to do more encode test on your issue.

I've ben checking out "Ice Age" (my dvd disk) and those that I did do, did
not present any issues. I've pretty much tried all the MAS version there
has ben put out since last week. Actually, only issue I did find was w/ a
tad of bleeding in just one scene.. which led me to believe it was a GOP
thing cause when I changed it, it was virtually gone. But, I didn't experience
ay of your issues so far.

Below is a clip I did just to show you I wasn't getting the same issues as
you. You must be pushing the params in the MA part to extreams or
something, maybe.

My process was simple.
* dvd rip: "Ice Age"
* dvd2avi w/ Force Film on
* AVS script, into
* vdubMOD, and
* frameserved into TMPG,
.
.
* TMPG w/ 23.976 / 544x480 / VBV:56 / CQ:50 / bits:0300x2500
.
.
* MUXed aud/vid w/ bbMPEG w/ (o) MPEG-1 selected and defaults

Can't think of anything else

SAMPLE vhelp.zes.ma+.filter.mpg

Good luck.
-vhelp
Reply With Quote
  #23  
07-06-2003, 07:18 PM
Peter1234 Peter1234 is offline
Free Member
 
Join Date: Feb 2003
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
vhelp,
Off subject, but I couldn't resist. When I play your 544x480 mpeg1 sample in Windows media player 6.4 it plays full screen. But, when I encode mpeg1 at 544x480 it plays in a smaller window. What do you do to get full screen playback?
Reply With Quote
  #24  
07-06-2003, 07:28 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ Peter1234..

I'm not sure I understand you.

I don't use Media Player. But, I have tested the sample, cause you asked
the question, and I was curious. Here's my result:

* when i first opend the .mpg file in media player, it was centered inside
...the window, and you could see black borders on all sides.
* when I Right-Clicked inside video window, and selected FullScreen,
...the video played WideScreen, as it should have !!

I guess you are using media player for your testings. But, you shouldn't
limit yourslef to media player. You should have PDVD and WDVD too.

When I make my test encodes, they are usually MPEG-2, but since I was
demo'ing 'ZES' what sample, I did it in the usual/familiar way that he and
others here were most comfortable with.. and based on the AD-1500 player,
case they wanted to test play it on their DVD player !! So, I made the MPEG-1
sampe instead.

But, a tip from me to you (and all) is I do my final resizing in TMPG
hahhhahhhh!!! you say, "final" in tmpg ?? Yes!! That's my magic. hehe..
That's all I'm gonna say on the subject

Hope that help some.
-vhelp
Reply With Quote
  #25  
07-06-2003, 07:52 PM
Peter1234 Peter1234 is offline
Free Member
 
Join Date: Feb 2003
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks vhelp,
The same thing happens for me with your sample. But even when I do my final resize in TMPGEnc, when I click full screen it doesn't really go to full screen but is in a black box that is smaller than full screen. I'll play around a see if I can figure it out.
Reply With Quote
  #26  
07-06-2003, 07:59 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ Peter1234..

Are you saying that you don't like WideScreen play (black bars) ??

It took me some time, to realize that Widescreen is pretty good to look at.
I was soo caught up in the Fullscreen play of TV shows and whatnots.

Today, I'm a different person. I like (and prefer) Widescreen sources.
Not to mention, that it's a bonus in our final: filesize and encoding quality

-vhelp
Reply With Quote
  #27  
07-06-2003, 08:28 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
Quote:
Originally Posted by Peter1234
When I play your 544x480 mpeg1 sample in Windows media player 6.4 it plays full screen. But, when I encode mpeg1 at 544x480 it plays in a smaller window. What do you do to get full screen playback?
Use WinDVD or PowerDVD to playback your samples. Don't use WMP for playback. It's a CODEC related issue

-kwag
Reply With Quote
  #28  
07-06-2003, 08:42 PM
Peter1234 Peter1234 is offline
Free Member
 
Join Date: Feb 2003
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
It appears the sample was recorded using 544x480 frame size and 16:9 525 line (NTSC) aspect ratio which plays back full screen in media player (and on 4:3 TV). At least when I use that aspect ratio I get the same results. I was just curious. I normally use 4:3 aspect ratio since I don't have a wide screen TV.
Reply With Quote
  #29  
07-06-2003, 09:34 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ Peter1234,

Sorry to have confused you. I went back into the clip I did, since TMPG
was still open for that project. I tend to have several open. I'm busy hehe..

Anyways.. I had it left at OUT(16:9) instead of 4:3. My whole goal in my
encoding endeavors is to plan ahead. When I'm presented w/ an 16:9
source/project, I'm not going to waist time 4:3'ing it. I encode to 16:9
widescreened. Sorry for the mix up in your final judging

But, did it look ok on your TV set ?? I mean, widescreened as I planed
anyways ??

@ Kwag..
I didn't know that MediaPlayer v6.4 had a bug like that.

Thanks for YOUR input hehe..
-vhelp
Reply With Quote
  #30  
07-06-2003, 11:37 PM
Peter1234 Peter1234 is offline
Free Member
 
Join Date: Feb 2003
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
vhelp,
Yes, looked good. Thankyou for your mistake.
Reply With Quote
  #31  
07-06-2003, 11:45 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
hi Peter1234..

Thanks. I was try'n ta help

I'm really busy crunching away at an app I'm developing, so I'm surfing
all for for answeres. It's very exhausting - - all day at it. pfew!! My eyes
are falling out

-vhelp
Reply With Quote
  #32  
07-07-2003, 02:38 AM
zes zes is offline
Free Member
 
Join Date: May 2003
Location: Antwerp, Belgium
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to zes
hello

thanks all for the replies . u've been a great help. i reencoded the movie last night and the result was much better!
BUT as i'm a perfectionist i noticed it was still there, although hardly visible with vdub and non-visible (to me at least) on TV.
check it out:

http://users.skynet.be/bk260637/iceage5.jpg

anyway it seems that temporalsoften is responsible like u said before, so i'll experiment with that further.

Code:
## DLL Section ## 
# 
LoadPlugin("C:\VIDEOCONV\Filters\MPEG2Dec3.dll") 
LoadPlugin("C:\VIDEOCONV\Filters\GripFit_YV12.dll") 
LoadPlugin("C:\VIDEOCONV\Filters\STMedianFilter_25.dll") 
LoadPlugin("C:\VIDEOCONV\Filters\asharp.dll") 
LoadPlugin("C:\VIDEOCONV\Filters\unfilter_25.dll") 
LoadPlugin("C:\VIDEOCONV\Filters\undot.dll")
LoadPlugin("C:\VIDEOCONV\Filters\vsfilter.dll")
# 
#### 

## Defined Variables and Constants ## 
# 
MaxTreshold = 1.50 
nf =  0 # Current frame. 
# 
#### 

## Main section and static filters ### 
# 
AviSource("C:\VIDEOCONV\iceage.avi") 
# 
undot() 
Limiter() 
asharp(1, 4) 
GripCrop(528, 480, overscan=2, source_anamorphic=false)
Textsub("C:\VIDEOCONV\iceage.ssa")
GripSize(resizer="BicubicResize") 
STMedianFilter(8, 32, 0, 0 ) 
MergeChroma(blur(MaxTreshold)) 
MergeLuma(blur(0.1)) 
# 
# 

## Linear Motion Adaptive Filtering ## 
# 
# ( Portions from AviSynth's manual ) - This will apply temporalsoften to 
# very static scenes, and apply variable blur on moving scenes. 
# We also assign a variable - and this is why a line break is inserted: 

ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= 2 ? \ 
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( Your_Values_Here ) # Depends on situation. Use MovieStacker! 
Limiter() 

# 
# 
## Functions ### 

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


# 
####
Reply With Quote
  #33  
07-07-2003, 05:46 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
Has anyone tried to change TemporalSoften with TemporalCleaner?
__________________
j3llyG0053
Reply With Quote
  #34  
07-07-2003, 06:21 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
i did Jell,
the image is better...
encrease the file a little, means less CQ.

but it was before the last new script from July 6, 2003 @20:45 GMT
i don't did tests to compare with the new script

and my encode still "pulsing" the colors
like i post days ago...(oh GOD)
Reply With Quote
  #35  
07-07-2003, 08:12 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
and my encode still "pulsing" the colors
like i post days ago...(oh GOD)
If you are still with temporalcleaner, you can try to set the second parameter to a constant value (I suggest 10).

In temporacleaner(n,m), n is for the luma, m for the chroma.

Perhaps you won't have anymore the "pulsing" in the colors with a constant value for 'm'.
Reply With Quote
  #36  
07-07-2003, 08:25 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
Phil,
you forgot...i don't ...how?
temporalcleaner(fmin(3+nf,7),fmin(8+nf,15))")
where?
Reply With Quote
  #37  
07-07-2003, 08:49 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
Phil,
you forgot...i don't ...how?
temporalcleaner(fmin(3+nf,7),fmin(8+nf,15))")
where?
LOL. I Thought I was clear

Temporalcleaner has two parameters : the first one is for luma, the second for chroma.

In the case of the MA script, use :

temporalcleaner(fmin(3+nf,7) , 10)
Reply With Quote
  #38  
07-07-2003, 09:10 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
Phil,you are clear as water(always)


and i am confused like ever.


thanks Phil



@ dazed&confused :
hey d&c, change your username with me my friend.
Reply With Quote
  #39  
07-07-2003, 03:26 PM
dazedconfused dazedconfused is offline
Free Member
 
Join Date: Nov 2002
Posts: 316
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by jorel

@ dazed&confused :
hey d&c, change your username with me my friend.
hee-hee. No way friend! Believe me, I still need it!

-d&c
Reply With Quote
  #40  
07-07-2003, 03:45 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 my friend,
is better but ....pulsing,breating!


who wants to see this sample?
please,pm the e-mail and i send it.


Phil, can i send to you

ps:
i think that maybe i know what happens,
but need your avaliations after see the sample
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Flashlight underwater scene - too many block-artifacts? gamma Video Encoding and Conversion 1 05-14-2004 01:08 PM
Avisynth: Green pixelation artifacts on Xvid via Avisynth? rs008f Avisynth Scripting 10 03-23-2004 09:33 PM
Avisynth: Something weird in mpg when testing .AVS file WOWIEGURL Avisynth Scripting 4 03-08-2004 04:08 AM
Avisynth: Interlace artifacts or phase-shifting? ozjeff99 Avisynth Scripting 0 04-29-2003 10:15 PM
KVCD: Scene Changes artifacts? Pike Video Encoding and Conversion 7 07-24-2002 10:40 AM




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