digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Access Violation? (http://www.digitalfaq.com/archives/avisynth/9219-avisynth-access-violation.html)

Templeton 04-20-2004 01:30 PM

Avisynth: Access Violation?
 
I have an avi file with a resolution of 720 by 576 and 25 fps.When I try to convert with the Avi script to full D1 I get the "Avisynth has caught an access violation" error.Is this because i'm trying to resize it to the resolution it already is, as when i change the values in the script to Half D1 it encodes fine.

What I would like to know is if there is a way around this?

If I remove the gripcrop lines from the script and encode will this result in a loss of quality?

If I remove Gripcrop lines and encode should i choose the option in Tmpgenc that says "Full Screen keep aspect ratio".

Any help much appreciated.

jorel 04-20-2004 02:38 PM

welcome in forum Templeton!
:D

what avisynth and filters versions you're using?
and post your script (where you get the script?) and more details please!

:wink:

Prodater64 04-20-2004 02:55 PM

Re: Access Violation
 
Quote:

Originally Posted by Templeton
If I remove the gripcrop lines from the script and encode will this result in a loss of quality?

If I remove Gripcrop lines and encode should i choose the option in Tmpgenc that says "Full Screen keep aspect ratio".

Any help much appreciated.

You can replace gripcrop lines (gripcrop, gripsize and gripborders) with bilinear, bicubic or lanczos resize plus addborders and in some cases letterbox (better using moviestacker for this script lines) without loss of quality, but different final filesize and sharper or not image. I prefer bicubic precise for avi source and lanczos for DVD source.

KVCD templates recommend or "center" or "Full Screen keep aspect ratio" (if i'm not wrong) no matter what kind of resize use you.

kwag 04-20-2004 03:19 PM

Re: Access Violation
 
Quote:

Originally Posted by Prodater64
KVCD templates recommend or "center" or "Full Screen keep aspect ratio" (if i'm not wrong) no matter what kind of resize use you.

Actually, use "Full Screen". NOT "Full Screen (keep aspect)", because the resize is already feedeed correctly by the script.

-kwag

Templeton 04-21-2004 01:09 PM

I swapped the Gripsize lines so my script looks like this

AviSource("C:\Documents and Settings\User\Desktop\1.avi",false)
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
LanczosResize(720,574,0,1,720,574)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.3,seed=5623)
AddBorders(0, 1, 0, 1)

But now when i open my script in media player I get the error "Unrecnized Exception".

jorel 04-21-2004 01:34 PM

remove the line
GripSize(resizer="LanczosResize")
!
and don't use media player....
open the script in vdub to test!

:wink:

Prodater64 04-21-2004 01:35 PM

Quote:

Originally Posted by Templeton
I swapped the Gripsize lines so my script looks like this

AviSource("C:\Documents and Settings\User\Desktop\1.avi",false)
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
LanczosResize(720,574,0,1,720,574)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.3,seed=5623)
AddBorders(0, 1, 0, 1)

But now when i open my script in media player I get the error "Unrecnized Exception".

I said you replace
Your script should be:
Code:

AviSource("C:\Documents and Settings\User\Desktop\1.avi",false)
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max=3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
LanczosResize(720,574,0,1,720,574)
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.3,seed=5623)
AddBorders(0, 1, 0, 1)

But I'm not sure about your resize values. Addborders must to have at least a value of 16 to left and right sides(if you want 2 overscan lines), but it must to agree with lanczosresize row. It is better that you take this values from moviestacker, I think.


All times are GMT -5. The time now is 05:52 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.