digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   How to convert vob for iso files to KVCDs? (http://www.digitalfaq.com/archives/encode/14476-how-convert-vob.html)

NittoLive 01-26-2007 11:06 AM

How to convert vob for iso files to KVCDs?
 
Hey I have iso, and i extracted it, so i have the AUDIO AND VIDEO FOLDERS, In the Video folder there are vob files on there. i use VLC Player to watch it

Now i was wonderiing if theres anyway i can just convert one of the vob files to KVCD, if not how can i convert whole thing to KVCD

ALSO, Is there a program, where i can add a watermark to one of the vob video clip files, while making it a kvcd

Dialhot 01-26-2007 11:42 AM

Re: How do i convert vob files or iso to KVCD? JUST CLIPS?
 
Quote:

Originally Posted by NittoLive
Now i was wonderiing if theres anyway i can just convert one of the vob files to KVCD, if not how can i convert whole thing to KVCD

You have to parse the VOB (or VOBs) you want to convert with DGIndex, then use an avisynth script to read this D2V and encode the video in KVCD. You never used avisynth before ?

Quote:

ALSO, Is there a program, where i can add a watermark to one of the vob video clip files, while making it a kvcd
All is possible with avisynth and the correct filter.
Use "Xlogo" for instance :
http://avisynth.org/warpenterprises/

NittoLive 01-26-2007 11:46 AM

thanks, can i get a full tutorial, on this cause i never used avisyntch

Dialhot 01-26-2007 11:51 AM

Quote:

Originally Posted by NittoLive
thanks, can i get a full tutorial, on this cause i never used avisyntch

A step by step introduction is available on the home site :
http://avisynth.org/YourFirstScript
http://avisynth.org/ScriptExamples

For DGIndex, go there :
http://neuron2.net/dgmpgdec/dgmpgdec.html

And finally if you want to see the scripts we recommand to do good encoding to KVCD :
http://www.kvcd.net/forum/viewtopic.php?t=3483

NittoLive 01-26-2007 01:59 PM

hey dial thanks again, but i was reading those sites
and since my file is a VOB file, would i use

AviSource("c:\folder\myclip.vob")

or


DirectShowSource("c:\folder\myclip.vob", fps=25)

cause they said avisource is for avi files

and directshowsource is for mpg files


so i dont know which code to use

Also i noticed avisynth, is not a program, just a script,
So how do i place this code txt file at? or VOB or tmpgenc?

heres mny script i have so far including watermark, hope its correct

Code:

LoadPlugin("c:/avisynth/xlogo.dll")
AviSource("C:\Documents and Settings\iItz Thrillz\Desktop\VTS_01_4 001.VOB")
LanczosResize(320, 240)
Xlogo("c:/logo_0.bmp",300,200,180)


Dialhot 01-26-2007 02:56 PM

Quote:

Originally Posted by NittoLive
hey dial thanks again, but i was reading those sites
and since my file is a VOB file, would i use

I already answered to that :roll:

Quote:

Originally Posted by Dialhot
You have to parse the VOB (or VOBs) you want to convert with DGIndex, then use an avisynth script to read this D2V and encode the video in KVCD. You never used avisynth before ?

A d2v is read using Mpeg2source, delivered with DGIndex. Go read the DGIndex guide on the home site of this tool.

Quote:

Also i noticed avisynth, is not a program, just a script,
So how do i place this code txt file at? or VOB or tmpgenc?
The script result is seen as an avi by external program. So you use the avs as source for any encoder that can open regular avi files, for instance Tmpgenc.

Quote:

heres mny script i have so far including watermark, hope its correct

Code:

LoadPlugin("c:/avisynth/xlogo.dll")
AviSource("C:\Documents and Settings\iItz Thrillz\Desktop\VTS_01_4 001.VOB")
LanczosResize(320, 240)
Xlogo("c:/logo_0.bmp",300,200,180)


As said above, the only line wrong is the avisource, to be replace by a
Code:

MPEG2Source("C:\Documents and Settings\iItz Thrillz\Desktop\VTS_01_4 001.d2v")
Where the "d2v" is the file that DGIndex will create for you.

NittoLive 01-26-2007 03:22 PM

ok i used DGINDEX, and fixed the script and used tmpgenc,

but i got this error, heres what i did in tmpgenc. screenshot

http://www.digitalfaq.com/archives/error.gif

and heres the actual error message

http://www.digitalfaq.com/archives/i...2007/01/12.jpg


I got the file, and when i played it, sound worked good, but video clip didnt play, got that error message

Also heres my code , avs code

Code:

LoadPlugin("C:\AviSynth 2.5\plugins\xlogo.dll")
MPEG2Source("C:\Documents and Settings\iItz Thrillz\Desktop\On.The.Grind.Or.Die.Volume.2.2006.NTSC.MDVDR-C4DVD\VTS_01_4 001.d2v")
LanczosResize(320, 240)
Xlogo("c:\wshh2.bmp",300,200,180)

Please tell what i did wroong

Also what settings should i use on DGIndex ON video settings i didnt touvh none of that stuff, and audio on output method, its set to "demux all tracks" so eveyrthing is set to default

and on Options, i see a check next to USe directDrawOverlay
These where all settings by default i didnt touch none of that

and i seen on TOOL, theres a option called PARSE D2V ,, is that what i had to place check marrk on

cause i did , was load the VOB file FILE <OPened and cliceked on File save project, and it gave me the d2v file

Dialhot 01-26-2007 04:15 PM

Mpeg2source is not internal to avisynth but included in DGDecode.dll, delivered by DGIndex.

So you have to add a line "LoadPlugin" at begining of your script to load this dll, the same way you did for Xlogo.ll.

Note: the best thing is to put all the dll from the filters into "C:\program files\avisynth\plugins". This way they will be all loaded automatically, without the need of any loadplugin line.

:arrow: BTW your source seems deeply warez. What is that ? A movie ?

NittoLive 01-26-2007 05:03 PM

hey noo it aint warez, thats my dudes dvd, we are promoting his artist as a rapper! thank god you opened the topic,

I got the Video to encode, but if i add the xlogo thing for watermark, it wont work, it gives me this error

Code:

X Logo: Bitmap width must be even for YUY2 and YV12 sources
(C:\Documents and Settings\iItz Thrillz\Desktop\video3.avs,line 4)

Please tell me how to fix that!

Also without the watermark, the video is about 8 minutes long, and came out to be 75 MB big, i used the KVCD-CQ-352x240-_NTSCFilm_-PLUS.mcf template

does that sound good, size

Dialhot 01-26-2007 05:16 PM

Quote:

Originally Posted by NittoLive
hey noo it aint warez, thats my dudes dvd, we are promoting his artist as a rapper! thank god you opened the topic,

Actually I did not found this movie title on any of the warez search engine I knew :-D

Quote:

Code:

X Logo: Bitmap width must be even for YUY2 and YV12 sources
(C:\Documents and Settings\iItz Thrillz\Desktop\video3.avs,line 4)

Please tell me how to fix that!
The message seems easy to understand : the width (in pixels) of the BMP you sue as watermark must be even (= divisible by 2). Just crop or resize the BMP with paint for exemple. I suggest you to have also a height that is even.

Quote:

Also without the watermark, the video is about 8 minutes long, and came out to be 75 MB big, i used the KVCD-CQ-352x240-_NTSCFilm_-PLUS.mcf template

does that sound good, size
The size of the sample never reflect the size of the complete video, this is the only difficulty in KVCD. That is why Karl developped the tool "CQMatic", to help to find the correct settings to obtain the wanted size. You can find it there :
http://www.kvcd.net/forum/viewforum.php?f=64

NittoLive 01-26-2007 06:03 PM

i made my image 324 x 50

and heres my x logo settings on the avs file
Xlogo("c:\wshh2.bmp",200,200,180)

so i converted the file no errors, but my watermark didnt show up no where on the vvideo

so i tried changing the values

heres my new x logo settins
Xlogo("c:\wshh2.bmp",500,500,180)

then when i loaded that up on tmpogenc
i got a error saying
Code:

Crop: you cannot use crop to enlarge or 'shift' a clip
(C:\Documents and Settings\ILytsThrillz\Desktop\video3.avs, Line 4)

Please what now

Dialhot 01-26-2007 07:00 PM

Please, read the doc provided with Xlogo and try to understand it instead of trying random values. First two parameters are the X and Y coordinate of the top left edge of the watermark. you can't st them to 500 when your video is resized to 320*240 on the line just above ! The same way you can't put a 324 x 50 image on a 320 x 240 one.

Edit: My mistake ! :oops: Xlogo seems to be a logo remover ! To add logo you should look at that guide :
http://www.scvi.net/logo.htm

NittoLive 01-29-2007 01:59 PM

thats adding logo to a nvs file, and i dont knwo what code i should use,

Dialhot 01-29-2007 02:30 PM

Quote:

Originally Posted by NittoLive
thats adding logo to a nvs file, and i dont knwo what code i should use,

Forget the NVS, the script is simple to understand and not really different from the one you already have (just change the directshowsource by mpeg2source and remove the changeFPS line). The code is on bottom of page two, and there is no DLL to download because it uses only filters internal to avisynth (ImageSource and Overlay).

I'm almost shure that what is not working in your logo is that you did not do any mask for it. The guide about NVS explains to you what is a mask and how to obtain it.


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