Quantcast Avisynth: Access Violation? - digitalFAQ.com Forums [Archives]
  #1  
04-20-2004, 01:30 PM
Templeton Templeton is offline
Free Member
 
Join Date: Apr 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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.
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  
04-20-2004, 02:38 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
welcome in forum Templeton!


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

Reply With Quote
  #3  
04-20-2004, 02:55 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #4  
04-20-2004, 03: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
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
Reply With Quote
  #5  
04-21-2004, 01:09 PM
Templeton Templeton is offline
Free Member
 
Join Date: Apr 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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".
Reply With Quote
  #6  
04-21-2004, 01:34 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
remove the line
GripSize(resizer="LanczosResize")
!
and don't use media player....
open the script in vdub to test!

Reply With Quote
  #7  
04-21-2004, 01:35 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
AviSynth caught an access violation? audioslave Avisynth Scripting 8 08-05-2003 07:39 AM
Avisynth: caught an access violation audioslave Avisynth Scripting 1 06-26-2003 03:25 PM
Avisynth caught an access violation pirracas77 Avisynth Scripting 8 05-18-2003 10:19 AM
Avisynth: Caught an access violation? MrCoopz Avisynth Scripting 15 01-27-2003 09:45 PM
Avisynth: caught an access violation ARAGORN Avisynth Scripting 0 11-04-2002 01:20 PM

Thread Tools



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