digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   DVD2SVCD: DVD2KVCD plugin (http://www.digitalfaq.com/archives/encode/4844-dvd2svcd-dvd2kvcd-plugin.html)

azel 08-02-2003 09:36 AM

DVD2KVCD plugin
 
DVD2KVCD

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


DVD2KVCD is a plugin for DVD2SVCD. This program will set up KVCD settings in DVD2SVCD, and install necessary aviynth filters / scripts.

The program should be easy to use, and if you install BurnOut too, you will only have to insert a CD-R, Run DVD2KVCD and hit GO in DVD2SVCD. After some hours you'll have a KVCD in your CD-writer!

Downloads:
READ THIS:
If you need help, DOWNLOAD THE LATEST VERSION of DVD2KVCD (at the moment DVD2KVCD lite v 0.2) and try this version before you post your problem. Then, if you still have problems, post your LOG (DVD2KVCD_log.txt in your DVD2SVCD's working directory). And once again, the pluggin is for DVD -> (K)(S)VCD, and NOT Avi -> (K)(S)VCD. Of course you can try Avi -> (K)(S)VCD, but I strongly don't recomand this, and this can make a lot of trouble for you.

IMPORTANT!!!
Do you got errormessages or other problems with DVD2KVCD, try to install DVD2SVCD to C:\DVD2SVCD, not C:\Program Files\DVD2SVCD.
This may also fix BurnOut problems!
Please report your results!

Changes:

DVD2KVCD lite 0.2
-A lot of bugs!
-Added suport for KVCD templates

DVD2KVCD Lite 0.1:
-Bug fixing
-Many options are removed

2.0.10:
-Audio encoding with HeadAC3he after video encoding will make imagesize even more precice.
-Removed DivX avs scipt for a litle while. It seems to be buggy. If you want to convert DivX movies, add the script manuelly

2.0.9 Beta 1
-Added CQMatic 1.2.03. No need for additional file!
-Suport for more precice prediction at cost of time.
-More precice movie length => better calculations of bitrates

2.0.8 Beta 2
-I hope I solved the time/bitrate error in CQMatic

2.0.7:
-Small bug fixes
-New avisynth script: MA for 4:3 interlaced sources
-TMPGEnc project wizard problem

2.0.5:
- Added CQMatic as external predictor
PS: You have to download this version of CQMatic

2.0.3:
- Max bitrate fix
- Added "Auto audio bitrate"
- Some other small things

2.0.0:
- New GUI
- Suport for VCD/CVD/SVCD/KVCD
- Some bugs
NB: You have to use DVD2SVCD 1.2.1 Build 2 or higher

1.0.1:
- Added FAQ
- Bug fix: D2K will choose Automatic vbr when choose KVCD 352x240/288

1.0.0 Beta 1:
- Suport for DVD2SVCD 1.2.1
- Revmoved DVD2KVCD's own prediction, and use DVD2SVCD's instead. This will fix a lot of bugs!
- Updated / added DivX script. Thank Dialhot for scripts!

0.95 BETA:
- Automatic template chooser is enabled.
- Added kwag's "Manual File Prediction".
- "Mux as" is now functionable.

jorel 08-02-2003 10:06 AM

hey azel,
you wrote:
"USE IT ON YOUR OWN RISK!!!"

i will try later my friend,seems great!
thanks.

:D

azel 08-02-2003 10:16 AM

Quote:

Originally Posted by jorel
hey azel,
you wrote:
"USE IT ON YOUR OWN RISK!!!"

i will try later my friend,seems great!
thanks.

:D

It's not dangerus to try it, but it can mayby cost you some time... :?

jorel 08-02-2003 10:23 AM

no problems azel,the important is the kvcd results with DVD2KVCD!

:)

Thomas Davie 08-02-2003 11:11 AM

Wow!
 
I'm at my girlfriends house now, and so can't download the program (well, I could, but she doesn't have the hardware to run or use D2S), but will as soon as I get home.

A quick question for you Azel; do I have to back up my ini files before using this, or do they remain untouched?

Seems very good my friend. Anything to make life easier for mw :)

thanks

Tom

Thomas Davie 08-02-2003 11:17 AM

Small bug?
 
When starting up the program and initiating DVD2SVCD, under the bitrate tab, all of the CD sizes default to 8000 MB?

Any idea?

Tom

vhelp 08-02-2003 11:22 AM

hi azel.. :)

