Batch Erstellung von D2V & AVS

  • ich bin auf der suche nach einer einfachen möglichkeit aus sehr vielen DVB-S Capures (*.m2v) jeweils immer eine D2V-Datei zu erstellen.

    Etwas ähnliches suche ich dann auch für die Script Erstellenung, so das ich nicht für jede Datei manuel ein Script erstellen muss.

  • die D2V wird ja vom DGIndex erstellt. (siehe Commanline Options)
    und die AVS kannst Du ja von DGIndex durch ein Template erstellen lassen.

    Jetzt kommt nur noch drauf an, was Du im AVS haben willst. Und darin kann man ja auch große Wenn ODER verschachtelungen bauen, wenn man den alles reindrücken will.

  • oh, wie immer passt auch hier wieder :rtfm: :D

    Die Template Option ist schon mal ein Teil zum Glück.

    Zitat

    DGIndex can automatically generate an Avisynth script for serving your project.

    Copy the following file to the same directory where DGIndex is located, and call it "template.avs". Then edit it to replace the D2V file name with __vid__ (that's two underscores before "vid" and two after). It should then look like this:

    mpeg2source("__vid__",cpu=6)

    After performing a Save Project operation, DGIndex uses this file as a template and inserts the right file name whenever it sees __vid__.

    DGIndex creates the AVS script file only if it does not already exist. The script file is created in the same directory as the d2v file...


    ____
    So das erstellen der Batch Datei hat sich hoffetnlich auch erledigt.

    Code
    FOR %%a in (D:\DG\*.m2v)
    do C:\Programme\Video\DG\DGindex
    -IF=[%%a] -IA=6 -YR=1 -OM=0 -OF=[%%a] -EXIT -HIDE

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!