| View previous topic :: View next topic |
| Author |
Message |
Cougar_II VSO Fanatic

Joined: 04 Apr 2007 Posts: 4493 Location: Québec, Canada
|
Posted: Wed Apr 04, 2007 7:47 pm Post subject: 8] ConvertXtoDVD Command line / remote control for batch |
|
|
Command line options:
/fl --> "path of a filelist to convert"
/file --> "path to a single file to convert"
/auto=true // start the conversion
/close or -close // Close the application when conversion is complete
/shutdown or -shutdown : Shutdown the computer when conversion is complete
/overwrite=true // Will automaticly start the conversion, and overwrite the destination folder if it already exists
/Priority=[Value] // If you wish to change the conversion priority, and overwrite your default setting
/Priority=1 (Idle)
/Priority=2 (Lowest)
/Priority=3 (Lower)
/Priority=4 (Normal)
/Priority=5 (Higher)
/Priority=6 (Highest)
/Priority=7 (TimeCritical)
"C:\PATH-TO-CONVERTXTODVD\ConvertXtoDvd.exe" Project_Name.xToDVD // load a project ( xml format ) this format allows to define any settings ( custom menu etc... )
RUNME.BAT: (Convert multiple saved Projects, close after each conversion, shutdown the PC after the last one)
"C:\PATH-TO-CONVERTXTODVD\ConvertXtoDvd.exe" C:\Work\project1.xToDVD /auto=true /Priority=2 /close
"C:\PATH-TO-CONVERTXTODVD\ConvertXtoDvd.exe" C:\Work\project2.xToDVD /auto=true /overwrite=true /close
"C:\PATH-TO-CONVERTXTODVD\ConvertXtoDvd.exe" C:\Work\project3.xToDVD /auto=true /shutdown
--> Of course, every projects has to be prepared in advance <--
RUNME.BAT: (Convert 1 file)
"C:\PATH-TO-CONVERTXTODVD\ConvertXtoDvd.exe" /file "C:\Work\filename1.avi" /auto=true /close
"C:\PATH-TO-CONVERTXTODVD\ConvertXtoDvd.exe" /file "C:\Work\filename2.avi" /auto=true /close
filename1.avi will be converted, and will generate 1 output (AUDIO_TS & VIDEO_TS)
filename2.avi will be converted, and will generate a new and different output (AUDIO_TS & VIDEO_TS) than the one above.
There will be no menus, no extras since it was not converted using a Project.
RUNME.BAT: (Convert 1 filelist / more than 1 file into 1 output)
"C:\PATH-TO-CONVERTXTODVD\ConvertXtoDvd.exe" /fl "C:\Work\filelist01.txt" /auto=true /close
filelist01.txt
D:\Videos\File01.avi
D:\Videos\File02.wmv
D:\Videos\File03.mkv
D:\Videos\File04.mov
This will convert all of those files in 1 (one) output (AUDIO_TS & VIDEO_TS)
There will be no menus, no extras since it was not converted using a Project.
START "C:\PATH-TO-CONVERTXTODVD\ConvertXtoDvd.exe" C:\Work\project1.xToDVD /auto=true /close
START "C:\PATH-TO-CONVERTXTODVD\ConvertXtoDvd.exe" C:\Work\project2.xToDVD /auto=true /close
will start both at the same time, since it will START 2 instances of ConvertXtoDVD instead of 1 after the other in the above batch files.
VT Software wrote an interface, to help you do conversion in batch mode, it's called XtoDVDbot 2.
http://veetee.110mb.com/xtodvdbot2.php
----------------------------------------------------------------------------------
UPDATE:
When ConvertXtoDVD v3.00 is released, those new Batch /Commands will be available:
/quality=low or /quality=3 // Low Encoding Quality
/quality=medium or /quality=2 // Medium Encoding Quality
/quality=high or /quality=1 // High Encoding Quality
/targetsize=DVD9 - size of a DVD-9
/targetsize=DVD5 - size of a DVD-5
/targetsize=xxxx - size in MB, from 330 to 8500
/preview=true or /preview=1 // Force display of the preview window
/preview=false or /preview=0 // Force hide of the preview window
/menu="C:\PATH-TO-MENU\MENU_FILE.INI" // Use a menu template for conversion
/burn=false or /burn=0 - Do not burn the result on DVD
/burn=true or /burn=1 - Force burn of the result on DVD
/text_resize=[Value] // if a text resize is necessary in the menus, how it should be handled
/text_resize=prompt or /text_resize=0 - Prompt how the text should be resized (waiting user input) - this is the default
/text_resize=reduce or /text_resize=1 - Overflowing text size is reduced automatically (no user input)
/text_resize=truncated or /text_resize=2 - Overflowing text is truncated automatically (no user input)
/text_resize=ignore or /text_resize=3 - Overflowing text is left as is and may not appear in full (no user input)
/text_resize=fail or /text_resize=4 - the encoding is failed (no user input)
----------------------------------------------------------------------------------
UPDATE:
New command line with v3.0.0.14 & Above
/writer=['A'..'Z']
example:
/writer=F will preselect the F:\ Writer
UPDATE:
New command line with v3.1.3.36 & Above
Modified switch
/writer=[iso]['@'..'Z']
example:
/writer=iso
or
/writer=@ set ISO image creation mode
The fully qualified ISO image path is also available as soon as it has been computed in the registry,
read the STRING value of "HKEY_CURRENT_USER\SOFTWARE\VSO\ConvertXtoDVD\Iso_Image_Path"
_________________ VSO Software Golden Membership Proud Owner / VSO Software Beta Tester

