Quantcast Avisynth: CCE and MA Scripts Problems - digitalFAQ.com Forums [Archives]
  #1  
01-03-2004, 10:16 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Every once in a while I run some tests with TMPG against CCE just to see the differences.
As I already mentioned here in the forum I have many problems running MA scripts with CCE 2.6x trials.
As mentioned before it seems that the problem is related to high-res video (higher than 544x576) and MA scripts.
Though, I already had problems with older MA and I never had problems with all static scripts I tested so far.
Sometimes it encodes just fine some 1000 frames or so and sometimes it just gets crazy from frame 0.
All my CCE encoded samples show "Avisynth caught and access violation at 0x100430a0 attempting to read from 0x0e7cf194" on the top of the screen in red font.
I'm not quite sure but sometimes the message could be different in terms of the shown values if I change resolution or script.
Else I just can see a black background with the cinemacraft logo on the right bottom which is ok for a trial.
Right now my MA script looks like this:
Code:
Mpeg2Source("D:\mymovie.d2v")
undot()
Limiter()
asharp(1, 4)
GripCrop(704,576, overscan=2, dest_anamorphic=true)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))

MA_Routine()

GripBorders()
Limiter()
AddAudioCCE()
And here is my MA_Routine.avsi by Incredible:
Code:
function MA_Routine(clip c) {
c=ScriptClip(c, "nf = YDifferenceToNext()"+chr(13)+"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)  ")
return c
}

function fmin( int f1, int f2) {
  return ( f1<f2 ) ? f1 : f2
}
And my AddAudioCCE.avsi as in avisynths' site instructions when in trouble with CCE:
Code:
function AddAudioCCE(clip v1) {
v2 = Blankclip()
v1 = AudioDub(v1,v2)
return v1
}
Anything I should change? I just tested Phil's Optimal V4 yesterday with 704x576 without a glitch...
At least it went way over the first 1000 frames. I believe it was almost 6 minutes ok.
__________________
Rui
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  
01-03-2004, 12:56 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Ola rds-correia:
as you can see in my post (in KDVD thread) about "error in CCE 2.67", I also got an error in my first test, but it was from the encoder. The error you get seems to come from avisynth itself, as CCE encodes OK but with an error message from avisynth. Don't you get the same error in TMPGEnc?, I guess not, but you could tell us.
In my encode, I did the resize "manually", taking the parameters for bicubicresize() and addborders() from Moviestacker, why don't you try this?, cos I get errors from gripfit from time to time.
But I'm not the best person to guve you clues, since I just did one encode...

Boas Festas e Feliç Ano Novo
Reply With Quote
  #3  
01-03-2004, 07:55 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 digitall.doc
But I'm not the best person to guve you clues, since I just did one encode...
But you gave there a perfect explanation. Avisynth crash are very hard to fix because you never know the cause. And very often Gripfit is the source. And sometimes it's an other filter and just changing a little the parameters solves everything.
Reply With Quote
  #4  
01-04-2004, 07:36 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hi guys,
Sorry to take so long answering but my internet provider had problems yesterday...
Anyway I just wanted to let you know that I'm only curious why this happens because I really do prefer (as already mentioned before) using tmpgenc instead of cce. Even because tmpgenc doesn't have these problems
I just like to see their pros & cons against each other once in a while.
But thanks any way.
__________________
Rui
Reply With Quote
  #5  
01-04-2004, 08:20 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
Try one using the classic resizing syntax using FitCD or Moviestacker as mentioned by Dialhot.
Reply With Quote
  #6  
01-07-2004, 04:19 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hi Guys,
I'm sorry but I feel like a complete newbie when I try to resize using the old methods through MS of FitCD.
It's just that I never had to do it by hand since when I joined the community SansGrip had already built his master piece GripFit...
I have tried it using some info I found with the search button but it seams it's not enough for me.
Could you give me a hand or show me a very good thread?
Thanks.
__________________
Rui
Reply With Quote
  #7  
01-07-2004, 06:00 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
Here is a Link to a FitCD Guide translated by Google:
http://translate.google.com/translat...language_tools

Go and look at the mpeg resizing part

As Moviestacker is totally build on the FitCD core you can just also use this for Moviestacker

Edit: Seems that this shitty Google doesn't translate totally, so here's the german link to use with a www translation engine you prefer.
http://www.tu-harburg.de/~saas0262/s...d/fitcdref.htm
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: What scripts are you using? rainer Avisynth Scripting 9 04-17-2007 12:51 AM
what are AviSynth Scripts? krustytheklown Avisynth Scripting 11 08-10-2003 08:43 PM
Sizes with scripts for avisynth 2.08 vs avisynth 2.52 ? jorel Avisynth Scripting 24 07-10-2003 09:57 PM
Avisynth: Can Avisynth chain scripts? MrTibs Avisynth Scripting 6 06-19-2003 06:28 PM
Avisynth: My avisynth scripts do not work ! Kane Avisynth Scripting 2 04-16-2003 03:40 AM

Thread Tools



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