I don't actually use dvd2svcd, but since I had it, I am now able to check out
your new toy :) :roll: :) checking it out now.

I like trying new toys !
-vhelp

vhelp 08-02-2003 11:35 AM

hi azel..

Quote:

Changes:

0.95 BETA: -Automatic template chooser is enabled.
-Added kwag's "Manual File Prediction".
-"Mux as" is now functionable.
I didn't see any "prediction" related buttons or whathaveyou in your app. I've ben testing
this out the MS Excel way, via the manual way (though I haven't gotten it nailed accurately
yet) I want to basically translate it from my Excel process, to my app's, and I'm just
curious how your approach is, that's all.

In any case, let me know if I'm doing anything wrong. I'm just curious, k?
-vhelp

azel 08-02-2003 12:15 PM

Quote:

A quick question for you Azel; do I have to back up my ini files before using this, or do they remain untouched?
Yes, I recomand you to make a backup. DVD2KVCD will change a lot of settings, and TMPGEnc path will be changed too DVD2KVCD's path.
I'll make an "autobackup" in the next version. :roll:

Quote:

When starting up the program and initiating DVD2SVCD, under the bitrate tab, all of the CD sizes default to 8000 MB?
DVD2KVCD use this formula:
CDROM User Data size: 2324 (mode 2 block size) * 75 (frames/sec) * 60 (sec) * (CDsize (80)) (min) = 836 640 000.
So don't care about the settings under the bitrate tab. I'll fix it in the next version!

Quote:

I didn't see any "prediction" related buttons or whathaveyou in your app. I've ben testing
this out the MS Excel way, via the manual way (though I haven't gotten it nailed accurately
yet) I want to basically translate it from my Excel process, to my app's, and I'm just
curious how your approach is, that's all.
Well I haven't add any settings for the prediction yet, and the prediction is still a litle bit simple. When you finished videoencoding, you can see DVD2KVCD_Log.txt in DVD2SVCD's working dir.
I made it simple, because I want to use CQmatic in later versions. It seems to be the best predictor:wink:

I didn't understand everything in your reply (you see my english is terrible... :oops: ).
But the prediction works like this:

1) First DVD2KVCD make a test clip with the best reselution and "worst CQ value". If the testclip becomes larger than the calculated test clip, it tries the next template untill the filesize becomes less than caculated filesize.

2) DVD2KVCD use kwag's manual prediction. Encoding starts when the filesize of the testclip is -/+ 0,1 % of calculated filesize.

vhelp 08-02-2003 12:26 PM

@ azel..

Ok :) -- thanks. I just thought there was a hidden button or first had to fill in
something, to get prediction enabled, thats all. Thanks again.

-vhelp

DDogg 08-02-2003 01:53 PM

I am very interested to give this a try, but I note prediction is being done at 25fps for ntsc. Perhaps a warning if NTSC is checked that it is not operational?

jorel 08-02-2003 04:09 PM

welcome in forum DDodd!
is a pleasure for us.
:D

great idea about warning if is ntsc
cos i got 25fps for too.

:!:

azel 08-03-2003 04:04 AM

Quote:

I am very interested to give this a try, but I note prediction is being done at 25fps for ntsc. Perhaps a warning if NTSC is checked that it is not operational?
I almost never encode NTSC DVD's, so it's hard too find the buggs when encoding NTSC. So thank you for the reply DDogg :)
I'll change frame rate from 25 fps -> 23,976 / 29.97 when converting NTSC.
Note: Video format will automaticly choosen before videoencoding. So the PAL/NTSC option in the DVD2KVCD menu is only for the preveiw window 8)

