digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD: Error in my script - Unrecognized exception? (http://www.digitalfaq.com/archives/encode/3568-kvcd-error-script.html)

irshliquor 05-10-2003 06:20 PM

KVCD: Error in my script - Unrecognized exception?
 
I get this error when I'm trying to encode a .d2v (my first attempt at this)

"Unrecognized exception! C:\CATCH_ME_IF_YOU_CAN\VIDEO_TS\StMedianFilter.avs , line 7)"

here's my script:


LoadPlugin("D:\VCD\Movie Stacker\Filters\Mpeg2Dec.dll")
LoadPlugin("D:\VCD\Movie Stacker\Filters\GripFit_preview.dll")
LoadPlugin("D:\VCD\Movie Stacker\Filters\Unfilter.dll")
LoadPlugin("D:\VCD\Movie Stacker\Filters\LegalClip.dll")
LoadPlugin("D:\VCD\Movie Stacker\Filters\Sampler.dll")
LoadPlugin("D:\VCD\Movie Stacker\Filters\STMedianFilter.dll")
mpeg2Source("C:\CATCH_ME_IF_YOU_CAN\VIDEO_TS\prf.c atch.me.if.you.can.d2v")
ConverttoYUY2
LegalClip()
GripCrop(704, 480, overscan=2, source_anamorphic=false)
GripSize(resizer="LanczosResize")
STMedianFilter(10, 50, 0, 0, 10, 50)
unfilter(50,50)
temporalsmoother(1,2)
mergechroma(blur(1.58))
mergeluma(blur(0.2))
GripBorders()
LegalClip()

#Sampler(length=24)

jorel 05-10-2003 06:35 PM

from readme:

KNOWN ISSUES AND LIMITATIONS

1) Assumes YUV (YUY2) Frame Based input. Use an AVIsynth function to convert first if
needed.

2) Sorry, currently requires a P-III, Athlon, or higher. Needs SSEMMX support.

3) So far it has only been tested on SSEMMX (P3 & P4) machines.

4) It does more work filtering Luma than chroma. While chroma is also filtered the spacial chroma filter filters only vertically, and the temporal chroma filtering is motion compensated only vertically.
end

:!:
well the first "limitation" (YUY2),you do it right!
:wink:

"limitations" 2 and 3:
what is your cpu?
:?

:wink:

irshliquor 05-11-2003 03:23 AM

my cpu is a p4

jorel 05-11-2003 03:28 AM

Quote:

Originally Posted by irshliquor
my cpu is a p4

p4 friend!?!?! 8O

then i'm lost too cos,
your script is right ...can't see any error!
:?

irshliquor 05-11-2003 03:31 AM

maybe i'm messing up when ripping my dvd or making my d2v files?

my d2v file ends up being like 500kb...is this normal?

jorel 05-11-2003 03:39 AM

Quote:

Originally Posted by irshliquor
maybe i'm messing up when ripping my dvd or making my d2v files?

my d2v file ends up being like 500kb...is this normal?


no problems friend, .dv2 have few size!

try change this in the script:

ConvertToYUY2()

:wink:

irshliquor 05-11-2003 03:43 AM

i'm re doing the rip, so i'll try that when it's finished

jorel 05-11-2003 04:03 AM

after read some in avisynth docs,
i think that you don't need this line,
if your source is dvd..

than remove the line

ConvertToYUY2()

and see what happens!
:!:

irshliquor 05-11-2003 04:19 AM

still no luck :(

jorel 05-11-2003 04:28 AM

Quote:

Originally Posted by irshliquor
still no luck :(

where are the

mergechroma.dll
and
mergeluma.dll
in
D:\VCD\Movie Stacker\Filters\..... :?:
on the script?

:?:

ovg64 05-11-2003 06:06 AM

Quote:

Originally Posted by jorel
Quote:

Originally Posted by irshliquor
still no luck :(

where are the

mergechroma.dll
and
mergeluma.dll
in
D:\VCD\Movie Stacker\Filters\..... :?:
on the script?

:?:

They are part of avisynth Jorel (MergeChroma & Luma) :)

jorel 05-11-2003 06:17 AM

:?

strange cos i install the last avisynth 208 and
in the "plugins" folder or another place of my hd i
can't find the merge luma/chroma dlls.

then i download the filters from the link and now is working!

means that when you install the avisynth
the filters are instaled too? :?

if yes,why i can't found them before download from the link?
:? :?

thanks ovg64
:wink:

ovg64 05-11-2003 06:40 AM

Yes, Jorel and other filter like Sharpen, SpatialSoften, TemporalSoften etc. are also with in Avisynth. :)

jorel 05-11-2003 07:01 AM

Quote:

Originally Posted by ovg64
Yes, Jorel and other filter like Sharpen, SpatialSoften, TemporalSoften etc. are also with in Avisynth. :)

yeah?
8O

then i don't understand cos
when i install the last avisynt(208)
no filters or dlls are instaled with!
:? :? :? :?

what's wrong?
:?

