KVCD - is not a valid integer value in ToK?
OK I've been trying to figure out how to do SKVCDs here for weeks now. KVCDs won't play on my player. Is there any other avi to SKVCD guides out there? I think I've got most of it figured out, the only problem is when I try to load my avs in ToK i get an error: " is not a valid integer value. Here is the avs I created from MovieStacker.
LoadPlugin("C:\Program Files\MovieStacker\Filters\MPEG2Dec.dll") LoadPlugin("C:\Program Files\MovieStacker\Filters\STMedianFilter.dll") LoadPlugin("C:\Program Files\MovieStacker\Filters\DustV5.dll") LoadPlugin("C:\Program Files\MovieStacker\Filters\UnFilter.dll") LoadPlugin("C:\Program Files\MovieStacker\Filters\LegalClip.dll") AviSource("G:\Ripps\Current\The Breakfast Club.avi") LegalClip() BicubicResize(464, 350, 1/3, 1/3, 10, 0, 620, 352) STMedianFilter(10, 50, 8, 10, 10, 50) FaeryDust(limit=2) UnFilter(50, 50) MergeChroma(blur(1.58)) MergeLuma(blur(0.2)) AddBorders(8, 65, 8, 65) LegalClip() Also what is the real difference between KVCD and SKVCD? Do I need the filters if I'm encoding an avi to SKVCD? BTW I have: MovieStacker 2.0.0 ToK 0.0.5.3 AviSynth 2.0.8 |
Hi incognito,
Change this line: AviSource("G:\Ripps\Current\The Breakfast Club.avi") To read: AviSource("G:\Ripps\Current\The Breakfast Club.avi", False) That will kill the audio stream, which is why you're getting the error. -kwag |
New Script:
LoadPlugin("C:\Program Files\MovieStacker\Filters\MPEG2Dec.dll") LoadPlugin("C:\Program Files\MovieStacker\Filters\DustV5.dll") LoadPlugin("C:\Program Files\MovieStacker\Filters\UnFilter.dll") LoadPlugin("C:\Program Files\MovieStacker\Filters\LegalClip.dll") AviSource("G:\Ripps\Current\The Breakfast Club.avi", False) LegalClip() BicubicResize(512, 334, 1/3, 1/3, 1, 0, 638, 352) SpaceDust() UnFilter(50, 50) MergeChroma(blur(1.58)) MergeLuma(blur(0.2)) AddBorders(8, 73, 8, 73) LegalClip() Same error. OK I must sleep now... :cry: |
Hey incognito,
Out of curiosity, what brand/model dvd player do you have? Maybe someone else has one too and can share their experiences with you. It's a real shame if your player can't handle KVCDs! :( It's been a little while since moviestacker has been updated, so the script you created with it might be a bit outdated. You might want to check the following "Optimal Script" thread and make a few minor adjustments --> http://www.kvcd.net/forum/viewtopic.php?t=3483 . Of course, you can substitute the GripFit lines from the optimal script with the resizing/addborder ones that moviestacker gave you. The difference between kvcd and skvcd is basically that one uses mpeg-1, and the other uses mpeg-2. Mpeg-1 KVCDs are what most people here use/create since mpeg-1 looks better @ bitrates below ~2500kbps and gives better compression, whereas mpeg-2 looks better for bitrates higher than ~2500kbps. Mpeg-1 KVCDs win out though because the main goal for most people is great-looking 1-disc encodes, rather than splitting a movie onto 2 or 3 discs. Happy trails, -d&c |
I receive these days the same message when loading an .avs in ToK - " is not a valid integer value. But actually there are (almost) no problems with the encoding.
|
If you are still getting the error and want to track it down, you'll have to go the old programmer's route and just comment out one line at a time to determine which line is giving you the problem. But as D&C said you may want to first update your script to the latest optimal script for version 2.08. I've never had any problems with the latest script, at least not in it's standard form.
Also, it should be noted that if you change your script while ToK is loaded, the only way to get ToK to recognize the changes is to exit ToK completely and the restart it and load the new version of the script. For some reason you can't just reload the updated script with the same name and have ToK recognize the changes. At least that is my experience. A quicker way to debug the script would be to load your AVS script in VirtualDub, because you can just re-open your same script as you change it and VDub will recognize the changes. Hope this helps. |
When you say use the latest script do you mean to change the code in MovieStacker as so?
Original from MovieStacker: Code:
LoadPlugin("C:\Program Files\MovieStacker\Filters\MPEG2Dec.dll") http://www.digitalfaq.com/archives/error.gif I get this from ToK: Code:
============================================================= Code:
LoadPlugin("C:\Program Files\MovieStacker\Filters\MPEG2Dec.dll") Code:
============================================================= |
Hi incognito,
Go in Moviestacker, take the resizing parameters and functions instead of using Gripfit, (just like you have in your top screenshot), and edit your script so you use BicubicResize, etc. Thant means, remove GripCrop, gripSize, GripBorders. Then save your script again. This will now use AviSynth's internal resizing. See if that clears the problem. Load your .avs in VirtualDub, and see if you get any errors. -kwag |
I think the problem is that the avi is encoded at 29.971 fps not 29.97. I'm going to try a different avi now.
Code:
LoadPlugin("C:\Program Files\MovieStacker\Filters\MPEG2Dec.dll") Code:
============================================================= |
BTW Thanks for all your help kwag, D Rated, and dazed&confused. It is much appreciated. I look forward to the day when all my movies are on single KVCDs not 2 SVCDs.
|
incognito, just download the program "avifrate". I downloaded it from doom9.org It's really simple, you just tell the program what frame rate of the video you want. That will solve your problem 8)
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.