azel 08-03-2003 12:17 PM

New version, DVD2KVCD 0.95 BETA 2 :D

- Fixed frame rate problem for NTSC
- Fixed CD size problem in DVD2SVCD under bitrate tab
- DVD2KVCD make a bacup of DVD2SVCD.ini the first time you run it.

TheDJ 08-04-2003 03:53 PM

Thank you very much for this cool program azel, much appreciated!!

Was waiting for someone to do a dvd2kvcd :D

One question....so once we go into dvd2svcd, we dont need to select a template in misc. tab?

Cheerz

/TheDJ®

TheDJ 08-05-2003 07:25 AM

Just tried 1st encode....failed!!

Left Pc on overnight, returned, and a window was constantly flickering, i believe it to be tmpgenc.

disappointed :(

azel 08-05-2003 08:25 AM

Quote:

One question....so once we go into dvd2svcd, we dont need to select a template in misc. tab?
No, don't select any templates in misc. tab.

Quote:

Originally Posted by TheDJ®
Just tried 1st encode....failed!!

Left Pc on overnight, returned, and a window was constantly flickering, i believe it to be tmpgenc.

disappointed :(

This is still a beta version :oops: . Could you post the DVD2KVCD_log.txt in DVD2SVCD's output directory??? If you do I can try to solve the problem, and fix it in the next version :)

TheDJ 08-05-2003 11:06 AM

Unfortunately i closed the program down, but will try again, and send u the log asap.

Didnt mean to sound to harsh when i said i was dissappointed, just the fact that i couldnt get it to work when others could.

Thx

azel 08-05-2003 01:21 PM

Quote:

Originally Posted by TheDJ®
Unfortunately i closed the program down, but will try again, and send u the log asap.

Didnt mean to sound to harsh when i said i was dissappointed, just the fact that i couldnt get it to work when others could.

Thx

That's OK :wink:

azel 08-06-2003 11:40 AM

New version again:

DVD2KVCD 0.96 BETA 1

This version should work!!! :roll:

m0rdant 08-06-2003 08:17 PM

Hey there, very interested in this plugin but I'm one of the people it doesn't seem to work for.

I get the flashing TMPGenc screen...TMPGenc starting and stopping.

A little step-by-step for this might help. Not sure how it is supposed to do the prediction as it starts DVD2SVCD with a set of 70.

We start this program and then click the start DVD2SVCD button?

azel 08-07-2003 09:32 AM

Quote:

Originally Posted by m0rdant
Hey there, very interested in this plugin but I'm one of the people it doesn't seem to work for.

I get the flashing TMPGenc screen...TMPGenc starting and stopping.

A little step-by-step for this might help. Not sure how it is supposed to do the prediction as it starts DVD2SVCD with a set of 70.

We start this program and then click the start DVD2SVCD button?

Do this:
1) Run DVD2KVCD
2) Click "start DVD2SVCD"
3) Do not change any settings, Click GO -> Rip and convert

Try the latest version. I encoded "Bourne identity" tonight, and it worked perfect for me :D

If it don't work, please post the DVD2KVCD_log.txt, than I can maybe help you!

PS: I've used worst CQ 65, and selected SKVCD 528x576 and SKVCD 352x576 as templates.
I ended up with SKVCD 352x576 with CQ value 65. The CD imagefilesize is 730 MB.

Thomas Davie 08-07-2003 03:15 PM

I've downloaded and used your most recent version, but for some reason, it will not (so far) encode MPEG-2 files.

I set your program to NTSC, hit 'start DVD2SVCD', and then hit encode (after loading the DVD). It sets the file type to SVCD, but upon going into TMPEGEnc, it stays at MPEG-1 (and yup, I bought T+).

Any ideas?

thanks for a great program.

Tom

azel 08-08-2003 08:27 AM

Quote:

Originally Posted by Thomas Davie
I've downloaded and used your most recent version, but for some reason, it will not (so far) encode MPEG-2 files.

