View Full Version : avs and dv file in graphedit


CameraMan
26th June 2005, 07:51
I've spend many sleepless nights trying to figure this problem out, without much success.

The goal is to take my test3.avs file into GraphEdit, and play that file in real-time through DV to a recorder.

My avisynth script is this

AviSource("beach1.avi")+AviSource("beach2.avi")+AviSource("beach3.avi")

It just puts three short AVI files into a sequence. All the AVI are Type 2 DV.

If I send the script to Mplayer2, it plays fine, no problem.

With Graphedit, I can only play one of the beach.avi files into the camera at a time. But they do play real-time, work's great.

In GraphEdit, this (image somewhere in post) will play the test3.avs file. Problem is, it needs to go into a DV compressor before it hits the output - though the source files ARE already DV encoded. It's that AVI Decompressor that looks like it's causing the problem. It plays all jerky.

I've tried a few other programs, like Video2DV, but there was a stutter between video files, or didn't support .avs at all.

Any ideas?

HighInBC
28th June 2005, 17:35
If you are simply placing the clips on after the other, and they are all the same format, and are not being modified, then this is the better solution:

Open VirtualDub, load the first file, then append the other files. Then set audio and video to 'Direct Stream Copy'

This allows you to save a copy of the scenes in your prefered order without requiring a re-encode.

Every time you re-encode to DV(or any lossy format) your video is lower in image quality.

Direct stream copy copies the existing dv encode without modifying it.

As for you graphedit problem, perhaps someone else could solve that.

CameraMan
28th June 2005, 20:20
Thanks for the suggestion.. but I need this to be all real-time, the playing of one file after another.

I don't need to seek during a file play, only have the option of starting the next one right away, or another one, right away.

hanfrunz
29th June 2005, 18:58
hello CameraMan,

AVS can't help you here, because you have to decode your DV-Stream to use it with avisynth...
You need a directshow-filter that allows multiple input files. There is a mpeg2 filter which can do that ( I-Media Multiple Audio Filter). If you find a filter for DV please post it here :-)

hanfrunz

vinetu
30th June 2005, 05:32
May be Dsynth (http://esby.free.fr/) then...
Quote:
This modificated version of avs 2.55 allows to use directStreaming
when it is possible.