Quantcast Problema con Avisynth: Access Violation... - digitalFAQ.com Forums [Archives]
  #1  
12-10-2003, 07:45 PM
pari pari is offline
Free Member
 
Join Date: Dec 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Hola, ante todo felicitar a los creadores de kvcd por estas magnificas plantillas con las que llevo trabajando mucho tiempo y que siempre me han dado un gran resultado.
Pero ultimamente al pasar de avi a kvcd con el tmpgenc, me esta dando en muchas peliculas, un error de este tipo:

Avisynth: caught an access violation at 0x050a0ef,
attempting to read from 0x0b64e000

Estoy utilizando para estas conversiones la plantilla optima con unos filtros denoise (convolution3d, CNR2,atc) y como metodo de apertura el directshow.

He leido varias cuestiones sobre esto y no he encontrado nada concreto, que si es por un error en el modulo de memoria, que si es problema del tmpgenc, o de la fuente de video...

Sin embargo, si convierto las peliculas sin el avs el tmpgenc no me da ningun problema.

Alguien sabe cual es el problema y como solucionarlo?

GRACIAS POR ADELANTADO
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  
12-10-2003, 08:50 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 pari

Alguien sabe cual es el problema y como solucionarlo?
Hola pari,

Asegurate de que en tu linea de "source", lea algo asi: AviSource("Mi_Pelicula.avi", false)

-kwag
Reply With Quote
  #3  
12-10-2003, 09:01 PM
pari pari is offline
Free Member
 
Join Date: Dec 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
hola kwag, no uso el avisource para abrir la pelicula sino DirectShowSource.

Haciendo pruebas parece ser algo con la conversion de colores, ya que al final del avs pongo converttoRGB24() y si no lo pongo parece que lo convierte, ahora estoy probando con RGB, y RGB32.

El script es este (se que uso muchos filtros denoise pero es para hacer una prueba):


LoadPlugin("G:\Filters25\GripFit_YV12.dll")
LoadPlugin("G:\Filters25\STMedianFilter.dll")
LoadPlugin("G:\Filters25\asharp.dll")
LoadPlugin("G:\Filters25\unfilter.dll")
LoadPlugin("G:\Filters25\undot.dll")
LoadPlugin("G:\Filters25\atc.dll")
LoadPlugin("G:\Filters25\Convolution3DYV12.dll")
LoadPlugin("G:\Filters25\atc.dll")
LoadPlugin("G:\Filters25\cnr2.dll")

MaxTreshold = 1.50
nf = 0 # Current frame.

DirectShowSource("G:\Friends\temporada 3\Friends 3 - 01.avi", 25)

ConvertToYV12()
undot()
Limiter()
asharp(1, 4)
LanczosResize(352,28
atc(5,8,12,1.4,false)
cnr2()
Convolution3D(0,6,10,6,8,2.5,0)
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.1))
empty = BlankClip()
AudioDub(last,empty)

SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \
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) ")


Limiter()
ConvertToRGB24()


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




Sabes cual puede ser el problema y si la conversion de color esta relacionada?
Y otra cosa, el false de AviSource("Mi_Pelicula.avi", false) para que es?
Reply With Quote
  #4  
12-10-2003, 10:07 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 pari
Sabes cual puede ser el problema y si la conversion de color esta relacionada?
Y otra cosa, el false de AviSource("Mi_Pelicula.avi", false) para que es?
El "false" es para eliminar el audio, y solamente hacer "Frameserving" del video.
Y no uses DirectShowSource
Usa AviSource

-kwag
Reply With Quote
  #5  
12-12-2003, 12:49 AM
fabrice fabrice is offline
Free Member
 
Join Date: Mar 2003
Location: Madrid-Spain
Posts: 515
Thanks: 0
Thanked 0 Times in 0 Posts
Hola,

El error se puede deber al DirectShowSource. Hasta la 2.5.3, no funcionaba del todo bien.
Como dice Kwag, intenta con AVISource o intenta actualizar tu avisynth.

Salu2
Fabrice
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Access Violation? Templeton Avisynth Scripting 6 04-21-2004 01:35 PM
Avisynth caught an access violation.... N4XO Convertir y Codificar Video (Español) 4 02-25-2004 11:53 AM
AviSynth caught an access violation? audioslave Avisynth Scripting 8 08-05-2003 07:39 AM
Avisynth 2.5 caught an access violation? mingocrk Avisynth Scripting 4 07-08-2003 04:43 AM
Avisynth: Caught an access violation? MrCoopz Avisynth Scripting 15 01-27-2003 09:45 PM

Thread Tools



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