I set your program to NTSC, hit 'start DVD2SVCD', and then hit encode (after loading the DVD). It sets the file type to SVCD, but upon going into TMPEGEnc, it stays at MPEG-1 (and yup, I bought T+).

Any ideas?

thanks for a great program.

Tom

Wich templates have you enabled in DVD2KVCD menu??? DVD2KVCD start testing with the "best" template. So if you have selected 704x576(480), the first test encode will be 704x576. If this template is too big for your selected "worst CQ", it will tries the "next best" template.
PS!!! Kwag recomand MPEG 1, so if you have selected both KVCD 528x576 and SKVCD 528x576, DVD2KVCD will choose KVCD 528x576! So if you will make a SKVCD (MPEG 2), disable all KVCD templates!!! (select only SKVCD 352x576 and SKVCD 528x576)

I hope this will help you :)

Thomas Davie 08-08-2003 10:19 AM

Quote:

Originally Posted by azel

Wich templates have you enabled in DVD2KVCD menu??? DVD2KVCD start testing with the "best" template. So if you have selected 704x576(480), the first test encode will be 704x576. If this template is too big for your selected "worst CQ", it will tries the "next best" template.
PS!!! Kwag recomand MPEG 1, so if you have selected both KVCD 528x576 and SKVCD 528x576, DVD2KVCD will choose KVCD 528x576! So if you will make a SKVCD (MPEG 2), disable all KVCD templates!!! (select only SKVCD 352x576 and SKVCD 528x576)

I hope this will help you :)

Ah, this makes a lot of sense to me. I had every option selected. So it then becomes a simple matter of deselecting the templates that I do not want. Thank you! Here is something else that may be of interest to you. In your program, I select NTSC and then it rips/encodes. When it comes time to MUX, bbMPEG specifically looks for a ***_File_Encoded_NTSC.mpv, but your program provides a ***_File_Encoded_PAL.mpv, and it then exits with an error. I manually rename the PAL to NTSC and recover and it is okay.


thank you.

Tom

azel 08-08-2003 12:14 PM

Quote:

Ah, this makes a lot of sense to me. I had every option selected. So it then becomes a simple matter of deselecting the templates that I do not want. Thank you! Here is something else that may be of interest to you. In your program, I select NTSC and then it rips/encodes. When it comes time to MUX, bbMPEG specifically looks for a ***_File_Encoded_NTSC.mpv, but your program provides a ***_File_Encoded_PAL.mpv, and it then exits with an error. I manually rename the PAL to NTSC and recover and it is okay.
thank you.

Tom
I've made a new version for you :D

DVD2KVCD 0.96 Beta 2

This one should work for NTSC, frameselction ect, ect!!!

Thomas Davie 08-08-2003 12:46 PM

Thanks muchly!
 
I'll download it, test it and report back tomorrow night (sadly, my girlfriend doesn't own a DVDRom drive, so I can't test it tonight). Thanks for reading and responding so quickly.

Just curious about something; I rippped a movie that was called 'Horro from beyond the grave'; approximately 90 minutes long, it was in 4:3 full screen format. So when I started the plugin, I didn't change anything except to hit the encode button. The movie came out nicely letterboxed, but still in proper proportion with a CQ of ~50.5 Does this sound about right? It looked ok to me.

Am I correct in guessing that your program will automatically select the letterboxing option if necessary to fit to a particular size/CQ?

Tom

m0rdant 08-08-2003 01:36 PM

I'm trying the new beta 2 NTSC fix on a Divx file and in the preview screen I see the image but with this written across the top "Plane Difference: Only Planar Images (asYU12) supported ((scriptclip), line 1)"

I'm using the MA Script (AVIsynth 2.5) as it came with DVD2SKVCD.

Is there something I have to add to the script?

azel 08-08-2003 04:07 PM

Re: Thanks muchly!
 
Quote:

I'm trying the new beta 2 NTSC fix on a Divx file and in the preview screen I see the image but with this written across the top "Plane Difference: Only Planar Images (asYU12) supported ((scriptclip), line 1)"

