Quantcast Avisynth: AVI Causes Unrecognized Exception Error? - digitalFAQ.com Forums [Archives]
  #1  
07-10-2003, 02:27 PM
miksmith miksmith is offline
Free Member
 
Join Date: Nov 2002
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
I have downloaded some video footage of my DV camera which is automatically stored on my PC as an AVI. I'm not an expert on AVI's but I suspect it is not a standard video file. TMPEGEnc can read it fine, but if I use the

AVISource

function in Avisynth I just get an "Unrecognized exception" error. Any ideas what the problem is??

A second, related, query. How can I strip the audio out so that I can encode it separately??

Cheers

mik
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  
07-10-2003, 03:24 PM
Peter1234 Peter1234 is offline
Free Member
 
Join Date: Feb 2003
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
example:

DirectShowSource("C:\WINDOWS\Desktop\DVtype1.avi")
ConvertToYV12

Use TMPGEnc and just encode audio using ES (audio only)
Reply With Quote
  #3  
07-10-2003, 04:01 PM
miksmith miksmith is offline
Free Member
 
Join Date: Nov 2002
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
Many thanx for the help. I am using Avisynth 207 as the lates 25x dont support most of the filters here. Is ConvertToYV12 necessary??

I was also going to use bbmpeg to mux the video and audio. Is there a way to extract the audio from the avi at all??


CHeers

mike
Reply With Quote
  #4  
07-10-2003, 07:57 PM
Peter1234 Peter1234 is offline
Free Member
 
Join Date: Feb 2003
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
I am not sure about needing ConvertToYV12 in 2.07, but I do not believe you need it.

You can strip out the audio by opening your DV avi file in TMPGEnc and then just re-encoding the audio to whatever you want.

DirectShowSource only encodes the video but you can get the audio at the same time by taking it from the avi file. That way you won't have to mux it in later.
Reply With Quote
  #5  
07-11-2003, 01:51 AM
miksmith miksmith is offline
Free Member
 
Join Date: Nov 2002
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
Almost there! Being a little stupid; had forgotten I could use TMPEGEnc to extract the audio.

I now try to open the avs file in TMPEGEnc but it appears to hang or is taking a very long time to process the file. The AVI is 6Gb; is this likely to cause a problem? TMPEGEnc has no problems.

Cheers

mik
Reply With Quote
  #6  
07-11-2003, 06:28 AM
miksmith miksmith is offline
Free Member
 
Join Date: Nov 2002
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
It would appear that calling a grip function from 20x or 25x Avisynth with the particular AVI I have hangs it. Has anyone else had any problems??

P.S. It appears to load the dll fine though
Reply With Quote
  #7  
07-11-2003, 07:59 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
It's normal !

Gripfit has to do random access into the video to find the picture area (and calculate the borders).

The avisynth doc tells that radom acces in a DirectShow source is LONG AS HELL !
Reply With Quote
  #8  
07-11-2003, 08:16 AM
miksmith miksmith is offline
Free Member
 
Join Date: Nov 2002
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
Many thanks for that. I tried loading up a very small file and it did work but was as slow as hell!

Whats this best solutions in this instance?? Is there a different file format I can use? Or maybe transcode it into a different type of AVI that AVS can work with using AVISource??

Cheers

mike
Reply With Quote
  #9  
07-11-2003, 09:11 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
You can try to open your avi with Moviestacker to see if it can handle it. It'lll give you the correct parameter to use other resizing tools like bicubicresize insteed of gripfit.
Reply With Quote
  #10  
07-11-2003, 09:14 AM
miksmith miksmith is offline
Free Member
 
Join Date: Nov 2002
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
Moviestacker sadly only recognises it as "1:1 VGA" which is definitely wrong. I did try using the Avisynth resizing/border parameters that it gave me but they were wrong Is there another easy way of working them out?
Reply With Quote
  #11  
07-11-2003, 12:48 PM
Peter1234 Peter1234 is offline
Free Member
 
Join Date: Feb 2003
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
You might try using avisynth 2.52. That works for me.
Reply With Quote
  #12  
07-11-2003, 02:10 PM
miksmith miksmith is offline
Free Member
 
Join Date: Nov 2002
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
Sadly I have tried 207, 252 and 252
Reply With Quote
  #13  
07-11-2003, 05:04 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
What is the problem if Moviestacker detects it as 1:1 ? You can change this after the load. No ?
Reply With Quote
  #14  
07-11-2003, 06:12 PM
Peter1234 Peter1234 is offline
Free Member
 
Join Date: Feb 2003
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
Dialhot,
Sorry I can't help you there. I don't use Moviestacker.
Reply With Quote
  #15  
07-11-2003, 07:30 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you Peter but it's not me that have a problem, it's miksmith
Reply With Quote
  #16  
07-12-2003, 01:15 AM
miksmith miksmith is offline
Free Member
 
Join Date: Nov 2002
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
What size would I put into MovieStacker?? (the drop down list has different VCD and DVD sizes). This is a PAL DV camera with 520 lines.

cheers
Reply With Quote
  #17  
07-12-2003, 07:50 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Honestly, in Moviestacker the input resolution isn't so important. The impoortant is to have a correct aspect ratio. If your DV camera produces a 4:3 picture, set the reso to a 4:3 one, for instance VCD.

The most important thing is to correctly set "anamophic" parameter.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Get this error: Evaluate Unrecognized exception! Rambytes Avisynth Scripting 12 08-05-2003 07:25 PM
tmpgenc - unrecognized exception error? veggiegirl Video Encoding and Conversion 2 05-14-2003 03:45 PM
KVCD: Error in my script - Unrecognized exception? irshliquor Video Encoding and Conversion 65 05-13-2003 01:16 AM
Avisynth: Help with Unrecognized Exception problem Nobody Avisynth Scripting 2 04-13-2003 10:18 PM
Avisynth: Blockbuster() Unrecognized exception! conquest10 Avisynth Scripting 10 12-27-2002 07:15 PM

Thread Tools



 
All times are GMT -5. The time now is 10:24 PM  —  vBulletin Jelsoft Enterprises Ltd