digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: AVI causes Unrecognized exception error? (http://www.digitalfaq.com/archives/avisynth/4447-avisynth-avi-causes.html)

miksmith 07-10-2003 02:27 PM

Avisynth: AVI causes Unrecognized exception error?
 
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

Peter1234 07-10-2003 03:24 PM

example:

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

Use TMPGEnc and just encode audio using ES (audio only)

miksmith 07-10-2003 04:01 PM

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

Peter1234 07-10-2003 07:57 PM

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.

miksmith 07-11-2003 01:51 AM

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

miksmith 07-11-2003 06:28 AM

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

Dialhot 07-11-2003 07:59 AM

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 !

miksmith 07-11-2003 08:16 AM

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

Dialhot 07-11-2003 09:11 AM

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.

miksmith 07-11-2003 09:14 AM

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?

Peter1234 07-11-2003 12:48 PM

You might try using avisynth 2.52. That works for me.

miksmith 07-11-2003 02:10 PM

Sadly I have tried 207, 252 and 252

Dialhot 07-11-2003 05:04 PM

What is the problem if Moviestacker detects it as 1:1 ? You can change this after the load. No ?

Peter1234 07-11-2003 06:12 PM

Dialhot,
Sorry I can't help you there. I don't use Moviestacker.

Dialhot 07-11-2003 07:30 PM

Thank you Peter but it's not me that have a problem, it's miksmith :-)

miksmith 07-12-2003 01:15 AM

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

Dialhot 07-12-2003 07:50 AM

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.


All times are GMT -5. The time now is 02:20 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.