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-12-2003 12:39 AM

but is it normal? 7 minutes for 17 seconds of video? just prediction has taken 20 minutes, and it's saying 20 more minutes.

Kane 05-12-2003 12:47 AM

Quote:

Originally Posted by irshliquor
but is it normal? 7 minutes for 17 seconds of video? just prediction has taken 20 minutes, and it's saying 20 more minutes.

this depends on your pc, how fast your cpu and ram is

irshliquor 05-12-2003 12:50 AM

P4 1700 384MB RAM. it only takes 4 seconds to encode every 1 second if i'm encoding from an avi...that's what's making me freak

update: prediction done after an hour and a half...remaining time in TMPGEnc is over 30 hours...this can't be normal...

bman 05-12-2003 02:55 AM

Which version of TMPGenc u are working with ?
bman

irshliquor 05-12-2003 02:56 AM

tmpgenc plus 2.511.51.160

jorel 05-12-2003 03:02 AM

irshliquor my friend,
:wink:

i'm more confuzed than you, believe! :?

i can't find any error(i test this script like you)
working normal!

irshliquor 05-12-2003 03:05 AM

jorel:

i'm able to encode the video now. I didn't have the DVD2AVI project file reader installed for TMPEGEnc. now my problem is how long it's going to take to encode the movie...30 hours??? insane! something's gotta be wrong...no?

P4 1700 w/ 384MB RAM

bman 05-12-2003 03:17 AM

Just one more thing "irshliquor"
Try to uninstall and Reinstall TMPGenc .
If this can't help try different version .
I'm working with v2.58 and AviSynth v2.07 and can't get DCTfilter to get working . :roll:
Must be some conflict with prog's installed on PC 8O .
bman

irshliquor 05-12-2003 03:19 AM

it's definitely a setting within tmpgenc or something, because i just tested a .avi file and it says it'll take 16 hours to encode a movie I did in just over 4 last week...something's wrong :(

bman 05-12-2003 03:23 AM

It's obvious I think - TMPGenc .
Uninstall and reinstall Avisynth too .
Don't forget to reboot u'r PC after that .
bman

irshliquor 05-12-2003 03:24 AM

i've done that more times than i can count...possibly a version of a filter that's not optimized for my system? look at my script and see if you see anything that could be doing it...

LoadPlugin("D:\VCD Shit\Movie Stacker\Filters\Mpeg2Dec.dll")
LoadPlugin("D:\VCD Shit\Movie Stacker\Filters\GripFit_preview.dll")
LoadPlugin("D:\VCD Shit\Movie Stacker\Filters\Unfilter.dll")
LoadPlugin("D:\VCD Shit\Movie Stacker\Filters\LegalClip.dll")
LoadPlugin("D:\VCD Shit\Movie Stacker\Filters\Sampler.dll")
LoadPlugin("D:\VCD Shit\Movie Stacker\Filters\STMedianFilter.dll")

AviSource("knockaround guys.avi",false)
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)

bman 05-12-2003 03:34 AM

=======
AviSource("knockaround guys.avi",false)
=======
I don't see DISK or drive location where u are loading your AVI ?!
Something like :
AviSource(" C:\ knockaround guys.avi",false)
check this please
bman

irshliquor 05-12-2003 03:35 AM

the source and the .avs are in the same folder, hence it wouldn't need a path

jorel 05-12-2003 03:37 AM

happy to know about
"i'm able to encode the video now"
:D

please, stay online(logged)...you too bman :wink:
sometimes i loose you!

change to
STMedianFilter(10, 30, 0, 0, 10, 30)
Kwag's new script :wink:

filters and last script:
http://www.kvcd.net/forum/viewtopic....58152f76cb1dde
check your versions and got speed

sometimes i see friends here got problems
with differents versions of tmpgenc like bman posted.
but i have four versions and got the same results,no problems.
:wink:

bman 05-12-2003 04:37 AM

=======
ConverttoYUY2
=======
As it's function Must be : ConverttoYUY2()
try that
bman

irshliquor 05-12-2003 05:10 AM

