View Full Version : kvcd to xvid using gknot
audi
12th July 2003, 09:14
1. i have a kvcd ( some weird new vcd format).
2 i converted this to an mpeg.
how can i get dvd2avi to make a project out of this soo i can use gordian knot to encode the video.Or how can i use gknot to convert an kvcd to xvid. Thnx
jggimi
12th July 2003, 14:26
You've cross-posted (http://forum.doom9.org/forum-rules.htm). This same question has also been asked in
DVD2AVI forum: http://forum.doom9.org/showthread.php?s=&threadid=57385
and
XviD forum: http://forum.doom9.org/showthread.php?s=&threadid=57378
and
VCD/SVCD Encoding/Authoring: http://forum.doom9.org/showthread.php?s=&threadid=57224
Please avoid cross-posting -- asking the same question in multiple places -- it makes it difficult to get the right answer, difficult to follow a conversation, and difficult for those who search with similar problems.
----
If your mpeg file is MPEG-2, you can open it in DVD2AVI and make a project, which can then be used as input to GKnot. You can also create an AviSynth script (.avs file) using DirectShowSource for either MPEG-1 or MPEG-2 video, and use it as input to GKnot. For example:DirectShowSource("file.mpg",fps=29.97)
audi
12th July 2003, 19:47
sorry about the crosspossed and thnx for the help
audi
12th July 2003, 19:58
can you expand a little on how to make that avs file im a little overwhelmed by your instructions.
jggimi
12th July 2003, 20:52
To create an AviSynth script that uses Microsoft DirectShow to serve video from your MPEG-1 or MPEG-2 source, merely create a one line file, with a file type of .avs, which provides a pointer to your MPEG file and it's frame rate. Here are two examples.
Example 1: PAL, with a complete directory structure:DirectShowSource("D:\your_movies\your_folder\your_file.mpg",fps=25)Example 2: NTSC, where the .avs script is in the same folder as the .mpg file:DirectShowSource("your_file.mpg",fps=29.97)---
Save this file with a filetype of .avs. If you open it in any Avi player, you should be able to see video. If so, open this file in Gordian Knot. I haven't done this in a while; back when I last did this Gknot's preview screen didn't show anything, but Gknot would work just fine, provided you didn't need to see the preview.
Click on www.avisynth.org for more on DirectShowSource and other commands.
audi
13th July 2003, 01:23
ok i created the file and i can open it in my avi player but when i load it into gknot it gives me a acces violation error. what else would you suggest i do with this avs. thnx
jggimi
13th July 2003, 02:44
I'm unsure what your problem might be. Please be sure you have the latest release of both the Rip pack and the Service pack installed.
In addition, please create another 1-line .avs file which has the statement:Version() in it. Opened in your player, it should specify which version of AviSynth is installed, just to be sure.
audi
13th July 2003, 06:44
im not even sure that i have the right thing installed. send me a link to what you would use ( also im using gordian knot 28.5). also when i loaded the avs into vdub (newest version) it also crashed soo maybe there is a problem with the install that i did cause what i got was avisynth-0.3.zip and avisynth-source-1.0-beta3.zip but im not sure i installed them right
thnx
bond
13th July 2003, 14:21
wah i hate cross posts :mad:
jggimi, would have been great if you would have posted in the other threads that there are cross posts to avoid that someone (like me) is writing in the other thread (http://forum.doom9.org/showthread.php?s=&threadid=57378) too...
so i am helping only in this thread from now on:
audi,
just install latest gknot rippack (0.28.5) and you 'll get the right avisynth version you need (AviSynth 2.5.2)
you dont need to convert the .dat into .mpg:
1) you can also try loading the .dat file directly in virtualdubmod -> does it have the right aspect ratio then?
2) you can also try loading a different .avs script like this:
LoadPlugin("C:\mpegdecoder.dll")
MPEGSource("C:\movie.dat,-2)you can also crop and resize the picture if necessary (wrong aspect ratio). simply add this to your .avs:
LoadPlugin("C:\mpegdecoder.dll")
MPEGSource("C:\movie.dat,-2)
crop(put here crop values if necessary)
BicubicResize(and here resize parameters as you like)for this way you'll have to download mpegdecoder.dll from nic's hp here (http://nic.dnsalias.com/MPEGDecoder/MPEGDecoder_YV12.zip)!
audi
13th July 2003, 17:14
sorry bond about the cross post, i tried to also ask my question in the digital digest forum but instead i just asked it here twice. i am using not a vcd but a kvcd i dont know if that matters but whatever. i cant load the dat file directly into vdub or vdub mod because after i select say divx 4 it crashes after encoding and if i select divx 5 or xvid it wont even start. so i just add
LoadPlugin("C:\mpegdecoder.dll")
MPEGSource("C:\movie.dat,-2)
to my already created file ? because i think im missing a step cause all i did was create a text file name 28 days later.avs with the line DirectShowSource "D:\your_movies\your_folder\your_file.mpg",fps=25) (of course i added the proper info into the line) but it wont load in gknot but i can play it in windows media player.it also crahes vdub too ? jggimi suggested that i add version(), if im using gknot 28.5 what version of avisynth do i have. thnx for the help and sorry about the cross post.
bond
13th July 2003, 17:27
ok, let's try it step by step :)
try to open the dat in virtualdubmod:
open virtualdubmod -> file -> open video file -> under file type choose MPEG -> open your .dat file
nothing less, nothing more!!!
1) does this work?
2) if yes, is the video shown with the correct aspect ratio?
audi
14th July 2003, 00:27
yeah works i can see it fine. im not sure how to check the aspect ratio i think its 4:3 but im not sure i would like to make it 16:9 but yeah vdub opens it fine.
jggimi
14th July 2003, 01:58
I'll ask, again, audi.
Please create a 1-line .avs script with "Version()", and open it with any AVI player or Vdub(mod). It will tell you which version of AviSynth you are using. If you are using the Gknot System Pack for 0.28.5, and installed components properly, that should be AviSynth 2.52.
audi
14th July 2003, 02:28
yes you are right i am using 2.52. is that right version
jggimi
14th July 2003, 02:37
Yes it is. I've PM'ed len0x, asking him to take a look at this thread. .d2v, .avi, and .avs should all be usable as input file types for Gknot.
audi
14th July 2003, 02:46
thank you soo much i have a bunch of vcds and in this case (kvcds) that i want as xvids but i cant convert any of them. im probably missing something real stupid but to recap i can open my created avs file in windows media player just fine, but if i try to open them in vdub (or vdubmod) or gknot it crashes.
len0x
14th July 2003, 10:35
If it crashes in VDubMod already, then its not GK's direct fault...
What does it say when crashing ?
bond
14th July 2003, 11:44
Originally posted by audi
yeah works i can see it fine. im not sure how to check the aspect ratio i think its 4:3 but im not sure i would like to make it 16:9 but yeah vdub opens it fine. great!
so now you can try to encode it with xvid:
-> open .dat in vdm -> video -> fast recompress -> compression -> xvid -> choose 2pass - 1st pass -> choose the settings -> file -> save as -> choose the file name
(now xvid will analyse the .dat and create a .stats file only, there will be no playable .avi in this first step now)
does this work?
Originally posted by len0x
If it crashes in VDubMod already, then its not GK's direct fault...yeah, audi, you dont need gknot for now; and if you can load the .dat directly in vdm you also dont need avisynth and a .avs file (normally ;) )
audi
14th July 2003, 13:42
its hard to explain when i load the avs into vdub or vdubmod it doesnt give me and error it just makes the vdub "NOT RESPOND" and if i try to load the avs into gknot i get an "access violation in module gordian knot". if i try to load the dat file in vdubmod i get "mpeg import filter cannot determine type" but if i load it into normal vdub do the first pass setup for xvid, before it even starts to encode it says video compression error. maybe i just have a messed of dat file or something cause nothing seems to work. thnx
audi
14th July 2003, 13:46
on on that video compresion error, it is (code -100)
bond
14th July 2003, 17:22
hm ok that's what you can also try:
1) download mpegdecoder.dll from nic's hp here (http://nic.dnsalias.com/MPEGDecoder/MPEGDecoder_YV12.zip) and place it anywhere you want on your harddisk (but remember the path ;) )
2) create a .txt file and write the following into it:
LoadPlugin("C:\write here the path to\mpegdecoder.dll")
MPEGSource("C:\write here the path to\movie.dat,-2)3) rename the .txt file to .avs
4) open it in virtualdubmod
5) encode with divx5 or xvid (not divx4)
does this work?
audi
14th July 2003, 19:46
ok this sorta worked. ok i had to take out the -2 out of the second line. also when i load the avs into vdubmod it starts to create a d2v then it gets to the middle and just kinda stops. it doesnt crash but it just stops. maybe there is an error in the dat.sooo im not sure whats going on. but this is a huge step forward.
bond
15th July 2003, 00:22
dont take out the ,-2!!!
it is there for a reason -> mpegdecoder cant create right .d2v files for mpeg-1 sources (which .dat files are)!
what happens wrong if you leave the -2 in?
audi
15th July 2003, 00:44
" Avisynth Open Failure:
Evaluate: Unreconinized exception!
(c:\ripping\28.avs,line 2) "
that is the error i get when i open it in vdub.
and here is what my avs has in it,
LoadPlugin("C:\mpegdecoder.dll")
MPEGSource("C:\ripping\AVSEQ01.DAT,-2") thnx
jggimi
15th July 2003, 00:48
You have a syntax error. Your second line should read:MPEGSource("C:\ripping\AVSEQ01.DAT",-2) Note the position of the double quote marks.
audi
15th July 2003, 01:17
THANK YOU, ok it loads into vdubmod perfectly whats my next step. I did this ( video -> fast recompress -> compression -> xvid -> choose 2pass - 1st pass -> choose the settings -> file -> save as -> choose the file name) but before it starts to encode i get an video compression error (code -100)
bond
15th July 2003, 01:36
sorry i forgot the " on the right position in my post
hm if this doesnt work there really seems to be something wrong in your kvcd, which there doesnt seem to be a workaround for
perhaps you should send belgabor a private message (he is one of the developers of virtualdubmod) and point him to this thread here. i am sure he can say what code -100 means...
audi
15th July 2003, 01:46
thanks for all your help and i will send a pm to belgabor.
Belgabor
15th July 2003, 10:00
Unfortunately I have no idea. Perhaps Cyrius has, I'll pm him about this thread.
Suiryc
15th July 2003, 17:14
I think the -100 error is a 'general' error
#define ICERR_ERROR -100L
I think it's this one, meaning you don't really know what's the error.
Are you using the latest (bugfix) VirtualDubMod version ?
Also you could try fccHandler's mod (http://fcchandler.home.comcast.net/) (on which the MPEG support of VirtualDubMod 1.5.x is based) to see if this solve your problem.
audi
15th July 2003, 21:52
well it looks like fcchandlers mod is gonna work. i set it up to encode in xvid and start it and i dont get any errors. im gonna wait till tonight and i will encode the full thing but i think its gonna work. thank you all for your help.
bond
15th July 2003, 23:35
i always thought that fcchandlers mod is included in virtualdubmod :confused:
Belgabor
15th July 2003, 23:41
Yes it is. Problem could be some unforseen interaction between his mod and ours. Might also be we forgot to add his latest fixes. We'll have a look.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.