PDA

View Full Version : avisynth crashes on ATI mpeg2's


davidlallen
8th February 2004, 17:56
Folks,

I have used avisynth 2.5.4 successfully on a few different types
of datastreams. I have an ATI All in Wonder VE PCI tv-tuner card
and a 700 Mhz P3 Win98SE machine. I can't get avisynth to play
MPEG-2's recorded by the ATI "TV" recording tool. I use the one
line script:

DirectShowSource("c:\test.mpg")

The first thing displayed in the Windows Media Player window is
"Avisynth: caught an access violation at 0x10011f20, attempting
to read from 0xffffffff".

The clip will play fine by itself in media player, and it displays
fine in virtualdub. If I read the clip into virtualdub through
avisynth using the above script, virtualdub pauses for a few
seconds and then displays a popup error dialog, "No video stream
found".

I'd like to use virtualdub to record, but I get a crummy frame
rate; see my post on the vdub forum hereabouts. Until then, I
seem to be stuck with low-res mpeg1 as the only format I can
get through the system.

Can anybody suggest how I can solve this crashing problem?

Thanks in advance,
- DaveA

sh0dan
8th February 2004, 22:58
Vdub doesn't support MPEG2 - are you sure it's mpeg2, and not mpeg1?

If it is MPEG2, use DVD2AVI and MPEG2DEC3.

Sulik
9th February 2004, 00:16
Also, what is preventing you from using high-resolution MPEG-1 ?

davidlallen
9th February 2004, 09:52
> Vdub doesn't support MPEG2 - are you sure it's mpeg2, and not mpeg1?

I am sure it is mpeg2. This question is about avisynth crashing,
and it happens regardless of whether the frame destination is
media player or vdub. It happens when mpeg2 is the source into
avisynth.

The main reason for preferring mpeg2 to mpeg1 is more compression.
On my machine, the ATI recorder can keep up with pretty high
resolution mpeg2 with no lost frames; but avisynth can't read it.

-DaveA

buzzqw
9th February 2004, 10:25
i have a aiw9700pro and use mmc8.8 for capturing in mpeg2 format, never got a problem ...

But i usually use dvd2avi for d2v and mpeg2 audio the i process d2v with avisynth and Gordian/DoCce4U

just quick hints

BHH

sh0dan
9th February 2004, 17:26
@davidallen: Your hardware might be involved in the decoding of the MPEG2, which makes it impossible for AviSynth to grab the data.

But you should use MPEG2Source, as it is much more reliable than DSS.

davidlallen
10th February 2004, 03:50
BHH,

> i have a aiw9700pro and use mmc8.8 for capturing in mpeg2
> format, never got a problem ...

Slightly off topic... but, one of the things I am stuck upon
is setting up my own recording schedule using mmc8.8. It
has a GUI form you can use to manually type in a schedule,
but I want to use the API to the Windows Scheduler so my
own application can set up recording.

Is there any chance you have figured that out, or you can
suggest somewhere more specific I can ask about that?

- DaveA

buzzqw
10th February 2004, 08:14
@davidlallen
afaik mmc8 cannot be controlled in "easy" manners.
can't you monitor registry for seeking "capture job" ?
There are several programs using virtual dub as a capture program that can handle job.
I am not a programmer, just a "brave" mpeg/avisynth user ;)

best regards
BHH