PDA

View Full Version : How to automate burning in dvd2svcd


DDogg
16th January 2002, 02:34
1> Download and unzip cdrdao.exe to a directory. http://www.doom9.org/Soft21/Files/cdrdao-1.1.5.bin.x86.win32.zip
Let's use c:\program files\dvd2svcd\cdrdao\ to keep things clean and simple.

2> Cut and paste the batch file below into notepad. Save as autoburn.bat (make sure it is not saved as autoburn.bat.txt). Put in the same directory as cdrdao.exe.

3> a> In dvd2svcd, open the finalize tab. In the *checked* 'run this (per cd image)' line put the following - c:\program files\dvd2svcd\cdrdao\autoburn.bat
b> In the parameters line put this EXACTLY (include the quotes around the first parameter) "%CDF.cue" %CD# %CDN

4> OK, a couple of things we have to do one time only. Open a command line and change to the dir where you put cdrdao and type 'cdrdao scanbus' (no single quotes). This will show you the device numbers so you can make a one time change to the batch file below. You will modify the set dev line to reflect the correct device for your cd burner. Also set the speed while you are at it.

5> Note: If you have a heavy name brand of burner, you can note the website mentioned when cdrdao is run and, maybe, find a custom driver for your burner. If so modify the DRVR line below.

6> When dvd2svcd is finished with the creation of the bin/cue section, it will then run the finalize line which will burn your disks for you.

7> Only strange thing is the command line is minimized when it is run by dvd2svcd. Just expand it and press return after you are sure you have a fresh disk in the burner. You will need to do this for each disk.

8> I hope this is of help to some of you.

DD
*******************************
REM Start of batch file
@echo off
REM The following statement must be changed if you put
REM cdrdao.exe in another directory
@C:
@cd program files\dvd2svcd\cdrdao
Rem Next three entries should be modified by you the first time
@set drvr=--driver generic-mmc
@set spd=--speed 8
@set dev=--device 2,1,0
Rem
Echo
Echo ************************************************
Echo Total number of Disks to burn is:%3
Echo Insert CDR in Burner for DISK %2 of %3
Echo When ready to burn Disk %2, press RETURN
Echo ************************************************
@PAUSE >NUL
@cdrdao write -v2 --buffers 128 %drvr% %spd% %dev% %1
Echo ************************************************
Echo Press Return to burn the next disk or finish
Echo ************************************************
@pause >NUL
Rem end of batch file
*********************

Matthew
16th January 2002, 03:44
I just run a batch file after encoding is finished:

@echo off
echo INSERT A BLANK CD-R
pause
cdrdao write --overburn --driver generic-mmc --device 1,1,0 --eject --speed 4 F:\svcd\CD_Image_File_CD1.cue
echo INSERT A BLANK CD-R
pause
cdrdao write --overburn --driver generic-mmc --device 1,1,0 --eject --speed 4 F:\svcd\CD_Image_File_CD2.cue
echo INSERT A BLANK CD-R
pause
cdrdao write --overburn --driver generic-mmc --device 1,1,0 --eject --speed 4 F:\svcd\CD_Image_File_CD3.cue
echo ALL DONE
pause

mrbass
16th January 2002, 04:26
Good method also Matthew, but when you wake up in the morning your first cd is already burnt using DDogg's method. Saves from double clicking a batch file too!!! Some of us dream of the day robots do it all for us too. DDogg, I added this to the advanced reference. Thanks.

beber75
18th January 2002, 10:24
My experience is not so good with cdrdao, more of half of my cd's burned with cdrdao doesn't work. I've to reburn them with blinwrite.

