I'm positve I did it before with multiple files (AVI or MPEG), but when I tried to convert a movie that was split into to separate MPEG files, the resulting Video_TS looked OK until I tried to author it in TMPGENC Author and it wouldn't accept the folder. I dragged the folder into the editor and nothing happened. So I tried to drag each individual .VOB file (there were 4) from the Video_TS into the TMPGENC Author only 2 of the .VOB files were accpeted. The other 2 said illegal operation, not a DVD-video file (or something along those lines).
How can I convert 2 or more files at once, so I don't have to do each one individually?
+ Reply to Thread
Results 1 to 11 of 11
-
-
I have never had a problem converting multiple files, however you must remember tht ConvertXtoDVD will try to fit all the files onto a single DVD. If this is what you want, then make sure you are running the latest version and try again.
Read my blog here.
-
Just FWIW I have developed some scripts (batch files and VBS) that facilitate batch processing with Convertxtodvd.
They enable you to:
- Convert all files in a given folder to the one project
- Make each file in a given folder it's own separate project
- Convert all saved project files in a given directory to separate projects
If anyone is interested I will post the required scripts.If in doubt, Google it. -
Originally Posted by jimmalenko
Thanks in advance -
Originally Posted by rmstevensiii
scripts.zip
Should be pretty self-explanatory. I have all my files saved into a directory called "E:\Saved Batch Files" so you would need to alter this of course.If in doubt, Google it. -
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
"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 /close
"C:\PATH-TO-CONVERTXTODVD\ConvertXtoDvd.exe" C:\Work\project2.xToDVD /auto=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.
Using:
------
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.
// More advanced options.
Remote control and status of convertx will be available from version 2.0.11.
consist of 2 registry values , and a broadcasted messages.
values are used to indicate the built DVD folder, and the last status of the
engine
broadcasted messages are bidirectionnal, used to obtain the current
operation and progress of convertx, and to remotely control the running
instance of ConvertX
here is the constants used.
unit U_ConvertX_Remote;
interface
const
// Status of ConvertX in the registry.
// HKEY_LOCAL_MACHINE\SOFTWARE\VSO\ConvertXtoDVD
DVD_FOLDER = 'Dvd_Folder'; // folder containing
Built DVD (without trailing VIDEO_TS) [STRING]
COMPLETION_STATUS = 'Completion_Status'; // Status of ConvertX
[STRING]
// COMPLETION_STATUS string value can be one of the following
COMPLETION_STATUS_IDLE = 'idle'; // waiting for conversion
COMPLETION_STATUS_CONVERTING = 'converting'; // converting a fileset
COMPLETION_STATUS_FILECOPY = 'filecopy'; // copying original to
DVD folder
COMPLETION_STATUS_BURNING = 'burning'; // burning the media
COMPLETION_STATUS_SUCCESS = 'ok'; // All went OK
COMPLETION_STATUS_FAILED = 'failed'; // Error occured
// Broadcasted message with ConvertX
WM_CONVERTX_CMD_STRING = 'WM_CONVERTX_CMD'; // The Message registered with
RegisterWindowsMessage()
// Type of information requested/sent, in Msg.WParam
WP_NULL = 0; // NOP
WP_CMD = 1; // if received by convertX, it will
execute a command
WP_START_CONVERSION = 2; // Conversion started.
WP_CONVERT = 3; // Converting, Lparam = progress -
[0..$FFFF]
WP_END_CONVERSION = 4; // Conversion ended. Lparam = status -
0 failed, <> 0 success
WP_START_FILECOPY = 5; // File copy started.
WP_FILECOPY = 6; // Copying files, Lparam = progress -
[0..$FFFF]
WP_END_FILECOPY = 7; // File copy ended.
WP_START_BURN = 8; // Burn started
WP_BURNING = 9; // Burning, Lparam = progress - [0..$FFFF]
WP_END_BURN = 10; // Burn ended. Lparam = status - 0
failed, <> 0 success
WP_IDLE = 11; // ConvertX enter IDLE state - not yet
implemented
{
if 3rd party app call a PostMessage(HWND_BROADCAST, WM_CONVERTX_CMD,
WP_CMD, ...)
Here are possible values for LParam } type
E_ConvertX_Cmd = (
CXC_SHOW_PREVIEW, // 0 - Show preview
CXC_HIDE_PREVIEW, // 1 - Hide preview
CXC_SHOW_DETAILS, // 2 - Show details
CXC_HIDE_DETAILS, // 3 - hide details
CXC_SHOW_LOG, // 4 - show log
CXC_HIDE_LOG, // 5 - hide log
CXC_PAUSE, // 6 - pause conversion
CXC_RESUME, // 7 - resume conversion
CXC_FRIENDLY_SHUTDOWN, // 8 - Initiate a friendly shutdown of
ConvertX (ask permission if currently in operation)
CXC_FORCE_SHUTDOWN); // 9 - Shut down convertx without warning
(do a halt(0))
implementation
end. -
Originally Posted by jimmalenko
Still working great ( ConvertXtoDVD - 4.0.6.316)
Thanks so much - I've downloaded thes scripts on my last 4 OS's. -
Been a long time I've been using your scripts and I'm sure other
googlers are as well looking for a batch solution. Thank you !!!
In the streets I greet ya
About blunts I teach ya
Inhale deep, like the words of my breath
I never sleep, cuz sleep is the cousin of death
Nothing's equivalent to my NY state of mind
Similar Threads
-
Batch Convertxtodvd
By jack1993 in forum Authoring (DVD)Replies: 6Last Post: 18th Oct 2009, 22:28 -
New MKV File-convertxtodvd won't convert it.
By jbitakis in forum Video ConversionReplies: 17Last Post: 4th Feb 2009, 14:51 -
Can ConvertXToDVD convert from and too all of these?
By wetcamelfood in forum Video ConversionReplies: 2Last Post: 5th Jan 2009, 01:10 -
.TS to DVD convert not working with Convertxtodvd
By jcurrieirocz in forum Video ConversionReplies: 12Last Post: 2nd Nov 2008, 22:28 -
Need some help with ConvertXtoDVD and using a batch file...
By DVDNewb in forum Newbie / General discussionsReplies: 3Last Post: 9th Jan 2008, 16:45