I'm using the MA Script (AVIsynth 2.5) as it came with DVD2SKVCD.
I've haven't encoded DivX -> KVCD for a long wile. But I think you have to add "ConvertToYUY2 ()" in the start of the script. Do this:

1) Start DVD2KVCD, select your settings and press "Start DVD2SVCD"
2) Close DVD2SVCD, edit DVD2SVCD.ini -> [AVISYNTH_MA script (AviSynth 2.5x)], and insert 6=ConvertoToYV12() between line 5 and 6. Remember that you have to change the rest of the numbers in your script (ex change 6=MaxTreshold=^max_threshold too 7=MaxTreshold=^max_threshold)
3) Start DVD2SVCD, choose avi as input, and start encoding!

Quote:

Am I correct in guessing that your program will automatically select the letterboxing option if necessary to fit to a particular size/CQ?
Do you mean Aspect ratio option in DVD2SVCD's Conversation tab?
DVD2KVCD use gripfit, so this function is not functionable. Gripfit selects the righit aspect ratio automaticly!!

Quote:

Just curious about something; I rippped a movie that was called 'Horro from beyond the grave'; approximately 90 minutes long, it was in 4:3 full screen format. So when I started the plugin, I didn't change anything except to hit the encode button. The movie came out nicely letterboxed, but still in proper proportion with a CQ of ~50.5 Does this sound about right? It looked ok to me.
Well, I don't know yet. What was your worst CQ??? And wich templates do you use??? Can you please post the DVD2KVCD_log.txt, this log contains almost all information I got to know!!!

m0rdant 08-08-2003 09:49 PM

Thanks Azel, that seems to have solved the problem with Divx.

Another question though, why does it choose "use Fixed CQ - 70" under encoder? Does it run some other sort of CQ test? Should I uncheck it?

azel 08-09-2003 11:23 AM

Quote:

Originally Posted by m0rdant
Another question though, why does it choose "use Fixed CQ - 70" under encoder? Does it run some other sort of CQ test? Should I uncheck it?

The reson is because DVD2KVCD.exe runs instaed of TMPGEnc. If you don't check the "fixed CQ" DVD2SVCD will start DVD2KVCD several times (because it tries to make test clips), and DVD2KVCD will predict and encode for each time. So if you uncheck it your encode will never get finished :!:
This is also the reason why you shouldn't use titlepictures, changecdpicture+++

m0rdant 08-09-2003 10:51 PM

Okay, I'm giving it another try...

If I can't get it to work is there a simple way for me to keep the scripts ect but just run DVD2SVCD normally without having DVD2SKVD take over?

I very much appreciate the effort that goes into trying to combine DVD2SVCD with the KVCD and Motion Adaptive filtering. If this can be made to work correctly it will be good for everyone.

m0rdant 08-09-2003 10:52 PM

Oh, I just noticed that it is doing prediction based on 29.97 frames per second but I don't believe this avi is at that framerate...it is NTSC Film at 24...

m0rdant 08-09-2003 11:13 PM

Well, here's what is going on right now. DVD2SVCD has reached the video encoding point. TMPGenc seemed to run through one sample encode. DVD2SKVCD showed up in the bottem and I get a brief flash of what looks like TMPGenc every few seconds.

I opened the DVD2SKVCD scrip window and it starts on line 634 and runs to line 730 something then goes back to 634...is this supposed to be happening? And how long should it go on?

azel 08-10-2003 04:44 AM

Quote:

Originally Posted by m0rdant
I opened the DVD2SKVCD scrip window and it starts on line 634 and runs to line 730 something then goes back to 634...is this supposed to be happening? And how long should it go on?

It seems like DVD2KVCD have problems to rewrite the avisynthscript. Can you post the DVD2KVCD_log????

Quote:

Oh, I just noticed that it is doing prediction based on 29.97 frames per second but I don't believe this avi is at that framerate...it is NTSC Film at 24...
23,997 fps is not supported yet... Try to check NTSC to PAL in the conversation tab in DVD2SVCD if your DVD-player supports PAL.