Last edited by Cougar_II on Tue Jul 01, 2008 3:37 pm; edited 9 times in total |
|
| Back to top |
|
 |
some1
Joined: 24 Jun 2007 Posts: 5
|
Posted: Fri Oct 05, 2007 7:05 pm Post subject: |
|
|
Dunno if this helps anyone....
ConvertXtoDVD.cmd
| Code: | @echo off
Set _Path=C:\Program files\VSO\ConvertXtoDVD\ConvertXtoDvd.exe
Set _Folder=%userprofile%\My Documents\ConvertXtoDVD\
for %%f in (*.XtoDVD) do start /wait "" "%_Path%" "%_Folder%*.XtoDVD" /auto=true /close /overwrite=true | title [ConvertXtoDVD] %%f | Echo. Doing %%f...
|
Just copy and paste this into a blank text file, and save it as "ConvertXtoDVD.cmd" (NOT "ConvertXtoDVD.cmd.txt", If you did it right, the icon WILL change!)
Edit The second and third line of this (at the mo its default, and the other to wherever you saved your 'jobs/Save project files', IF this is blank, then it will do the ones which are in the folder where the batch file is!
Enjoy!
|
|
| Back to top |
|
 |
Bunkerbuster
Joined: 09 Oct 2007 Posts: 4
|
Posted: Tue Oct 09, 2007 8:08 pm Post subject: |
|
|
Cougar / InfectiousX
Keep up the good work
Is it possible to send the ammount of mb per converting file
file x --> 1000mb
file y --> 4500mb
That iso converting Awsome
Thanks
bunker
|
|
| Back to top |
|
 |
Cougar_II VSO Fanatic

Joined: 04 Apr 2007 Posts: 4493 Location: Québec, Canada
|
Posted: Tue Oct 09, 2007 11:23 pm Post subject: |
|
|
Hi,
ConvertXtoDVD will manage the bitrate used to make it fit on your media.
To chage the output size between 2 batch process would need to be modify in the registry probably, so the next version of ConvertXBatch could do it, I don't think it's a good idea to do it in a batch file but it could be possible.
| Quote: | Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\VSO\ConvertXToDVD\settings]
"Enc_target_size"=dword:00001130 |
1130 Hex = 4400 Mb in Decimal
So this value would need to be changed in registry to change the output size between batch (Before ConvertXtoDVD loads)
_________________ VSO Software Golden Membership Proud Owner / VSO Software Beta Tester
 |
|
| Back to top |
|
 |
