digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   AviSynth 2.52 Scripting for 5 episodes per disc? (http://www.digitalfaq.com/archives/avisynth/4848-avisynth-252-scripting.html)

SodGawd 08-02-2003 12:32 PM

AviSynth 2.52 Scripting for 5 episodes per disc?
 
Hello from Texas everyone,

It is VERY HOT right now so I am playing around with the new MA script. Last night I uninstalled AviSynth 2.08 and installed 2.52 so that I can use the MA script. I downloaded all of the plugins for 2.52 that I need for the script to process. My question is this: Can I load up multiple d2v files so that I have one long movie for prediction? I was trying to figure out the syntax of it.. I tried:

Mpeg2Source("D:\DVD\BoB1.d2v")+Mpeg2Source("D:\DVD \BoB2.d2v")

and

Mpeg2Source("D:\DVD\BoB1.d2v+D:\DVD\BoB2.d2v")

and both give errors when AVS loads up in TMPGE. I used both DVD2AVI 1.76 & 1.77.3. When I use just a single d2v file, it will load with both versions of DVD2AVI. I am using v1.10 of MPEG2Dec3.dll directly from the authors website. I am trying to make a nice DVD of Band of Brothers so that I can edit out the credits except for the opening creds on the first one and ending creds on the last. I think that I can get about 4 or 5 episodes per disk.

Any help is most appreciated. :P

vhelp 08-02-2003 01:02 PM

hi SodGawd,

I'm not sure, but perhaps..

* Are all the sources the same params ??
--- audio, fps, crops and things etc.

But, I think that it would be more wiser to "batch" encode them, then try
and gulp them all together. That's just asking for trouble, when you gulp
them together. "batching" is the next step in the chain (IMO)

-vhelp

SodGawd 08-02-2003 01:24 PM

Hi Vhelp,


Quote:

* Are all the sources the same params ??
--- audio, fps, crops and things etc.
Yes. No cropping done on either. FPS is 29.97 since I do not get 99% film. Audio is 2 channel DD 192kbs AC3.

Quote:

I think that it would be more wiser to "batch" encode them, then try and gulp them all together. That's just asking for trouble, when you gulp them together. "batching" is the next step in the chain (IMO)
That was going to be my next step. I had just read somewhere on here (cannot find it again to save my life) that you could string together 2 or more d2v files. I know that you can do it with vobs..

After I posted this thread, I started getting the "could not open **.avs file or is unsupported." After many tests, I think that the MPEG2Dec3.dll file might be the problem. No matter what version I loadup in my script it fails to open the file. The d2v's open on their own great (both 1.76 and 1.77.3). I also tried the ReadAVS plugin to no avail. I uninstalled it and tried to load up the example scripts that AviSynth 2.52 comes with.

They all load up and play great. That is why I think the problem lies in the decoder that I am loading up.. this is almost making me want to go back to AviSynth 2.08....

vhelp 08-02-2003 01:40 PM

Hi SodGawd,

Quote:

They all load up and play great. That is why I think the problem lies in the decoder that I am loading up.. this is almost making me want to go back to AviSynth 2.08....
I hear ya pal.. That's how I feel too.. like going back to BETA 1 8O cause
IMO, the color quality was the best, till too many cooks started spoiling
the broth there.

But, I'll continue to forge ahead w/ later versoin v2.52 cause it's suppose
to best the ultimate in features and things.. but I still do have BETA 1 on
my pc (just in case)

TIP:
* If all you want to do is encode, and you are using vdub to frameserve
your source (assuming you VFAPI it to a psuedo .avi) into tmpg, just put
the "older" AVIsynth.dll inside vdub's folder, and when you frameserve it
into TMPG, it should now say the "older" version. Just for testing purposes,
mind you. But, make sure you "manually" point to your AVS filters!!

-vhelp

SodGawd 08-02-2003 01:44 PM

replying to myself mostly.. :P

Ok.. If i load up MPEG2Dec3.dll, the AVS file fails to load. If I use MPEG2Dec.dll, the AVS loads but with an error. The preview is odd looking.. Left hald of screen is reddish and the right half is normal.

The error that I get is "Plane Difference: Only Planar Images (as YV12) supported ([ScriptClip], Line 1). I haven't the foggiest idea what I am ding so wrong now.. Does get very frustrating, which is why I am glad that my wife and I are going dancing this evening.. :drink:

anywhoo.. I have used both DVD2AVI 1.76 and 1.77.3 and both work the same.. this is really wierd...

Wilbert 08-03-2003 07:57 AM

Quote:

If I use MPEG2Dec.dll, the AVS loads but with an error. The preview is odd looking.. Left hald of screen is reddish and the right half is normal.

The error that I get is "Plane Difference: Only Planar Images (as YV12) supported ([ScriptClip], Line 1).
Mpeg2dec for AviSynth v2.5x outputs YUY2, while scriptclip expects YV12. So add ConvertToYV12 after loading the d2v.

Regarding mpeg2dec3 (assuming you installed DivX5 or a recent XviD binary):
Quote:

Ok.. If i load up MPEG2Dec3.dll, the AVS file fails to load.
What is the exact error message when opening the avs in VirtualdubMod?

rendalunit 08-03-2003 08:15 AM

Quote:

Originally Posted by SodGawd
I was trying to figure out the syntax of it.. I tried:

Mpeg2Source("D:\DVD\BoB1.d2v")+Mpeg2Source("D:\DVD \BoB2.d2v")

and

Mpeg2Source("D:\DVD\BoB1.d2v+D:\DVD\BoB2.d2v")

what about like this:
Mpeg2Source("D:\DVD\BoB1.d2v") ++ Mpeg2Source("D:\DVD\BoB2.d2v")

SodGawd 08-03-2003 02:52 PM

@Wilbert
Quote:

What is the exact error message when opening the avs in VirtualdubMod?
I am not loading it up in VirtualDub. I am loading it directly into TMPGe. The error message states that it is unsupported. Yet I have been able to load up the sample scripts fine.

@RendalUnit
Quote:

what about like this:
Mpeg2Source("D:\DVD\BoB1.d2v") ++ Mpeg2Source("D:\DVD\BoB2.d2v")
I will try that next. I have gone back to Version 2.08 and successful chained together the first 5 eps. so that I can use prediction on all at once as opposed to just one at a time. That test resulted in CQMatic 1.05 trying to encode the whole bloody thing on prediction only!! I have since stopped using CQMatic for the time being.

dazedconfused 08-03-2003 03:12 PM

Hi SodGawd,

I don't know much about dvd/kdvd encoding, but you might be able to adapt one of the methods in this thread to find the CQ level you need to use for all your episodes: http://www.kvcd.net/forum/viewtopic.php?t=5288 . Then just use Manual Prediction as described here : http://www.kvcd.net/forum/viewtopic.php?t=2102 (but of course you'll need to make the proper adjustments to account for the size of your dvd media). Like I said, I'm not well-versed with dvd/kdvd encoding, but I just thought this might possibly be of some help to you, if other methods aren't working.

Good luck,
-d&c

SodGawd 08-03-2003 08:30 PM

@D&C

Thank you for your reply. I have read those threads before and I now know what I am gonna have to do. Chain the eps that I wish to encode as one long movie then do my prediction. Use that number for each ep by itself.

KDVD is pretty close to KVCD. You'd have to change the GOP MAX to 18 and most likely the resolution to match DVD specs. Otherwise, you'd have to patch the MPEG stream to "fool" the authoring proggy into thinking that it had a correct stream, author the DVD, then repatch the stream again back to it's original stats. That just seems a pain to me.. :)


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