VideoHelp Forum
+ Reply to Thread
Results 1 to 11 of 11
Thread
  1. Member
    Join Date
    Apr 2006
    Location
    United States
    Search Comp PM
    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?
    Quote Quote  
  2. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    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.
    Quote Quote  
  3. Member
    Join Date
    Apr 2006
    Location
    United States
    Search Comp PM
    I'll give it a shot
    Quote Quote  
  4. VH Veteran jimmalenko's Avatar
    Join Date
    Aug 2003
    Location
    Down under
    Search PM
    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.
    Quote Quote  
  5. Member
    Join Date
    Nov 2006
    Location
    United States
    Search Comp PM
    Originally Posted by jimmalenko
    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.
    I would be interested in these scripts.

    Thanks in advance
    Quote Quote  
  6. VH Veteran jimmalenko's Avatar
    Join Date
    Aug 2003
    Location
    Down under
    Search PM
    Originally Posted by rmstevensiii
    Originally Posted by jimmalenko
    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.
    I would be interested in these scripts.

    Thanks in advance
    Here they are:

    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.
    Quote Quote  
  7. Member
    Join Date
    Nov 2006
    Location
    United States
    Search Comp PM
    Thanks!
    Quote Quote  
  8. Member
    Join Date
    Nov 2006
    Location
    Canada
    Search Comp PM
    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.
    Quote Quote  
  9. Member
    Join Date
    Feb 2007
    Location
    United States
    Search Comp PM
    Originally Posted by jimmalenko
    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.

    Still working great ( ConvertXtoDVD - 4.0.6.316)

    Thanks so much - I've downloaded thes scripts on my last 4 OS's.
    Quote Quote  
  10. VH Veteran jimmalenko's Avatar
    Join Date
    Aug 2003
    Location
    Down under
    Search PM
    Originally Posted by zedalis
    Still working great ( ConvertXtoDVD - 4.0.6.316)

    Thanks so much - I've downloaded thes scripts on my last 4 OS's.
    No worries, glad they are useful to others also !
    If in doubt, Google it.
    Quote Quote  
  11. 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
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!