:(

DDogg
18th January 2002, 15:30
beber75,

Huh, I have never heard of people having problems with cdrdao IF they have a supported burner and IF they set up the driver, device and speed correctly. Anyway, blindwrite is very good also, but this post was speaking to the topic of automating burning by/from dvd2svcd

kiro
25th January 2002, 12:29
Problem with burning CD_Image_File_CD1.cue
Msg.is:

Thread1: Reading Disc Info
Thread1: Reading Next Track Info
Thread1: Start LBA is -150
Thread1: Sending Cue Sheet
Thread1: Error sending cue sheet
Thread1: Unknown Error ($05/$30/$05)
Recording aborted due to error

CD_Image_File_CD2.cue without any problem.

Any ideas?

Mozart
25th January 2002, 12:57
don't use fireburner. Try those options that you can find here (http://forum.doom9.org/showthread.php?threadid=8127)

kiro
25th January 2002, 18:55
I did try

CDRWIN:
"Error Invalid CUE SHEET command at line 1",

NERO
"Cannot open the...." and then again "error in line 1"

BlindWrite
"CD not writable" ??

Only success with Fireburner 1.06 and only with second .cue
First one giving error:

"Recording Device is MITSUMI CR-4802TE

Unable to send OPC information - Continuing at current setting
Unknown Error ($05/$30/$05)
Thread1: Executing (Cache enabled)
Thread1: Setting Write Parameters
Thread1: Reading Disc Info
Thread1: Reading Next Track Info
Thread1: Start LBA is -150
Thread1: Sending Cue Sheet
Thread1: Error sending cue sheet
Thread1: Unknown Error ($05/$30/$05)
Recording aborted due to error"

by the way, I did not get any burning corraptions with fireburner 1.06 (disk 2)

Mozart
25th January 2002, 19:06
vcdeasy? daemon-tools? Try to watch the movie from the image using Daemon-tool. If it is ok, use daemon-tool plus any copy cd burner.

by the way, I did not get any burning corraptions with fireburner 1.06

did you watch the whole CD?

Labersack
25th January 2002, 20:49
@kiro
Did you move the cue/bin to another folder?
If you did so, you have to manualy edit the path in the first line of the cue. Delete the path and only leave the filename.

kiro
25th January 2002, 21:24
Yes

Mozart
25th January 2002, 21:49
Damn... That should be your first information. :angry:

Yeah. Do Labersack´s advice. This is the source of your problems.

kiro
25th January 2002, 23:45
I'm not a mind reader.
I've thought you are interesting after your link.
__________________________

I did not move the files from mother's folder.
If so why second .cue accessable?
Âut after playing with 1 line in notepad
I have got a new message

Recording Device is MITSUMI CR-4802TE

Thread1: Executing (Cache enabled)
Thread1: Setting Write Parameters
Thread1: Reading Disc Info
Thread1: Reading Next Track Info
Thread1: Start LBA is 256970
Thread1: Sending Cue Sheet
Thread1: Error sending cue sheet
Thread1: INVALID FIELD IN PARAMETER LIST ($05/$26/$00)
Recording aborted due to error

?????????????????????

kiro
26th January 2002, 09:16
Did you move the cue/bin to another folder?
___________________________________________________

No, I didn't.
This is my .cue:

FILE "G:\cinemaxx\CD_Image_File_CD1.bin" BINARY
TRACK 01 MODE2/2352
FLAGS DCP
INDEX 01 00:00:00
TRACK 02 MODE2/2352
FLAGS DCP
INDEX 00 00:04:00
INDEX 01 00:06:00
INDEX 02 00:06:01
INDEX 03 07:09:55
INDEX 04 17:31:73
INDEX 05 23:35:59
INDEX 06 28:57:57
INDEX 07 38:02:39
INDEX 08 46:19:17
INDEX 09 51:15:36
INDEX 10 58:53:20
INDEX 11 65:58:59
INDEX 12 71:26:25

How would you modify it?

Labersack
26th January 2002, 17:27
The cuesheet seems to be correct to me.
If your bin is G:\cinemaxx\CD_Image_File_CD1.bin it should be ok to burn it...
Maybe you bin is corrupt? Try to mount it with DeamonTools and play it with a software-player.
DT doesn't need the cue and this way you can check if your bin is corrupt.

kiro
27th January 2002, 10:37
What a puzzle.

I did check bins.
First one is corrupted, but second is OK!
Newertheless CDRWIN does not accept both .cue:(
...
I run dvd2svcd again...

kiro
31st January 2002, 23:30
Soooo,
The Fireburner does not like .cue from dvd2svcd.

The CDRWIN 3.8G accept only .cue with first line like

FILE "CD_Image_File_CD1.bin" BINARY
(no drive letter, no folder name has be named!)

DDogg
7th February 2002, 16:49
BTW, for those who find VCDEasy cumbersome, you can also use a manual variation of the above method to create a Drag and Drop burn method (remember to turn of the actions in the finalize tab if using this method as this is a manual method independant of D2S).

All you do is find your CUE file in windows explorer and drag it on top of the icon associated with the batchfile below. You would do this for each CUE file made by D2S.

It is very simple and easy. Anyway, here it is again for those of you that know how to use notepad to save a batch (.bat) file. Just cut and paste the text between the dotted line and save as BurnMyDisk.bat or something like that. Put the icon, or a shortcut, on your desktop and drag the CUE file on top of it. It will then use cdrdao to burn your disk for you. I do not use the --eject command because it will not work for me but I have put it in for those of you who wish to try it. DO NOT USE SPACES IN YOUR FILE NAMES.

------------------------------------
Rem change to the cdrdao directory (chg this for YOUR cdrdao dir)
D:
cd make

Rem Get the CUE file name that has been dragged to this batch
Rem Not BIN!
set fname=%1%

Rem Next three entries should be modified by you the first time
Rem after running cdrdao scanbus at a commandline one time
set drvr=--driver generic-mmc
set spd=--speed 8
set dev=--device 1,1,0

Rem do the burn
set thecmd=cdrdao write -v2 --buffers 256 --overburn %drvr% %spd% %dev% %fname% --eject
echo %thecmd%
Echo Press return to burn
pause
%thecmd%
pause
----------------------------------------

pvk
10th February 2002, 20:27
Hi there

I made the autoburn.bat file mentioned by DDog, but strange things happens. Cdrdao don't autostart, but pushed with a return it burns very nice svcd's.

If I run Cdrdao from dos, I get the message:
WARNING: Environment variable 'HOME' not defined - cannot read .cdrdao.

Is that the reason Cdrdao don't autostart :rolleyes: