Announcement

Collapse
No announcement yet.

command line

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    command line

    Is there any difference between the command line usage of DVDFab9 over DVDFab8? I have a batch file that works fine under v8.2.2.9 but causes a crash dump with V9. This is the batch file (based on an example posted by another user on this forum.

    @echo off
    echo DVDFAB Batch Conversion Script - DVD9 to DVD5
    rem **********************************************
    rem Set Enviromental variables for File locations
    rem **********************************************

    set DVDSOURCE=C:\Ripcord
    set SRCDRV=C:
    set DESTDIR=K:
    set DESTSUBDIR=ripcord
    set DESTTYPE=iso

    rem **********************************************
    rem Set Enviromental variable for DVDFAB Version
    rem
    rem Note: (x86) is usualy found on Windows 7 64bit
    rem Note: The current version of DVDFAB 9 will crash
    rem **********************************************

    if exist "C:\Program Files (x86)\DVDFab 9\DVDFab.exe" (
    set DVDFAB="C:\Program Files (x86)\DVDFab 9\DVDFab.exe"
    goto mDVD )
    if exist "C:\Program Files\DVDFab 9\DVDFAB.exe" (
    set DVDFAB="C:\Program Files\DVDFab 9\DVDFAB.exe"
    goto mDVD )
    if exist "C:\Program Files (x86)\DVDFab 8 Qt\DVDFab.exe" (
    set DVDFAB="C:\Program Files (x86)\DVDFab 8 Qt\DVDFab.exe"
    goto mDVD )
    if exist "C:\Program Files\DVDFab 8 QT\DVDFAB.exe" (
    set DVDFAB="C:\Program Files\DVDFab 8 QT\DVDFAB.exe"
    goto mDVD )

    :mDVD

    rem set DVDFAB="C:\Program Files (x86)\DVDFab 8 Qt\DVDFab.exe"
    set MODE="FULLDISC"
    set AUDIO="English"
    set OUTDISC="dvd5"

    rem **********************************************
    rem For-Do Loop
    rem
    rem Note: the code ('dir /B /S "%DVDSOURCE%\*.iso"') generates a list of files
    rem using the 'dir' command with the /Brief and /SubDirectories. The 'tokens' are
    rem a line out of the list (the 'F'option) that is in the form of a filename
    rem (fullpath - %%x)
    rem
    rem **********************************************

    for /F "tokens=*" %%X in ('dir /B /S "%DVDSOURCE%\*.iso"') do (

    echo "%%X"
    echo "%%~PX%%~nX.%DESTTYPE%"
    echo "%%~nX"
    echo "%%~xX"

    echo "%DESTDIR%\%DESTSUBDIR%\%%~nX.%DESTTYPE%"
    echo "%DESTDIR%%%~PX%%~nX_dvd5.%DESTTYPE%"
    pause

    rem **********************************************
    rem Check to make sure our dvd9 to dvd5 converted file does not exsist
    rem **********************************************

    if not exist "%DESTDIR%%%~PX%%~nX_dvd5.%DESTTYPE%" (

    rem **********************************************
    rem Invoke the command line mode of DVDFAB
    rem **********************************************

    echo /MODE %MODE% /AUDIO %AUDIO% /SRC "%%X" /DEST "%DESTDIR%%%~PX%%~nX_dvd5.%DESTTYPE%" /OUTDISC %OUTDISC%

    /REMOVEHDAUDIO "no" /CLOSE

    %DVDFAB% /MODE %MODE% /AUDIO %AUDIO% /SRC "%%X" /DEST "%DESTDIR%%%~PX%%~nX_dvd5.%DESTTYPE%" /OUTDISC %OUTDISC%

    /REMOVEHDAUDIO "no" /CLOSE

    rem **********************************************
    rem rename the source file so it won't get proceeses again if this batch file is stopped and then started again
    rem **********************************************

    echo "%%X" "%%~nX.xso"
    ren "%%X" "%%~nX.xso"

    ) else (


    rem **********************************************
    rem if the converted file already exsist, say so
    rem **********************************************

    echo "File exists "%DESTDIR%%%~PX%%~nX_dvd5.%DESTTYPE%"

    )

    rem **********************************************
    rem Close of For-Do Loop
    rem **********************************************

    pause

    )

    #2
    set MODE="FULLDISC"
    echo /MODE %MODE% /AUDIO %AUDIO% /SRC "%%X" /DEST "%DESTDIR%%%~PX%%~nX_dvd5.%DESTTYPE%" /OUTDISC %OUTDISC%

    /REMOVEHDAUDIO "no" /CLOSE

    %DVDFAB% /MODE %MODE% /AUDIO %AUDIO% /SRC "%%X" /DEST "%DESTDIR%%%~PX%%~nX_dvd5.%DESTTYPE%" /OUTDISC %OUTDISC%

    /REMOVEHDAUDIO "no" /CLOSE
    Hi,

    The crash is caused by "/Audio %Audio%" parameter, please remove it first, and we will fix it ASAP.

    Fulldisc does not support to select audio and subtitle. DVDFab should filter the parameter which invalid.


    Wilson
    Please post your logs the default location is:
    For DVDFab 13: C:\Users\User Name\My Documents\DVDFab\DVDFab13\Log
    For StreamFab: C:\Users\User Name\My Documents\DVDFab\StreamFab\log
    Please use attachment button and attach your most recent, Internal log and post right here.
    If it's the burning issue, please also attach burn log.

    Thanks!

    Comment


      #3
      Great, thanks!

      Comment

      Working...
      X