Log in

View Full Version : D2SBurn - Automatically burn image created by D2S


manolito
12th December 2003, 01:17
D2SBurn -- Addon for DVD2SVCD
--------------------------------


Since I mainly do 1 CD encodes I was looking for a program that would automatically burn the image created by DVD2SVCD. I tried Kru's "Burnout", but it did not really work on my machine. So I wrote my own script that uses "burnatonce". There is no built in database and no support for different burning engines, but D2SBurn will erase a non empty CD-RW automatically, and it does allow to limit burning speed to a user specified value.

Get the program at
http://scifi.pages.at/manolito/D2SBurn/D2SBurn.zip


D2SBurn -- Addon for DVD2SVCD by manolito
---------------------------------------------------------------------
uses burnatonce (c) Jamie Osborne
and the RunCMD command interpreter (c) Walter Hintenaus

*********************************************************************

What?

D2SBurn is a script for automatically burning the image (or the first
of the images) created by DVD2SVCD without user interaction. It will
automatically erase a non empty CD-RW, and it optionally limits burn
speed to a user specified value.


How?

First you have to get the latest version of burnatonce from www.burnatonce.com. Install
it and set it up for your hardware. Make sure that "Confirm Write" is
unchecked. Make a test burn to make sure it works on your system.

Copy D2SBurn.exe to a folder of your choice, preferably a subfolder under
your DVD2SVCD folder.

Now start DVD2SVCD und select the "Finalize" tab. Check "Run this" and
select "D2SBurn.exe". The "Parameters" field can consist of two parameters:

The first parameter is required and should be "%CDF".
The second parameter is optional and may contain a burn speed, e.g. "16".
If no second parameter is specified, burn speed will be set to Max.
(If the path to your DVD2SVCD default output folder contains spaces or special characters,
the %CDF parameter has to be enclosed by quotes.)


Remarks

The script will automatically confirm a "Erase CD-RW?" window, so be
careful to not accidentally erase important data.

By default burnatonce will do a Quick Erase of a CD-RW. If you prefer a
Full Ease, start burnatonce, select "Tools\Erase CD-RW" and uncheck the
"Quick Erase" box. Close burnatonce.

The script leaves all error handling to burnatonce. If there is no writeable
CD in the drive, burnatonce will try a few times and abort. If DVD2SVCD
created more than one image, only the first image will be burned.

If you had specified that burnatonce should show the device settings
window, D2SBurn will uncheck this option. Your original settings will
be restored after burnatonce is closed.



I could only test the program on two different machines with one 12speed and one 48speed burner, so don't hesitate to post your bug reports.

Cheers
manolito

pacohaas
12th December 2003, 02:31
there's also this (http://forum.doom9.org/showthread.php?s=&threadid=49853) and this (http://forum.doom9.org/showthread.php?s=&threadid=13853).

tylo
12th December 2003, 15:37
For those who prefer the Nero burning engine:
(not sure if this has been mentioned before)

rem -- BurnImage.bat {cue/iso-file}
"C:\Program Files\Ahead\Nero\NeroCmd.exe" --write --real --drivename d --speed 24 --underrun_prot --image %1
rem -- EOF

Change program-path/drivename/speed to your preference.
Right-click on the cue file, and select "Open With | Choose Program..." and select BurnImage.bat. Should be in the "Open With" menu list next time (Or do as DDogg explained for BurnCue.bat).

kru
14th December 2003, 18:39
I tried Kru's "Burnout", but it did not really work on my machine

What did not work? I hope I can fix the problem so everybody can use this tool.

manolito
14th December 2003, 19:14
@kru

I think it has something to do with AutoIt. When I tested Burnout, I was still using Tylo's D2SRoBa V. 2xx which was also written in AutoIt 2. At the end of the encode when Burnout was supposed to start, at least half of the time Burnout would not start at all. Maybe two instances of the same version of AutoIt at the same time?

Also, with the current version of DVD2SVCD, the installation routine has an issue. The Burnout parameters are not in the "Parameters" field of D2S after the installation, you have to enter them manually.

But the main reason that I wanted something else is that my 48x burner is not too reliable at maximum speed. So I really need a way to limit burning speed directly from D2S.

Cheers
manolito

manolito
16th December 2003, 22:50
Finally got myself some webspace without banners or popups, so I can now offer the standalone executable of D2SBurn.
The download link is in the first post of this thread.

Cheers
manolito

dimirass
19th December 2003, 17:52
Is it possible to automatically burn scenarist created discImage file using Nero?

dimirass

manolito
19th April 2004, 23:06
BurnAtOnce 0.99.5 was just released. I did a short test to verify that D2SBurn works with the new version, and it does! Download link is in the first post of this thread.

Cheers
manolito

DDogg
20th April 2004, 03:08
manolito, somewhat along the same lines for DVD, play around with dvddecryptor. I think something like the below can be changed for cd?

"C:\Program Files\DVD Decrypter\DVDDecrypter.exe"
/MODE ISOWRITE /SRC %CDF.iso /DEST f:

manolito
20th April 2004, 20:58
Thanks DDogg for the suggestion about DVD Decrypter. I played around with it a little bit today, and here is what I found:

Basically DVDDecrypter does work with my CD Burner (good old LiteOn LTR-12101B), it does burn SVCD images created by D2S on CD blanks. But there are also a number of obstacles that make it hard to control it with the scripting language I use.

First of all there is no command line support for burning speed. Not a real big deal, I could simulate key strokes to enter the desired speed. A bigger issue is that the "/ERASE" parameter does not work with my burner. That means that I cannot automatically erase a CD-RW that is not empty. The only way to do this from within DVDDecrypter is to rightclick on the drive, and my scripting language does not support sending mouse clicks to a window. Next there is no way to specify overburning in the options menu, whenever the image is bigger than the nominal capacity of the inserted CD a window pops up that has to be clicked away.

The main reason why I am a little reluctant to rewrite D2SBurn to use DVDDecrypter is that I could not really host it on my webspace. Here in Germany DVDDecrypter is not exactly legal. Specifically you cannot distribute it, recommend it or promote it publicly in any way. Publishing a utility that only works in conjunction with DVDDecrypter would probably be considered promoting the software, and this could turn out to be very expensive.

So I think I will stay with BAO for now...

Cheers
manolito

dimirass
21st April 2004, 18:29
manolito, is it possible to use D2SBurn+burnatonce 0.99.5+ProDVD to automate DVD burning?


dimirass

manolito
21st April 2004, 20:40
@dimirass
Honestly, I don't know. I do not own a DVD burner, so I can't test it. AFAIK BurnAtOnce 0.99b supported DVD burning by itself, so this should work. For version 0.99.5 Jamie Osborne took this feature out of BAO because it was "problematic", now it can only burn DVDs in conjunction with ProDVD. You have to find out yourself if D2SBurn works in this case.

Cheers
manolito

dimirass
24th April 2004, 18:39
@manolito

BAO+ProDVD works ok burning in my machine ,but D2S+D2SBurn doesn't start BAO.Clicking on D2SBurn icon I get the message:
a)R.EXE


and then

in zeile 36 der commanddatei c:\...emp\RarSFX3\burnimage.cmd ist der fehler 50(32h)aufgetreten.program nicht gefunden.weiter mit leertaste return oder escape

any help is appreciated..

thanx
dimirass

PS. I get the same results with BAO 0.99b

manolito
24th April 2004, 22:28
@dimirass

Thanks for the bug report. This error message means that D2SBurn determined an incorrect path for the burnatonce executable. The path to burnatonce.exe is extracted from the registry. I look for the value stored under HKEY_CLASSES_ROOT\burnatonce\DefaultIcon\.

The actual bug in D2SBurn was that I did not realize that the path to burnatonce could contain spaces. In this case the call to the executable has to be enclosed by " characters.

I just uploaded the updated version, hopefully it will work for you now.

Cheers
manolito

dimirass
25th April 2004, 02:22
@manolito
Thank you for your quick responce.
Now DVD2SVCD starts BAO through D2SBurn but the procedure stops because the CD_Image_File_CD1 is not autoloaded in BAO's new image window.
On the other hand ,BAO's new image window imports only .cue, .toc and .iso files, but this kind of files are not created during DVD2DVD procedure.
What about using Nero instead of BAO?

THANKS A LOT

dimirass

manolito
26th April 2004, 20:03
D2SBurn - Automatically burn image created by D2SIf you do not have an image created by DVD2SVCD then D2SBurn is not for you. AFAIK DVD2SVCD does create DVD images if you have Sonic Scenarist installed. But I'm really not the one who can answer any questions about DVD2DVD, simply because I do not have a DVD burner.

Cheers
manolito

juange
24th May 2004, 20:55
Did you check your program with svcd and selectable subs??
My question is because, sometimes when I burned directly with nero, I randomly lost subs in my dvdplayer. But If I mount the images with Daemon tools, it works perfect.

manolito
24th May 2004, 21:23
No, I did not check subs at all, for the simple reason that my standalone messes up SVCD subs completely (weird color, weird font). But if your image works in Daemon Tools, it should not be a problem for burnatonce to burn this image correctly. Nero (especially earlier versions) is well known to have some problems burning images.

Cheers
manolito

lrosado
31st May 2004, 03:19
I have followed all instructions to the T. Now BAO will start but no image is loaded so BAO just sits there. How can I fix this or how can I get DVDDecrypter to write the image automatically.

manolito
31st May 2004, 10:36
@Irosado

In your case it looks like BAO does not get the file name parameter correctly. First make sure you have the "%CDF" parameter entered correctly in D2S's "Finalize" tab. "%CDF" stands for the image name (without extension) that D2S has just created. D2SBurn appends ".cue" to this name and passes this as the "%1" parameter to BAO.