ok, i don't know what I did, but my avi encodes aren't nearly as long as they were anymore...i still can't figure out the d2v encodes though...i tried prediction again with a modified version of the same script i used to check my avi's; damn thing was going to take 45+ minutes just for prediction on my d2v project...someone tell me this is normal and i won't feel like i'm going crazy...

maybe someone (kwag or someone of the likes) experienced with encoding from .d2v's can post me a copy of their script so i can try that out (with an idea of how long it takes them to encode about an hour of video with it)...

well, for now, at least my .avi's are working as they should (one of the problems was that my source directory was on my slower 5400rpm HDD and not on my 7200rpm HDD). that wasn't the whole problem though...maybe it was because in TMPGEnc I had all the VFAPI plugins checked?

bman 05-12-2003 05:16 AM

Try this link :
http://www.kvcd.net/forum/viewtopic.php?t=2223
bman

irshliquor 05-12-2003 05:19 AM

Quote:

Originally Posted by bman

yea that's what i used to figure out to uncheck the VFAPIs

jorel 05-12-2003 05:19 AM

right bman!
:wink:

i posted like this in the page 2 or 3 of this thread too!
ConverttoYUY2()

irshliquor,i'm reading in the preview now your post when i wrote this.
"was going to take 45+ minutes"
reboot ever before you encode,this refresh the system and turn it faster.
:wink:
the merge luma(blur) and stm filters turn the script so slow...
but you got more CQ(good)and more time to encode(bad).

about
"TMPGEnc I had all the VFAPI plugins checked",
go to the Sansgrip thread filters,
and see the best adjusts in tmpgen(a big picture)
:wink:

edit:

wow,bman was faster!
:lol:

bman 05-12-2003 05:26 AM

Jorel !
I can't be faster than u are ! :wink:
It's just luck :lol:
irshliquor !
Have fixed all ?
bman

irshliquor 05-12-2003 05:41 AM

except for how slow the .d2v is...i'm hoping that this isn't how it's going to be for every encode...20+ hours to do a movie is too long...

Racer99 05-12-2003 05:52 AM

Hey irshliquor, fellow kvcd'ers,

Correct me if I'm wrong, virtually no one is converting via .d2v being directly read into TMPGEnc. Everyone is running via avisynth.

One rule of thumb though. The more filters, the longer it takes.

Racer99

irshliquor 05-12-2003 05:55 AM

the source is a d2v, but it's running through an avisynth script...

Reno 05-12-2003 04:30 PM

Holy bejesus, Pat! You really hit the Great Wall of China with this one...

Does anybody think his mpeg2dec.dll might be the culprit? I've heard there are different versions of this available...

:alien:

Reno 05-12-2003 04:41 PM

Also, eliminate any spaces in your .avs command lines and file names. I hear this also helps.

bman 05-13-2003 01:16 AM

I hope this help somehow :
As I reported earlyer I was working with AviSynth 2.07 .Yesterday I tryed v2.08 . My script was KWAG's optimal script with DCT filters in it .
First run of test encoding ~1min was smooth with no Prob's at all .
Then I added TextSub filter to script and tryed to run TMPGenc And guess what ???
I've got the same error message as u "irishliquor " but on DCT filter's line .
Uninstall avisynth and reinstall it doesn't help .
I could run TMPGenc only if I remove Line on DCT filter .
So I encoded ~1min clip but no Subs in it .
TextSub filter didn't work , I couldnt get sub on encoded clip .
Then I replaced it with Another TextSub.vdf and then encoded clip with subs in it !!!
So now when TextSub prob was behaind I added DCT filter line to my script .
No metter what I did I always got the same error : "Unaccepted error on line ... " ( DCT line)
I didn't knew what else to do and then come into the room me loving wife and asked How I'm progressing . U know my answer ( I presume )
And then she suggested to give some rest to PC !!!
U know I did that .
Rebooted PC and tryed once more to encode with full
script and BINGO . IT WORKED with TextSub and even with DCT filter .
I still don't know what was the prob but in this case I managed to go on .

I don't know how this can help but as I see it prob could be some memory
bug that damaged textsub filter cought and restart just fixed that .
Sorry for long mail but just wanted to share with u whole process with hope that this could help in future to anybody.
bman


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