ovg64 05-11-2003 07:23 AM

Im no sure they are in a dll fomat, but make a script with MovieStacker and u will see no patch two the Chroma filters.

jorel 05-11-2003 07:35 AM

thanks for explanations friend!
:wink:

but i'm really
:? :!:

if i remove my "dlls" folder i can't open the script in mpgenc
after use MovieStacker...
:?

jorel 05-11-2003 08:06 AM

Adder
this links from avisynth homepage explains
some about ConvertToYUY2 and more:

ConvertToYUY2(clip clip [, boolean interlaced]) v2.51

http://www.avisynth.org/index.php?page=Convert
http://www.avisynth.org/index.php?page=AviSynthManual


:!:

Racer99 05-11-2003 08:11 AM

Re: error in my script...help!
 
Quote:

Originally Posted by irshliquor
I get this error when I'm trying to encode a .d2v (my first attempt at this)

"Unrecognized exception! C:\CATCH_ME_IF_YOU_CAN\VIDEO_TS\StMedianFilter.avs , line 7)"

Open your .d2v file in notepad and post the first 15 or so lines and let's see what you got.

Racer 99

bman 05-11-2003 09:04 AM

@ irshliquor
It's simple : This Avisynth error means that version u are working with dosn't support this filter :D
Check what Avisynth version u are working with and upgrade it to v2.08 or v2.5* but first delete all Avisynth.dll files from windows\system32 folder .
Hope this'll help
bman

jorel 05-11-2003 09:44 AM

Quote:

Originally Posted by bman
@ irshliquor
It's simple : This Avisynth error means that version u are working with dosn't support this filter :D
Check what Avisynth version u are working with and upgrade it to v2.08 or v2.5* but first delete all Avisynth.dll files from windows\system32 folder .
Hope this'll help
bman

right bman,
this is what i try to mean. :wink:

but why avisynth don't install the
dlls/filters in my system like
ovg64 posted?
:?:

bman 05-11-2003 10:50 AM

Maybe somthing wrong with installer ?!
If so - Do it yourself - U can manage it ya :D
bman

jorel 05-11-2003 04:55 PM

thanks bman,
you know,i'm not too inteligent like you all,
i only "speak too much",or better:
ask too much!
:lol:

irshliquor 05-11-2003 05:50 PM

Quote:

Originally Posted by bman
@ irshliquor
It's simple : This Avisynth error means that version u are working with dosn't support this filter :D
Check what Avisynth version u are working with and upgrade it to v2.08 or v2.5* but first delete all Avisynth.dll files from windows\system32 folder .
Hope this'll help
bman

i'm using avisynth 2.08 and the line that it says is my problem (line 7) is the line for mpeg2source...but i can't see any problems with it...

irshliquor 05-11-2003 05:55 PM

Quote:

Originally Posted by jorel
Quote:

