digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Guide to convert Divx to KVCD (http://www.digitalfaq.com/archives/encode/2143-guide-convert-divx.html)

black prince 01-15-2003 01:51 PM

@MrCoopz,

Thanks for being patient with getting an answer about GripFit.
I put together another avs script for you to try. It uses
SansGrip's RemoveBorders filter which replaces crop. I will
give you resize parms for KVCDx3 (528x480). Give this a
try and let me know if there are any problems. :)

LoadPlugin("C:\Avi Stuff\MPEG2DEC.dll")
LoadPlugin("C:\Avi Stuff\LegalClip.dll")
LoadPlugin("C:\Avi Stuff\Blockbuster.dll")
LoadPlugin("C:\Avi Stuff\FluxSmooth.dll")
LoadPlugin("C:\Avi Stuff\Sampler.dll")
LoadPlugin("C:\Avi Stuff\RemoveBorders.dll")
LoadPlugin("C:\Avi Stuff\Gripfit\GripFit_Preview.dll")
avisource("D:\Films\Austin.Powers.In.Goldmember.DV L.Xvid.ShareReactor.avi")
#
LegalClip()
RemoveBorders()
BilinearResize(496,448) # <-- TV-overscan = 2 for 528x480
TemporalSmoother(1,2)
LegalClip()
#
#Sampler(length=24)



-black prince

:)

MrCoopz 01-15-2003 02:15 PM

I copied that exactly as u put above and got the same thing but on line 11 this time

SansGrip 01-15-2003 03:26 PM

Quote:

Originally Posted by MrCoopz
I copied that exactly as u put above and got the same thing but on line 11 this time

Ah hah... The exception occurs with both RemoveBorders and GripFit! That narrows it down a great deal, since they share code. Now if only I could get my hands on that clip of yours :). Wait, I have an idea...

black prince 01-15-2003 03:26 PM

@MrCoopz,

I have some questions:

1) What version of avisynth have you installed? If it's v2.06,
then install v2.07 and try again.

2) Will VirtualDub preview your Divx (avi) movie without any
problems?

Try commenting all lines in your script starting with LegalClip() to
Sampler(length=24) by putting # in front of each line. Try this
avs script with Tmpgenc and see if you get any errors. If not,
and you have installed avisynth v2.07, then SansGrip's GripFit
and RemoveBorders could have problems with codec mpeg-4.

Try the above suggestions and let me know what's happens. :D

-black prince

SansGrip 01-15-2003 03:29 PM

Nope, I can't duplicate the problem by using ColorBars(608, 256) either. I'm beginning to think there might be something wrong with that AVI, perhaps a corruption somewhere. Either that or you've got a messed up XViD codec that's causing a crash...

Try this:

GripFit(528, 480, overscan=2, samples=1)

Does it still crash?

black prince 01-15-2003 03:41 PM

@SansGrip,

I tested a Divx (avi) movie using codec Divx 5.0.2. I created a
avs script using GripFit and had no problems previewing this
movie in VirtualDub or Tmpgenc. I believe your right. The video
part of MrCoopz's avi is probably corrupt. I tested GripFit before
I wrote the Guide with very good results. MrCoopz should try
another Divx movie. :)

-black prince

MrCoopz 01-15-2003 04:09 PM

I think i told u all wrong, nothing Crashes

the only problem i have is with the line

GripFit( width=528, height=480, overscan=2)

or anything on with GripFit in the line

Its says

"Unrecognized Exeption"
"C\file.avs, line XX"

this is on the main screen and Preview screen in red what i open the script in Tmpgenc

MrCoopz 01-15-2003 04:16 PM

Ok u guys have sorted it

I put # in front of the things u said and when it loads i now get the Movie showing up :)

But now i can only encode the full movie and not a test file!!

black prince 01-15-2003 04:24 PM

@MrCoopz,

MrCoopz wrote:
Quote:

