StifflerStealth
19th May 2007, 16:18
What I am wanting to do is save on the amount of files I have to work with. I need to break a film up into 43 parts. I have a avs script that has some filters in it to lightly clean the film and then a Trim to get the precise location that I wish to cut. Now I am wondering if I really need 43 files which only differ by the frames in a Trim statement. Can the encoder pass numbers to it to fill in variables for something like: trim(_start,_end)?
I realize that I could write another avs script that could list this script 43 times passing in the Trim vaules, but I need separtely encoded files. That one avs script would return the whole movie to the encoder, so I am wondering if there is a way to pass the encoder a script that can pass the encoder a part of the film and tell it where to save it or in the the open file dialog, select the avs script and pass it the trim arguments, or can the encoder actually do the trimming and not the avs script?
The encoders that I have to work with are: HC and QuENc on my personal system, I could get other free ones, but I need a really great quality encode, or I can pass the files off to the CCE machine.
Now for my audio question. I have an ac3 source that goes with the film. I did:
v = mpeg2source(...
a = DirectShowSource(... ,seek=true, seekzero=false ...
AudioDub(v,a)
However, when I do the Trim, the video starts at the start frame, but the audio starts at the very begining. How can I sync up the audio and video at trims? Also, how can I cut the audio as a separate ac3 file. When I am done, I want the film cut up into pieces with the audio and video as separate m2v and ac3 files.
I am using the latest stable version of everything, DGIndex and co, avisynth and the clean up filters. I read about the 1.4.8 beta and the DirectShowFixes it had, do I need to upgrade to that version to make audio seekable, or am I just doing the ac3 audio source wrong? The AC3 audio is 5.1 channel and I need to keep it that way.
-SS
P.S. Okay these questions seem a bit more complicated than what I thought they would be. I am a very new beginner at avisynth and I have been reading on it, but it is still vastly confusing.
I realize that I could write another avs script that could list this script 43 times passing in the Trim vaules, but I need separtely encoded files. That one avs script would return the whole movie to the encoder, so I am wondering if there is a way to pass the encoder a script that can pass the encoder a part of the film and tell it where to save it or in the the open file dialog, select the avs script and pass it the trim arguments, or can the encoder actually do the trimming and not the avs script?
The encoders that I have to work with are: HC and QuENc on my personal system, I could get other free ones, but I need a really great quality encode, or I can pass the files off to the CCE machine.
Now for my audio question. I have an ac3 source that goes with the film. I did:
v = mpeg2source(...
a = DirectShowSource(... ,seek=true, seekzero=false ...
AudioDub(v,a)
However, when I do the Trim, the video starts at the start frame, but the audio starts at the very begining. How can I sync up the audio and video at trims? Also, how can I cut the audio as a separate ac3 file. When I am done, I want the film cut up into pieces with the audio and video as separate m2v and ac3 files.
I am using the latest stable version of everything, DGIndex and co, avisynth and the clean up filters. I read about the 1.4.8 beta and the DirectShowFixes it had, do I need to upgrade to that version to make audio seekable, or am I just doing the ac3 audio source wrong? The AC3 audio is 5.1 channel and I need to keep it that way.
-SS
P.S. Okay these questions seem a bit more complicated than what I thought they would be. I am a very new beginner at avisynth and I have been reading on it, but it is still vastly confusing.