Bunkerbuster
Joined: 09 Oct 2007 Posts: 4
|
Posted: Wed Oct 10, 2007 8:03 pm Post subject: |
|
|
Cougar,
Thanks for the reply.
It would be simpler if you did't have to change the reg key on fly (and put these changeble settings in a ini-file). (but that would be off topic)
So i think you are right when you say it is't that of a good idea
I hoped that there was some kinda ini-file where the setting where stored and that it could be overruled by a command line. (With the idea that putting changble settings in a reg key is not that handy)
The quality is by the way great i watching these iso's on my modded xbox realtime from my server on HD lcd tv, beter quality than divx(after the coversion) (the color black is black)
Thanks
Bunker
|
|
| Back to top |
|
 |
Cougar_II VSO Fanatic

Joined: 04 Apr 2007 Posts: 4493 Location: Québec, Canada
|
Posted: Wed Oct 10, 2007 9:36 pm Post subject: |
|
|
Hi,
I will ask VSO if it's possible to add a new /command to ConvertXtoDVD
/output=4400
Let's see if it will make the v3.00 cut
If not, it's something pretty easy to do in ConvertXBatch if InfectiousX keeps working on it !
_________________ VSO Software Golden Membership Proud Owner / VSO Software Beta Tester
 |
|
| Back to top |
|
 |
Bunkerbuster
Joined: 09 Oct 2007 Posts: 4
|
Posted: Sun Oct 14, 2007 9:56 pm Post subject: |
|
|
Cougar,
I tested the interface on a xp pro sp2 32x without any problem, so i moved everything to my server xp pro sp2 64x and there is a error when de batch is running.
De batch is running and on the moment de file is converted (finsched) (.mkv to dvd) XtoDVD hangs, i cannot see de log because het app is completely frozen, when i kill the proces xtoDVD, the batch is joning the files and gets on with is work until the next file is finshed and is freeses over again. Are there any problems reported with problems batch/XtoDVD --> on a 64X machine (in de forums i cannot find anything).
The logfiles doesn't reporting the error
I do not think there is a problem whit the batch (but you never know).
Thanks
|
|
| Back to top |
|
 |
Bunkerbuster
Joined: 09 Oct 2007 Posts: 4
|
Posted: Mon Oct 15, 2007 7:32 am Post subject: |
|
|
Uhhhh, I forgot something
XtoDVD --> actions --> close when finshed.
but it stays strange that the app is freesing up.
|
|
| Back to top |
|
 |
mayhem1
Joined: 25 Jan 2008 Posts: 3
|
Posted: Fri Jan 25, 2008 4:15 pm Post subject: |
|
|
It seems that the link to Infectiousx's site is down.
Does anyone know where else i can download this?
|
|
| Back to top |
|
 |
JoeB
Joined: 02 Jul 2007 Posts: 2840 Location: Canada
|
Posted: Fri Jan 25, 2008 4:24 pm Post subject: |
|
|
| mayhem1 wrote: | It seems that the link to Infectiousx's site is down.
Does anyone know where else i can download this? |
In another thread this past week or so I believe somebody posted a link to where it could be downloaded on rapidshare, but I don't recall the thread. You'll have to search for it.
Regards,
JoeB
|
|
| Back to top |
|
 |
Cougar_II VSO Fanatic

Joined: 04 Apr 2007 Posts: 4493 Location: Québec, Canada
|
Posted: Fri Jan 25, 2008 4:25 pm Post subject: ConvertXBatch v1.5 and v2.0 Beta (from InfectiousX) |
|
|
ConvertXBatch v1.5 and v2.0 Beta (from InfectiousX)
| Description: |
|
 Download |
| Filename: |
CxB-2.0.wipR2.rar |
| Filesize: |
1.09 MB |
| Downloaded: |
1671 Time(s) |
| Description: |
|
 Download |
| Filename: |
CxB-1.5.zip |
| Filesize: |
1.21 MB |
| Downloaded: |
658 Time(s) |
_________________ VSO Software Golden Membership Proud Owner / VSO Software Beta Tester
 |
|
| Back to top |
|
 |
