Command line CloneDVD2 for use with AnyDVD

Discussion in 'AnyDVD HD (DVD issues)' started by James, Jul 7, 2009.

  1. James

    James Redfox Development Team Staff Member

    Note that this is *unsupported beta software*. Don't even think of bothering RedFox support if you have problems! If it works for you, fine. If it doesn't... well, write a note in this thread.

    https://www.redfox.bz/download/tcclone2020.zip

    This tool has most of the functionality of the full CloneDVD2 version, but without the GUI.
    Can be very, very helpful for automated ripping or debugging. It was originally developed for internal testing of Elaborate Bytes' libdvd, which is used by the AnyDVD ripper. As an internal tool, never intended to be released, it may have some "rough edges", e.g the option --silent isn't as silent as it should be...
    But as the engine is identical with CloneDVD / AnyDVD (I/O is similar to AnyDVD), it should function very well.

    Installation instructions:

    1.) Unzip to the directory, where AnyDVD or CloneDVD2 is already installed.
    IT WILL NOT WORK FROM ANY OTHER LOCATION!

    2.) From the command prompt, type
    tcclone --help
    for the full command set. Remember to specify --remux, if you do not want to use the transcoder.

    Happy testing.

    Code:
    tcclone - clone a DVD
    
    Usage: tcclone [OPTIONS] VIDEO_TS_PATH -> to print the list of available titles
      or:  tcclone [OPTIONS] VIDEO_TS_PATH TITLE_NUM ... -> to select one or more titles
      or:  tcclone [OPTIONS] VIDEO_TS_PATH all -> to select all titles
    
    Input options:
      --usefs   use OS filesystem to read from optical drive
    
    Output options:
      --outpath PATH   set path of output IFO/VOB/BUP files (default: ".")
    
    IFO/VOB Processing options:
      --menus             include menus
      --loop              loop titles without menus
      --force             overwrite target files
                          process title even if no audio stream has been selected
                          use transcoder, even if interface version differs
      --remux             remux only, do not transcode
      --stats             always call TC, do not remux if possible
      --simulate          simulate, do not generate any files
      --writeifos         write IFO files, even with --simulate set
      --silent            be silent: do not output logging to stdout
      --slog FILE         session log file to route all logging output to
      --nostreams         do not copy non-video streams into target VOBs
      --samples SAMPLES   number of VOBU samples per VOB (0: disable scan, default: 5)
    
    Transcoder options:
      --rc MB   set target VOBs size in MBytes
                note: 1 MB = 512 blocks, one block = 2048 bytes
    
    Standard options:
          --version   print version information and exit
      -h, --help      this list of useful options
    
    
     
    Last edited by a moderator: Mar 22, 2016
  2. plato

    plato Well-Known Member

    Wow! :eek:
     
  3. kirkfrey

    kirkfrey New Member

    Is it capable of writing ISO files? I would also love to see a CloneDVDMobile version of this! (I know, asking for a lot)
     
  4. James

    James Redfox Development Team Staff Member

    No, it isn't. But you can use ImgBurn for this, if you like.
     
    Wickwirez likes this.
  5. slinky

    slinky Well-Known Member

    hhhmmmm, interesting, thank you :)
     
  6. bhoar

    bhoar Active Member

    Thanks James, I'll check this out vs. my automation using AnyDVDToFolder.exe which I've been using up until now.

    -brendan
     
  7. sej7278

    sej7278 Well-Known Member

    mencoder is essentially a commandline version of clonedvdmobile.
     
  8. pappyjoe

    pappyjoe Well-Known Member

    Well...I finally figured out how to use tcclone.exe to rip a full dvd.I also figured out how to rip "movie only". If I could only figure out how to rip "movie only" AND preserve menus.....I would be a happy camper.:agree: I have tried --menus, and --remux....but guess I need to know how to use it.
     
  9. James

    James Redfox Development Team Staff Member

    --menus --remux (if you don't want to shrink) title number

    Remember: tcclone *must* be installed in the anydvd or clonedvd directory.
     
  10. pappyjoe

    pappyjoe Well-Known Member

    Thank you James. Please excuse my ignorance....I guess my problem is - not knowing where to place --menus--remux IN the commandline, before hitting "enter"....to achieve the expected results. I do have tcclone in my AnyDvd directory. I have ripped both full disk, and movie only using tcclone and it works great. I just haven't been able to preserve menus in movie only. :doh: Thank you again.
     
  11. ink80

    ink80 New Member

    cant get it to work

    Hi,

    i might be doing something dumb here but i cant get this to work.

    Could someone post some working examples.

    I am trying to shrink a DVD that i have on my file system to and ISO

    This is what i have tried:
    Code:
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    
    C:\Users\iKill80>cd C:\Program Files\Elaborate Bytes\CloneDVD2
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe
    tcclone - clone a DVD
    
    Usage: tcclone.exe [OPTIONS] VIDEO_TS_PATH -> to print the list of available tit
    les
      or:  tcclone.exe [OPTIONS] VIDEO_TS_PATH TITLE_NUM ... -> to select one or mor
    e titles
      or:  tcclone.exe [OPTIONS] VIDEO_TS_PATH all -> to select all titles
    
    Input options:
      --usefs   use OS filesystem to read from optical drive
    
    Output options:
      --outpath PATH   set path of output IFO/VOB/BUP files (default: ".")
    
    IFO/VOB Processing options:
      --menus             include menus
      --loop              loop titles without menus
      --force             overwrite target files
                          process title even if no audio stream has been selected
                          use transcoder, even if interface version differs
      --remux             remux only, do not transcode
      --stats             always call TC, do not remux if possible
      --simulate          simulate, do not generate any files
      --writeifos         write IFO files, even with --simulate set
      --silent            be silent: do not output logging to stdout
      --slog FILE         session log file to route all logging output to
      --nostreams         do not copy non-video streams into target VOBs
      --samples SAMPLES   number of VOBU samples per VOB (0: disable scan, default:
    5)
    
    Transcoder options:
      --rc MB   set target VOBs size in MBytes
                note: 1 MB = 512 blocks, one block = 2048 bytes
    
    Standard options:
          --version   print version information and exit
      -h, --help      this list of useful options
    
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --usefs I:\DVDShrink\bedt
    imestories --outpath E:\ISOToBurn\bedtimestories.iso
    Error: FileIO 0 I:/DVDShrink/bedtimestories/VIDEO_TS.IFO
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --usefs I:\DVDShrink\bedt
    imestories\VIDEO_TS --outpath E:\ISOToBurn\bedtimestories.iso
    Using OS filesystem access files / optical drive.
    TitleFixDVD processing error: invalid vector<T> subscript
    TitleFixDVD failed!
    Error: invalid vector<T> subscript
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --usefs I:\DVDShrink\bedt
    imestories\VIDEO_TS --outpath E:\ISOToBurn
    Using OS filesystem access files / optical drive.
    TitleFixDVD processing error: invalid vector<T> subscript
    TitleFixDVD failed!
    Error: invalid vector<T> subscript
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --usefs I:\DVDShrink\bedt
    imestories\VIDEO_TS --outpath ISO
    Using OS filesystem access files / optical drive.
    TitleFixDVD processing error: invalid vector<T> subscript
    TitleFixDVD failed!
    Error: invalid vector<T> subscript
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --usefs I:\DVDShrink\bedt
    imestories\VIDEO_TS
    TitleGroup (TS: 1): 1
    Query time for overlaps in ms: 0
    Layerbreak candidates: none
     ____________
    | DVD Titles \
    +--+--+----------+--+--+-------------------------+--------------+
    |ID|TS|Playback  |Ch|An|Audio                    |Subpicture    |
    |  |  |time      |ap|gl|                         |              |
    +--+--+----------+--+--+-------------------------+--------------+
    | 1| 1|1:35:12.17|21|  |1: AC3/6 EN, 2: DTS/6 EN,|01: EN, 02: EN|
    |  |  |          |  |  |3: AC3/2 EN              |              |
    +--+--+----------+--+--+-------------------------+--------------+
     _________________________
    | DVD TitleSet Properties \
    +--+----------------------+-------------------------+--------------+
    |TS|Video                 |Audio                    |Subpicture    |
    +--+----------------------+-------------------------+--------------+
    |1 |MPEG2 PAL 16:9 720x576|1: AC3/6 EN, 2: DTS/6 EN,|01: EN, 02: EN|
    |  |                      |3: AC3/2 EN              |              |
    +--+----------------------+-------------------------+--------------+
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe
    tcclone - clone a DVD
    
    Usage: tcclone.exe [OPTIONS] VIDEO_TS_PATH -> to print the list of available tit
    les
      or:  tcclone.exe [OPTIONS] VIDEO_TS_PATH TITLE_NUM ... -> to select one or mor
    e titles
      or:  tcclone.exe [OPTIONS] VIDEO_TS_PATH all -> to select all titles
    
    Input options:
      --usefs   use OS filesystem to read from optical drive
    
    Output options:
      --outpath PATH   set path of output IFO/VOB/BUP files (default: ".")
    
    IFO/VOB Processing options:
      --menus             include menus
      --loop              loop titles without menus
      --force             overwrite target files
                          process title even if no audio stream has been selected
                          use transcoder, even if interface version differs
      --remux             remux only, do not transcode
      --stats             always call TC, do not remux if possible
      --simulate          simulate, do not generate any files
      --writeifos         write IFO files, even with --simulate set
      --silent            be silent: do not output logging to stdout
      --slog FILE         session log file to route all logging output to
      --nostreams         do not copy non-video streams into target VOBs
      --samples SAMPLES   number of VOBU samples per VOB (0: disable scan, default:
    5)
    
    Transcoder options:
      --rc MB   set target VOBs size in MBytes
                note: 1 MB = 512 blocks, one block = 2048 bytes
    
    Standard options:
          --version   print version information and exit
      -h, --help      this list of useful options
    
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --version
    tcclone 2.0.1.1
    TC engine r072t[i016] (compiled: r072t[i016])
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --usefs I:\DVDShrink\bedt
    imestories\
    Error: FileIO 0 I:/DVDShrink/bedtimestories/VIDEO_TS.IFO
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --usefs I:\DVDShrink\bedt
    imestories\VIDEO_TS
    TitleGroup (TS: 1): 1
    Query time for overlaps in ms: 0
    Layerbreak candidates: none
     ____________
    | DVD Titles \
    +--+--+----------+--+--+-------------------------+--------------+
    |ID|TS|Playback  |Ch|An|Audio                    |Subpicture    |
    |  |  |time      |ap|gl|                         |              |
    +--+--+----------+--+--+-------------------------+--------------+
    | 1| 1|1:35:12.17|21|  |1: AC3/6 EN, 2: DTS/6 EN,|01: EN, 02: EN|
    |  |  |          |  |  |3: AC3/2 EN              |              |
    +--+--+----------+--+--+-------------------------+--------------+
     _________________________
    | DVD TitleSet Properties \
    +--+----------------------+-------------------------+--------------+
    |TS|Video                 |Audio                    |Subpicture    |
    +--+----------------------+-------------------------+--------------+
    |1 |MPEG2 PAL 16:9 720x576|1: AC3/6 EN, 2: DTS/6 EN,|01: EN, 02: EN|
    |  |                      |3: AC3/2 EN              |              |
    +--+----------------------+-------------------------+--------------+
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --usefs I:\DVDShrink\bedt
    imestories\VIDEO_TS --outpath E:\ISOToBurn
    Using OS filesystem access files / optical drive.
    TitleFixDVD processing error: invalid vector<T> subscript
    TitleFixDVD failed!
    Error: invalid vector<T> subscript
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --usefs I:\DVDShrink\bedt
    imestories\VIDEO_TS\ --outpath E:\ISOToBurn\
    Using OS filesystem access files / optical drive.
    TitleFixDVD processing error: invalid vector<T> subscript
    TitleFixDVD failed!
    Error: invalid vector<T> subscript
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --usefs I:\DVDShrink\bedt
    imestories\VIDEO_TS --outpath E:\ISOToBurn
    Using OS filesystem access files / optical drive.
    TitleFixDVD processing error: invalid vector<T> subscript
    TitleFixDVD failed!
    Error: invalid vector<T> subscript
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>
    Thanks
     
  12. James

    James Redfox Development Team Staff Member

    You almost got there. First, don't use the "--usefs" keyword, it isn't needed. You already found out yourself, that you must specify the source path including the VIDEO_TS directory. Same is true for the output path *which must already exist*.
    tcclone does *not* create .isos, it will write files to folders. (The "real" CloneDVD will do this, of course).
    To create an .iso from folder, you can use other tools like CloneDVD or (free) ImgBurn.
     
  13. ink80

    ink80 New Member

    Thanks James

    Thanks for getting back to me, but still no luck.

    I must be missing something still. Below is some of the things i have tried.

    I dont mind if it is not in ISO as long as i can write it directly to a standerd DVD-R 4.7GB
    All i want to do is compress the VIDEO_TS folder to fit the disk. I am not trying to create a fully automated copping system, I just have like 36 of these backups on my PC and i would like to write a batch to shrink them over night.

    Cold you send me an example line of how you would shrink a VIDEO_TS folder?

    I am a programer so i wont have any problem writing an app or a batch file to process over night as long as i can get the arguments right.

    Thanks again for your help.


    Code:
    
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe I:\DVDShrink\bedtimestori
    es\VIDEO_TS --outpath E:\ISOToBurn\BedTimeStory\VIDEO_TS
    Using OS filesystem access files / optical drive.
    TitleFixDVD processing error: invalid vector<T> subscript
    TitleFixDVD failed!
    Error: invalid vector<T> subscript
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --rc 1024 MB  --outpath E
    :\ISOToBurn\BedTimeStory\VIDEO_TS I:\DVDShrink\bedtimestories\VIDEO_TS
    Error: FileIO 0 MB\VIDEO_TS.IFO
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --rc 1024 --outpath E:\IS
    OToBurn\BedTimeStory\VIDEO_TS I:\DVDShrink\bedtimestories\VIDEO_TS
    TitleGroup (TS: 1): 1
    Query time for overlaps in ms: 0
    Layerbreak candidates: none
     ____________
    | DVD Titles \
    +--+--+----------+--+--+-------------------------+--------------+
    |ID|TS|Playback  |Ch|An|Audio                    |Subpicture    |
    |  |  |time      |ap|gl|                         |              |
    +--+--+----------+--+--+-------------------------+--------------+
    | 1| 1|1:35:12.17|21|  |1: AC3/6 EN, 2: DTS/6 EN,|01: EN, 02: EN|
    |  |  |          |  |  |3: AC3/2 EN              |              |
    +--+--+----------+--+--+-------------------------+--------------+
     _________________________
    | DVD TitleSet Properties \
    +--+----------------------+-------------------------+--------------+
    |TS|Video                 |Audio                    |Subpicture    |
    +--+----------------------+-------------------------+--------------+
    |1 |MPEG2 PAL 16:9 720x576|1: AC3/6 EN, 2: DTS/6 EN,|01: EN, 02: EN|
    |  |                      |3: AC3/2 EN              |              |
    +--+----------------------+-------------------------+--------------+
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --rc MB 1024 --outpath E:
    \ISOToBurn\BedTimeStory\VIDEO_TS I:\DVDShrink\bedtimestories\VIDEO_TS
    Error: FileIO 0 1024\VIDEO_TS.IFO
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --outpath E:\ISOToBurn\Be
    dTimeStory\VIDEO_TS --rc 1024 MB I:\DVDShrink\bedtimestories\VIDEO_TS
    Error: FileIO 0 MB\VIDEO_TS.IFO
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --outpath E:\ISOToBurn\Be
    dTimeStory\VIDEO_TS --rc 1024 I:\DVDShrink\bedtimestories\VIDEO_TS
    TitleGroup (TS: 1): 1
    Query time for overlaps in ms: 0
    Layerbreak candidates: none
     ____________
    | DVD Titles \
    +--+--+----------+--+--+-------------------------+--------------+
    |ID|TS|Playback  |Ch|An|Audio                    |Subpicture    |
    |  |  |time      |ap|gl|                         |              |
    +--+--+----------+--+--+-------------------------+--------------+
    | 1| 1|1:35:12.17|21|  |1: AC3/6 EN, 2: DTS/6 EN,|01: EN, 02: EN|
    |  |  |          |  |  |3: AC3/2 EN              |              |
    +--+--+----------+--+--+-------------------------+--------------+
     _________________________
    | DVD TitleSet Properties \
    +--+----------------------+-------------------------+--------------+
    |TS|Video                 |Audio                    |Subpicture    |
    +--+----------------------+-------------------------+--------------+
    |1 |MPEG2 PAL 16:9 720x576|1: AC3/6 EN, 2: DTS/6 EN,|01: EN, 02: EN|
    |  |                      |3: AC3/2 EN              |              |
    +--+----------------------+-------------------------+--------------+
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --outpath E:\ISOToBurn\Be
    dTimeStory\VIDEO_TS --rc 1024 I:\DVDShrink\bedtimestories\VIDEO_TS
    TitleGroup (TS: 1): 1
    Query time for overlaps in ms: 0
    Layerbreak candidates: none
     ____________
    | DVD Titles \
    +--+--+----------+--+--+-------------------------+--------------+
    |ID|TS|Playback  |Ch|An|Audio                    |Subpicture    |
    |  |  |time      |ap|gl|                         |              |
    +--+--+----------+--+--+-------------------------+--------------+
    | 1| 1|1:35:12.17|21|  |1: AC3/6 EN, 2: DTS/6 EN,|01: EN, 02: EN|
    |  |  |          |  |  |3: AC3/2 EN              |              |
    +--+--+----------+--+--+-------------------------+--------------+
     _________________________
    | DVD TitleSet Properties \
    +--+----------------------+-------------------------+--------------+
    |TS|Video                 |Audio                    |Subpicture    |
    +--+----------------------+-------------------------+--------------+
    |1 |MPEG2 PAL 16:9 720x576|1: AC3/6 EN, 2: DTS/6 EN,|01: EN, 02: EN|
    |  |                      |3: AC3/2 EN              |              |
    +--+----------------------+-------------------------+--------------+
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --outpath E:\ISOToBurn\Be
    dTimeStory\VIDEO_TS --rc MB I:\DVDShrink\bedtimestories\VIDEO_TS
    TitleGroup (TS: 1): 1
    Query time for overlaps in ms: 0
    Layerbreak candidates: none
     ____________
    | DVD Titles \
    +--+--+----------+--+--+-------------------------+--------------+
    |ID|TS|Playback  |Ch|An|Audio                    |Subpicture    |
    |  |  |time      |ap|gl|                         |              |
    +--+--+----------+--+--+-------------------------+--------------+
    | 1| 1|1:35:12.17|21|  |1: AC3/6 EN, 2: DTS/6 EN,|01: EN, 02: EN|
    |  |  |          |  |  |3: AC3/2 EN              |              |
    +--+--+----------+--+--+-------------------------+--------------+
     _________________________
    | DVD TitleSet Properties \
    +--+----------------------+-------------------------+--------------+
    |TS|Video                 |Audio                    |Subpicture    |
    +--+----------------------+-------------------------+--------------+
    |1 |MPEG2 PAL 16:9 720x576|1: AC3/6 EN, 2: DTS/6 EN,|01: EN, 02: EN|
    |  |                      |3: AC3/2 EN              |              |
    +--+----------------------+-------------------------+--------------+
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --outpath E:\ISOToBurn\Be
    dTimeStory\VIDEO_TS I:\DVDShrink\bedtimestories\VIDEO_TS
    TitleGroup (TS: 1): 1
    Query time for overlaps in ms: 0
    Layerbreak candidates: none
     ____________
    | DVD Titles \
    +--+--+----------+--+--+-------------------------+--------------+
    |ID|TS|Playback  |Ch|An|Audio                    |Subpicture    |
    |  |  |time      |ap|gl|                         |              |
    +--+--+----------+--+--+-------------------------+--------------+
    | 1| 1|1:35:12.17|21|  |1: AC3/6 EN, 2: DTS/6 EN,|01: EN, 02: EN|
    |  |  |          |  |  |3: AC3/2 EN              |              |
    +--+--+----------+--+--+-------------------------+--------------+
     _________________________
    | DVD TitleSet Properties \
    +--+----------------------+-------------------------+--------------+
    |TS|Video                 |Audio                    |Subpicture    |
    +--+----------------------+-------------------------+--------------+
    |1 |MPEG2 PAL 16:9 720x576|1: AC3/6 EN, 2: DTS/6 EN,|01: EN, 02: EN|
    |  |                      |3: AC3/2 EN              |              |
    +--+----------------------+-------------------------+--------------+
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --outpath E:\ISOToBurn\Be
    dTimeStory\VIDEO_TS\VTS_01_1.VOB I:\DVDShrink\bedtimestories\VIDEO_TS
    TitleGroup (TS: 1): 1
    Query time for overlaps in ms: 0
    Layerbreak candidates: none
     ____________
    | DVD Titles \
    +--+--+----------+--+--+-------------------------+--------------+
    |ID|TS|Playback  |Ch|An|Audio                    |Subpicture    |
    |  |  |time      |ap|gl|                         |              |
    +--+--+----------+--+--+-------------------------+--------------+
    | 1| 1|1:35:12.17|21|  |1: AC3/6 EN, 2: DTS/6 EN,|01: EN, 02: EN|
    |  |  |          |  |  |3: AC3/2 EN              |              |
    +--+--+----------+--+--+-------------------------+--------------+
     _________________________
    | DVD TitleSet Properties \
    +--+----------------------+-------------------------+--------------+
    |TS|Video                 |Audio                    |Subpicture    |
    +--+----------------------+-------------------------+--------------+
    |1 |MPEG2 PAL 16:9 720x576|1: AC3/6 EN, 2: DTS/6 EN,|01: EN, 02: EN|
    |  |                      |3: AC3/2 EN              |              |
    +--+----------------------+-------------------------+--------------+
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>
    
    
     
  14. ink80

    ink80 New Member

    By jobe, I think he's got it.

    I think i understand now.

    What i was doing was listing out the titles.

    i needed to tell it which one to process.

    I am not sure this has worked yet i will need to test it but it is looking good so fare.

    Thanks


    Code:
    
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe
    tcclone - clone a DVD
    
    Usage: tcclone.exe [OPTIONS] VIDEO_TS_PATH -> to print the list of available tit
    les
      or:  tcclone.exe [OPTIONS] VIDEO_TS_PATH TITLE_NUM ... -> to select one or mor
    e titles
      or:  tcclone.exe [OPTIONS] VIDEO_TS_PATH all -> to select all titles
    
    Input options:
      --usefs   use OS filesystem to read from optical drive
    
    Output options:
      --outpath PATH   set path of output IFO/VOB/BUP files (default: ".")
    
    IFO/VOB Processing options:
      --menus             include menus
      --loop              loop titles without menus
      --force             overwrite target files
                          process title even if no audio stream has been selected
                          use transcoder, even if interface version differs
      --remux             remux only, do not transcode
      --stats             always call TC, do not remux if possible
      --simulate          simulate, do not generate any files
      --writeifos         write IFO files, even with --simulate set
      --silent            be silent: do not output logging to stdout
      --slog FILE         session log file to route all logging output to
      --nostreams         do not copy non-video streams into target VOBs
      --samples SAMPLES   number of VOBU samples per VOB (0: disable scan, default:
    5)
    
    Transcoder options:
      --rc MB   set target VOBs size in MBytes
                note: 1 MB = 512 blocks, one block = 2048 bytes
    
    Standard options:
          --version   print version information and exit
      -h, --help      this list of useful options
    
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --menus --writeifos --for
    ce --outpath E:\ISOToBurn\BedTimeStory\VIDEO_TS I:\DVDShrink\bedtimestories\VIDE
    O_TS
    TitleGroup (TS: 1): 1
    Query time for overlaps in ms: 0
    Layerbreak candidates: none
     ____________
    | DVD Titles \
    +--+--+----------+--+--+-------------------------+--------------+
    |ID|TS|Playback  |Ch|An|Audio                    |Subpicture    |
    |  |  |time      |ap|gl|                         |              |
    +--+--+----------+--+--+-------------------------+--------------+
    | 1| 1|1:35:12.17|21|  |1: AC3/6 EN, 2: DTS/6 EN,|01: EN, 02: EN|
    |  |  |          |  |  |3: AC3/2 EN              |              |
    +--+--+----------+--+--+-------------------------+--------------+
     _________________________
    | DVD TitleSet Properties \
    +--+----------------------+-------------------------+--------------+
    |TS|Video                 |Audio                    |Subpicture    |
    +--+----------------------+-------------------------+--------------+
    |1 |MPEG2 PAL 16:9 720x576|1: AC3/6 EN, 2: DTS/6 EN,|01: EN, 02: EN|
    |  |                      |3: AC3/2 EN              |              |
    +--+----------------------+-------------------------+--------------+
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --menus --writeifos --for
    ce --outpath E:\ISOToBurn\BedTimeStory\VIDEO_TS I:\DVDShrink\bedtimestories\VIDE
    O_TS 1
    Using OS filesystem access files / optical drive.
    P^C2% ts 01 T, vob 01, cell 07, 0705948:173
    C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --menus --writeifos --for
    ce --outpath E:\ISOToBurn\BedTimeStory\VIDEO_TS I:\DVDShrink\bedtimestories\VIDE
    O_TS all
    Using OS filesystem access files / optical drive.
    P 99% ts 01 T, vob 02, cell 21, 2192285:008
    Compiling IFO files ... ok
    recreated 1 time maps
    Writing IFO files ... ok
    
    C:\Program Files\Elaborate Bytes\CloneDVD2>
    
    
     
  15. ink80

    ink80 New Member

    Script C#

    Incase anyone is interested i wrote a short script in C# to run the command line app. There is not much error handling so use at your own risk.


    Code:
    
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.IO;
    using System.Diagnostics;
    using System.Threading;
    
    namespace BatchMoveProcess
    {
        class Program
        {
            static void Main(string[] args)
            {
                string ProcessFromPath = @"I:\DVDShrink";
                string ProcessToPath = @"I:\DVDShrinkReadyForBurn";
                long maxSize = 4939212390; //This is just smaller than than 4.7GB
    
                foreach (string moveFolder in Directory.GetDirectories(ProcessFromPath))
                {
                    try
                    {
                        Console.WriteLine(moveFolder);
    
                        DirectoryInfo di = new DirectoryInfo(moveFolder);
                        long dsize = DirSize(di);
                         
                        if (dsize < maxSize)
                        { //Doesnt need processing just copy it over 
                            Copy(moveFolder, Path.Combine(ProcessToPath, di.Name));
                        }
                        else
                        {//Needs processing 
    
                            // C:\Program Files\Elaborate Bytes\CloneDVD2>tcclone.exe --menus 
                            //     --outpath E:\ISOToBurn\JENNIFERS_BODY I:\DVDShrink\JENNIFERS_BODY\VIDEO_TS all
    
                            //Make sure folder exists
                            if (!Directory.Exists(Path.Combine(ProcessToPath, di.Name)))
                            {
                                Directory.CreateDirectory(Path.Combine(ProcessToPath, di.Name));
                            }
    
                            ProcessStartInfo psi = new ProcessStartInfo(@"C:\Program Files\Elaborate Bytes\CloneDVD2\tcclone.exe");
                            psi.RedirectStandardOutput = false;
                            psi.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal;
                            psi.UseShellExecute = true;
                            psi.WorkingDirectory = @"C:\Program Files\Elaborate Bytes\CloneDVD2";
                            psi.Arguments = string.Format(@"--menus --outpath {0} {1}\VIDEO_TS all", Path.Combine(ProcessToPath, di.Name), Path.Combine(ProcessToPath, moveFolder));
    
                            //Run Process
                            Process processMove = Process.Start(psi);
    
                            processMove.WaitForExit();
                            if (processMove.HasExited)
                            {
                                Console.WriteLine(Path.Combine(ProcessToPath, di.Name));
                                Console.WriteLine("Processed");
                            }
    
                            //CLean up
                            processMove.Dispose();
                            processMove = null;
                        }
    
                        //Just in case
                        Thread.Sleep(9000);
                    }
                    catch (Exception e) 
                    { 
                        Console.WriteLine(e.Message); 
                    }
    
                }
    
                Console.WriteLine("All Done!");
    
            }
    
    
            public static long DirSize(DirectoryInfo d)
            {
                long Size = 0;
                // Add file sizes.
                FileInfo[] fis = d.GetFiles();
                foreach (FileInfo fi in fis)
                {
                    Size += fi.Length;
                }
                // Add subdirectory sizes.
                DirectoryInfo[] dis = d.GetDirectories();
                foreach (DirectoryInfo di in dis)
                {
                    Size += DirSize(di);
                }
                return (Size);
            }
    
            public static void Copy(string sourceDirectory, string targetDirectory)
            {
                DirectoryInfo diSource = new DirectoryInfo(sourceDirectory);
                DirectoryInfo diTarget = new DirectoryInfo(targetDirectory);
    
                CopyAll(diSource, diTarget);
            }
    
            public static void CopyAll(DirectoryInfo source, DirectoryInfo target)
            {
                // Check if the target directory exists, if not, create it.
                if (Directory.Exists(target.FullName) == false)
                {
                    Directory.CreateDirectory(target.FullName);
                }
    
                // Copy each file into it's new directory.
                foreach (FileInfo fi in source.GetFiles())
                {
                    Console.WriteLine(@"Copying {0}\{1}", target.FullName, fi.Name);
                    fi.CopyTo(Path.Combine(target.ToString(), fi.Name), true);
                }
    
                // Copy each subdirectory using recursion.
                foreach (DirectoryInfo diSourceSubDir in source.GetDirectories())
                {
                    DirectoryInfo nextTargetSubDir =
                        target.CreateSubdirectory(diSourceSubDir.Name);
                    CopyAll(diSourceSubDir, nextTargetSubDir);
                }
            }
    
    
    
        }
    }
    
    
    
     
  16. bhoar

    bhoar Active Member

    Is anyone having an issue with tcclone.exe taking substantially longer to rip a DVD than using AnyDVD's "Rip Video DVD to Harddisk..." option?

    Brendan
     
  17. Picardilly

    Picardilly Member

    Hi

    This is a great tool ! Thank you very much.

    Maybe someone can help me with the syntax for

    - selecting a specific audio stream for a title
    - selecting no subpictures for a title (something like --nosubs)

    The list of available audio streams and subpictures is displayed,
    therefore I guess that they can be selected somehow ...

    I'm using the --remux parameter by the way.

    Kind regards,
    Picardilly
     
  18. jolly1

    jolly1 New Member

    commandline Clone DVD script

    Hi using autohotkey I created a script which controls CloneDvd as a command line.

    First disable anydvd then opens a small utility to get the disk id

    using this searches export of DVDpro find the title name

    start clonedvd and spoof the keys on clone dvd and finaly eneters the movie name in the folder and starts clonedvd.

    I use thisin conjunction with Sony disc changer to automate the complete process.

    It works on my system
     
  19. James

    James Redfox Development Team Staff Member

    Better: Leave AnyDVD running but add your tool to
    HKLM\Software\SlySoft\AnyDVD\ADvdDiscHlpProcesses
     
  20. jolly1

    jolly1 New Member

    James thanks for that I will add same

    I take it open up regedit and add DWORD set the value to 1