And if you want to use the standard DVD2SVCD prediction, enter TMPGEnc path in the encoder tab again.

m0rdant 08-11-2003 12:31 AM

Sorry Azel, I can't. I monkeyed around with DVD2SVCD until I could manually run the encode so the log has been replaced. Wasn't thinking about it at the time.

Thanks for your help though.

TheDJ 08-24-2003 01:45 PM

IS there a fixed version which will do divx>(s)kvcd without editing template?

thx

TheDJ 08-25-2003 11:15 AM

Cant seem to get this program going...got this error...i think its coz its divx/xvid....got a red message on TMPGEnc, but flashed to fast for me to see message;



WNASPI32.DLL 4.6.0.1021
--------------------------------------------------------
- 25/08/2003 17:08:58
- AVI to SVCD Conversion
- AVI2SVCD ver. 1.1.3 build 2
--------------------------------------------------------
Initializing
Initializing finished.

--------------------------------------------------------
- 25/08/2003 17:09:01
- Free on drive D: 55305.49 mb
- AUDIO Extraction
--------------------------------------------------------
Audio extraction finished.

--------------------------------------------------------
- 25/08/2003 17:09:13
- Free on drive D: 55305.49 mb
- AUDIO conversion
--------------------------------------------------------

Converting MP2 to WAV. Filename: D:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.mpa
Executing MADPlay (mp2 to wav). Commandline:
"D:\Program Files\DVD2SVCD\MADPlay\madplay.exe" --quiet --output=wave:"D:\Program Files\DVD2SVCD\Movie\Encoded_audio_1.mp2.wav" "D:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.mpa"
Conversion (mp2 to wav) of D:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.mpa finished.


Encoding Audio. Filename: D:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.mpa
Executing BeSweet. Commandline:
"D:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "D:\Program Files\DVD2SVCD\Movie\Encoded_audio_1.mp2.wav" -output "D:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.mp 2" -logfile "D:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.lo g" ) -ota( -g max ) -shibatch( --rate 44100 ) -2lame( -e -b 224 -m d )
Audio conversion of D:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.mpa finished.

Audio conversion finished.

--------------------------------------------------------
- 25/08/2003 17:12:08
- Free on drive D: 55305.49 mb
- Video Encoding using TMPGEnc
--------------------------------------------------------
- Encoding D:\Program Files\DVD2SVCD\Movie\AviSynth_Script_file.avs
StreamSectors: 833934864
AudioSectors: 427616
VideoPAPO: 12911472
ScanOffsetBytes: 58
SeqAligningBytes: 3661
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 1.00
PureMPEGStream: 820592053.60
Seconds: 15.00
CalcMPEGStream: 820592053.60
Frames: 240
CDSize: 800.00
Number of CDs: 1
Cut point 795.00
Using CQ Value: 70.00
Executing TMPGEnc. Commandline:
"D:\Program Files\DVD2SVCD\DVD2KVCD.exe" "D:\Program Files\DVD2SVCD\Movie\TMPGEnc_Project_file.tpr" /Encode /Close


This kept flashing after Tmpgenc closed;

AUTOFIT TOOL
"SYNTAX: GETFILE SIZE <file>"

azel 08-27-2003 01:43 PM

Sorry, but I'm very busy now :cry:

So it will take some time before I release next version of "DVD2KVCD"

So do this:

1) Start DVD2KVCD.
2) Select only ONE KVCD template
3) Hit "start DVD2SVCD"
4) Goto encoder tab, and select TMPGEnc path instaed of DVD2KVCD's path.
5) Then hit OK. DVD2SVCD will use it's own predictionmethod.

PS: Next version seems to be "DVD2KVCD 2". I add a wizard, and I also add standard SVCD / VCD / CVD templates.
I'll also add support for kwag's CQmatic, so the prediction will be even better!!!

TheDJ 08-27-2003 04:13 PM

Will give it a go, thx azel & look forwards to DVD2KVCD 2 :wink:


All times are GMT -5. The time now is 06:39 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.