charlysheen
Joined: 19 Feb 2008 Posts: 1
|
Posted: Tue Feb 19, 2008 1:42 pm Post subject: |
|
|
| You can find any files that are already finished, not converting them, look at Rapidshare search file
|
|
| Back to top |
|
 |
Gripweed
Joined: 23 May 2007 Posts: 195 Location: NJ USA
|
Posted: Fri Mar 21, 2008 4:51 pm Post subject: |
|
|
| some1 wrote: | Dunno if this helps anyone....
|
Your batch wasn't working any longer for me with CXD 3.0.0.7 and so I had to modify it. Here it is...
@echo off
Set _Path=C:\Program Files\vso\CX3\ConvertXtoDvd.exe
Set _ProjFolder=D:\Convertx2DVD\CXProjects\
for %%f in (%_ProjFolder%*.XtoDVD) do start "ConvertX" /wait "%_Path%" %%f /auto=true /close | title [ConvertXtoDVD] %%f
| Echo. Doing %%f...
Based on what I read, the Label for a Start line should go before a parameter (in this case, /WAIT) and so I switched them. Also I filled in the Label as "ConvertX" rather than the blank parens you used. I also changed the project folder to within the "in" statement so as to provide a path to the project files. The way you had it you had to put the .cmd file in the same directory as the project files and run it from there. That caused the project folder path where you had it to become redundant and it couldn't then find the projects.
|
|
| Back to top |
|
 |
kripz
Joined: 29 Jan 2008 Posts: 20
|
Posted: Tue Jun 03, 2008 11:05 pm Post subject: |
|
|
| What encoding should the text files be using? im having issues with non english characters.
|
|
| Back to top |
|
 |
Cougar_II VSO Fanatic

Joined: 04 Apr 2007 Posts: 4493 Location: Québec, Canada
|
Posted: Wed Jun 04, 2008 12:18 am Post subject: |
|
|
Hi,
What language are you using (Codepage also) ?
I have always worked with Latin I (English Chars) so have no idea how the commands will react using Unicode chars.
Give us more info on your issue, what /commands are you using ?
I will have VSO look into it !
_________________ VSO Software Golden Membership Proud Owner / VSO Software Beta Tester
 |
|
| Back to top |
|
 |
kripz
Joined: 29 Jan 2008 Posts: 20
|
Posted: Wed Jun 04, 2008 10:47 am Post subject: |
|
|
| Dont worry, CXD uses UTF8.
|
|
| Back to top |
|
 |
cmsoft
Joined: 16 Jun 2008 Posts: 84
|
Posted: Tue Jun 17, 2008 7:02 pm Post subject: |
|
|
I'm seeking volunteers to test a new batch processor for ConvertXtoDVD - works with version 3.x, and works properly under Vista...
If you're interested, please PM me, or see my post here
|
|
| Back to top |
|
 |
snakyjake
Joined: 09 Jan 2009 Posts: 5
|
Posted: Fri Jan 09, 2009 7:45 am Post subject: Process files of folder via command line |
|
|
Is there a way to process all files of an extension type within a folder? I can't use the file list feature since I won't know the name of the files. All I know is the extension will be .dvr-ms.
Something like "\foldername\*.dvr-ms"?
Thanks.
|
|
| Back to top |
|
 |
lapinou
Joined: 22 Aug 2006 Posts: 443 Location: France
|
Posted: Fri Jan 09, 2009 11:03 am Post subject: |
|
|
| you can program this easily yourself to parse the files you want and give the exact list of the files
|
|
| Back to top |
|
 |
Phil VSO Team Member

Joined: 14 May 2007 Posts: 1242 Location: Germany
|
Posted: Fri Jan 09, 2009 12:09 pm Post subject: |
|
|
You can write a simple batch file for that:
| Code: | dir /b c:\foldername\*.dvr-ms > c:\foldername\filelist.txt
C:\Program Files\VSO\ConvertX\3\ConvertXtoDVD.exe /fl=c:\foldername\filelist.txt |
It will create the filelist in the same folder, and the second line will launch ConvertX (without any fancy stuff, see first page for more parameters). You might have to change the paths to fit yours.
_________________
 |
|
| Back to top |
|
 |
|