Originally Posted by irshliquor
still no luck :(

where are the

mergechroma.dll
and
mergeluma.dll
in
D:\VCD\Movie Stacker\Filters\..... :?:
on the script?

:?:

they're in d:\vcd\movie stacker\filters\

irshliquor 05-11-2003 05:57 PM

here's the first lines from my .d2v file:

DVD2AVIProjectFile
8
44 C:\CATCH_ME_IF_YOU_CAN\VIDEO_TS\VTS_01_1.VOB
44 C:\CATCH_ME_IF_YOU_CAN\VIDEO_TS\VTS_01_2.VOB
44 C:\CATCH_ME_IF_YOU_CAN\VIDEO_TS\VTS_01_3.VOB
44 C:\CATCH_ME_IF_YOU_CAN\VIDEO_TS\VTS_01_4.VOB
44 C:\CATCH_ME_IF_YOU_CAN\VIDEO_TS\VTS_01_5.VOB
44 C:\CATCH_ME_IF_YOU_CAN\VIDEO_TS\VTS_01_6.VOB
44 C:\CATCH_ME_IF_YOU_CAN\VIDEO_TS\VTS_01_7.VOB
44 C:\CATCH_ME_IF_YOU_CAN\VIDEO_TS\VTS_01_8.VOB

Stream_Type=1,0,0
iDCT_Algorithm=2
YUVRGB_Scale=1
Luminance=128,0
Picture_Size=0,0,0,0,0,0
Field_Operation=0
Frame_Rate=29970
Location=0,0,7,2AB59

jorel 05-11-2003 06:11 PM

Quote:

Originally Posted by irshliquor
Quote:

Originally Posted by jorel
Quote:

Originally Posted by irshliquor
still no luck :(

where are the

mergechroma.dll
and
mergeluma.dll
in
D:\VCD\Movie Stacker\Filters\..... :?:
on the script?

:?:

they're in d:\vcd\movie stacker\filters\

right, but where in the script? :?
your script:
LoadPlugin("D:\VCD\Movie Stacker\Filters\Mpeg2Dec.dll")
LoadPlugin("D:\VCD\Movie Stacker\Filters\GripFit_preview.dll")
LoadPlugin("D:\VCD\Movie Stacker\Filters\Unfilter.dll")
LoadPlugin("D:\VCD\Movie Stacker\Filters\LegalClip.dll")
LoadPlugin("D:\VCD\Movie Stacker\Filters\Sampler.dll")
LoadPlugin("D:\VCD\Movie Stacker\Filters\STMedianFilter.dll")
mpeg2Source("C:\CATCH_ME_IF_YOU_CAN\VIDEO_TS\prf.c atch.me.if.you.can.d2v")

try put this in the script:
LoadPlugin("D:\VCD\Movie Stacker\Filters\MergeChroma.dll")
LoadPlugin("D:\VCD\Movie Stacker\Filters\MergeLuma.dll")
:wink:
try it!
ovg64 and bman posted that avisynth208 install this dlls but
no one dll was intaled in my system,
only avisynth.dll in system folder,nothing more!
i download and unzip the files,then work!

ps:
the first lines from your .d2v file seems ok!
:!:

irshliquor 05-11-2003 06:16 PM

nope, didn't work...same thing. i'm starting to get frusturated. I might uninstall all my stuff and reinstall it all

ovg64 05-11-2003 06:45 PM

Irishliquor, right unistall and reinstall avisynth but before you do that if you have a software like Norton Utilities Win Doctor , you can safelly fix your register from programs you had in the past and had problems with this way Windows becomes faster and more stable. :D

irshliquor 05-11-2003 06:58 PM

Quote:

Originally Posted by ovg64
Irishliquor, right unistall and reinstall avisynth but before you do that if you have a software like Norton Utilities Win Doctor , you can safelly fix your register from programs you had in the past and had problems with this way Windows becomes faster and more stable. :D

i just formatted and reloaded my system...i don't think there's registry errors, but i could be wrong. I've already tried to uninstall and reinstall avisynth, i'm redoing all the software i use to make KVCDs

Racer99 05-11-2003 09:31 PM

Quote:

Originally Posted by irshliquor
Quote:

Originally Posted by ovg64
Irishliquor, right unistall and reinstall avisynth but before you do that if you have a software like Norton Utilities Win Doctor , you can safelly fix your register from programs you had in the past and had problems with this way Windows becomes faster and more stable. :D

i just formatted and reloaded my system...i don't think there's registry errors, but i could be wrong. I've already tried to uninstall and reinstall avisynth, i'm redoing all the software i use to make KVCDs


The easiest thing to do is to start commenting out filters and resize lines until you only leave the mpeg2Source line.

Then open TMPGEnc 's Environmental settings tab (Options -->Environmental Setting --> VFAPI Plug-in) and make sure that ReadAVS and DVD2AVI Project File Reader are listed.

One other thing:

Quote:

mpeg2Source("C:\CATCH_ME_IF_YOU_CAN\VIDEO_TS\prf.c atch.me.if.you.can.d2v")
I don't know if TMPGEnc or Avisynth likes the naming convention with all the . (periods). Try a regular name.

Racer99

irshliquor 05-11-2003 10:50 PM

ok, how do i get more plugins? i don't have either of those listed; ReadAVS or DVD2AVI Project File Reader. i changed the filename to catch.d2v and had the same problem...but let me know how to add those features to TMPGEnc

Racer99 05-11-2003 11:02 PM

Check out this thread. I think it's the 2nd post down for READAVS.

http://www.kvcd.net/forum/viewtopic.php?t=3320

I would worry about this one first. I don't remember how the DVD2Avi Project File Reader was installed. But TMPGEnc will not work without ReadAVS installed.

Download Link:

http://www.christian-behrens.de/vide...nc-readavs.zip

irshliquor 05-11-2003 11:09 PM

tmpgenc never had a problem before, maybe i need the DVD2AVI one though...because i installed it and it didn't work with the d2v file...

Racer99 05-11-2003 11:20 PM

Check here. I don't know if it truly contains what you need, but it's what TMPGEnc has.

http://www.tmpgenc.net/e_vfapi.html

irshliquor 05-11-2003 11:42 PM

ok, the DVD2AVI Project file reader worked...next question:

Does it normally take longer to encode from a d2v project than an avi source?

irshliquor 05-11-2003 11:56 PM

ok, the DVD2AVI Project file reader worked...next question:

Does it normally take longer to encode from a d2v project than an avi source?

kwag 05-12-2003 12:09 AM

Quote:

Originally Posted by irshliquor
Does it normally take longer to encode from a d2v project than an avi source?

Yes :wink:

-kwag

irshliquor 05-12-2003 12:11 AM

Kwag:

Alot longer?

irshliquor 05-12-2003 12:19 AM

holy bejesus, it's taken 7 minutes to encode 17 seconds of video...is this normal? or maybe my script is screwy, or a setting in ToK or TEMPGenc?

kwag 05-12-2003 12:23 AM

A .d2v encode has to go through vfapi. An AVI encode, goes directly through the AVI CODEC. That's why the .d2v project is slower.

-kwag


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