This will not work if you have a DVD image with the "iso" extension. AFAIK the current BAO 0.99.5 cannot burn DVDs anyway (at least not without a little help from an external program), and even if it worked I will stick to SVCD images for now, simply because I do not own a DVD burner and cannot test burning DVD images.

Cheers
manolito

manolito
31st May 2004, 17:19
@Irosado

I found another possible reason for the problems you have with D2SBurn. If the path to your DVD2SVCD default output folder contains spaces or special characters, you have to enclose the %CDF parameter with quotes. I just uploaded the program with an updated Readme.

Cheers
manolito

lrosado
31st May 2004, 18:36
I have the qoutes on it and it auto loads the image now but wont write to CD-r. it is an svcd image. dont know what else to try. I have to keep pressing the Write button for it to burn. I am using D2SRoba if that helps.

manolito
1st June 2004, 20:38
Sorry, but I cannot reproduce this error. Have you really unticked the option "Confirm Write" in the "Settings" dialog?

lrosado
1st June 2004, 20:53
Absolutely. do you think me using the D2SRoba is causing the problem? I have followed everything to the T as you instructed but cant get it to burn automatically, as I mentioned before I got it to auto load the image, just not burning automatically.

manolito
1st June 2004, 22:01
D2SBurn controls BAO not by pushing menu shortcut keys (they are different for every language), instead it uses TAB, BACKTAB, UP, DOWN, PGUP, PGDOWN and ENTER exclusively. After starting BAO eight TABs are sent to it to get to the speed selection window. Then burn speed is selected by pushing UP, DOWN, PGUP or PGDOWN. Finally seven BACKTABs are sent to BAO. Now the "Write" button should be highlighted, at this point D2SBurn just pushes ENTER to start the burn process.

You can easily check if this works by starting BAO and manually pushing the buttons exactly as I described above. For me BAO versions 0.99.5 and the previous 0.99b work flawlessly this way.

One thing I probably forgot to mention: After starting BAO the device settings window must not be open. If it is, the number of key strokes I programmed into D2SBurn will be incorrect. So you should either have the "Device Settings" option unchecked, or even better check the "Autohide Settings" option in the General Options dialog.

Cheers
manolito

lrosado
1st June 2004, 23:30
I do have the "Device Settings" option checked. I will uncheck it when I get home and report back if that works, thanks for you help I really appreciate it.

lrosado
2nd June 2004, 13:53
did not work, I even removed the check mark so that the log wouldnt show and still not burning. dont know what it could be.

manolito
3rd June 2004, 13:56
@Irosado

Alright, I found another possible bug in D2SBurn. Before actually passing key strokes to BAO, D2SBurn makes sure that the window with the text "burnatonce" in the title bar has the focus. If you happen to have an Explorer window open with the burnatonce folder selected, the text "burnatonce" will also appear in the Explorer title bar. So it may happen that Explorer gets the focus instead of BAO.

I can fix this by also checking the window class in addition to the window title. I just uploaded the fixed version.

I also modified D2SBurn so it will close the device settings window if it was open before. Your original settings will be restored after BAO is closed.


Cheers
manolito

lrosado
7th June 2004, 21:05
tried the new version and still unable to burn automatically, I give up. I did try manually with the TAB keys to see if it works and it does like you said but cant get to burn. Any way I could get DVDDecrpter to burn the .bin file for me directly instead of burnatonce? Anyone

dimirass
13th October 2004, 20:03
Hi all

Is it possible to automatically burn the DVDimage,produced by dvd2svcd 1.2.2.3 using DVDDecrypter?
If yes ,which is the right parameter in finalize tab, and (if needed) the settings in DVDDecrypter?

Thanks in advance
dimirass

spuddog
14th October 2004, 00:38
hey here are the parameters i use

C:\Program Files\DVD Decrypter\DVDDecrypter.exe

/MODE ISOWRITE /SRC %CDF.iso /DEST e: /START /ERASE /CLOSE

shouldn' have to worry about the settings for decrypter as the parameters will decide those

substitute your drive for e: sometimes using a dvd rw can cause problems
but maybe its' my set-up good luck

scott m

dimirass
14th October 2004, 20:45
Thank you very much spuddog it works perfectly!!!!!!!!!!!!

dimirass

dimirass
28th November 2004, 21:55
@spuddog
hey here are the parameters i use

C:\Program Files\DVD Decrypter\DVDDecrypter.exe

/MODE ISOWRITE /SRC %CDF.iso /DEST e: /START /ERASE /CLOSE

shouldn' have to worry about the settings for decrypter as the parameters will decide those

substitute your drive for e: sometimes using a dvd rw can cause problems
but maybe its' my set-up good luck
What parameters to use for nero instead DVD Decrypter?
Is it possible to auto burn the vob files with nero?

manolito
28th November 2004, 23:32
@dimirass

Just have a look at Tylo's post on the first page of this thread (it's the third post).

Cheers
manolito

dimirass
2nd December 2004, 00:20
Thanks manolito, I hadn't noticed that.

dimirass