But now i can only encode the full movie and not a test file!!
That was to test and see if the Divx (avi) file was corrupt and
couldn't be read. I will create a script using FitCD from the
info in VirtualDub>File>File Information and post it for you
in a short time. It should work. Stay tuned..... :)

-black prince

MrCoopz 01-15-2003 04:46 PM

ok thanks

SansGrip 01-15-2003 06:29 PM

Quote:

Originally Posted by MrCoopz
I put # in front of the things u said and when it loads i now get the Movie showing up :)

Now what happens if you remove the # from the GripFit line?

black prince 01-15-2003 07:04 PM

@SansGrip,

Seems MrCoopz has multiple codec's installed. Xvid, Divx, avisynth 2.0x,
and more. He's now uninstalling them and reinstalling just Divx 5.0.2 and
avisynth 2.07. There must have been some conflicts with all these codecs.
When he's finished, he's going to try the avs script again. Let's see
if that makes a differance. If it's any comfort to you, I tested a Divx
movie with GripFit and there were no problems what's so every. :wink:

-black prince

MrCoopz 01-15-2003 07:16 PM

i just removed the # from the gripfit line and it was the same error for Austin Powers!

But i tried 2 different movies and they both worked fine!!

so i guess its Austin Powers thats causing the problem

black prince 01-15-2003 07:23 PM

@MrCoopz,

Thank goodness. You were driving me crazy :BangHead: Go back to
the Guide and check it for changes and updates. The more problems
you help me solve the easier it will be for others trying to use it.

Thanks

-black prince

MrCoopz 01-15-2003 07:33 PM

Theres no doubting i will get stuck again :)

oh and how do i know which template is the best to use?

black prince 01-15-2003 07:42 PM

@MrCoopx,

Read Getting Started in the Guide. I give suggestions on the best
resolutions and templates to pick. :)

-black prince

SansGrip 01-15-2003 08:23 PM

Quote:

Originally Posted by MrCoopz
i just removed the # from the gripfit line and it was the same error for Austin Powers!

Strange. I'd really like to get my hands on that clip. Can you sign up for free web space somewhere?

SansGrip 01-15-2003 08:24 PM

Quote:

Originally Posted by black prince
I tested a Divx
movie with GripFit and there were no problems what's so every. :wink:

I've tried a bunch of DivX and XViD movies and they all work fine. It sounds like something's messing up in the border-detection to me, which is why it fails with both GripFit and RemoveBorders (they share that part of the code).

MrCoopz 01-16-2003 07:41 AM

Sansgrip i have split the file into 3 parts 2 have been sent and ill send the other in a sec

And yet another question :)

which template would u recomend for a movie thats

1hr 50m
608 x 256
23fps

and good 1 cd quality:)?

and also is MPEG 2 better quality than MPEG 1??

SansGrip 01-16-2003 08:05 AM

Quote:

Originally Posted by MrCoopz
i have split the file into 3 parts 2 have been sent and ill send the other in a sec

Yep, I got all three parts, but I can't duplicate the exception on my system. This means short of emailing me the entire clip in 1mb RAR files there's not a lot I can do until I download a clip that has problems :(.

All I can suggest for now is to use the "old" way of doing it, i.e. with Crop, XxxResize and AddBorders.

Quote:

which template would u recomend for a movie thats

1hr 50m
608 x 256
23fps
In principle I would recommend 528x480 or 352x480 depending on how compressible the movie is. However, if that clip is representative of the entire movie then I'd say you're going to have some problems because there is serious chroma corruption on the clip you sent me. It looks like it's been encoded with an old version of XViD, which for me at least caused luminous greens and pinks and oranges to appear where they shouldn't.

If you look in particular at the cup on the table -- specifically at the straw -- you'll see what I'm talking about. If I were you I'd either make a DVD backup or try to find another encode of the same movie, perhaps on two discs because 1h50m is fairly long for one :).


All times are GMT -5. The time now is 09:04 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.