Sla onderstaande code op als een .cmd bestand in de directory van AVI-Mux GUI
Hierna kan je de mkv die niet werkt erop droppen en wordt hij gefixed :-)
Als je een snelkoppeling hiervan op de desktop plaatst werkt het iets makkeijker, hoef je niet iedere keer die AVI-Mux GUI directory te openen.
Code (php):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
@echo off CLS TITLE Fix: %~nx1 ECHO Fixing: %~nx1
SET AMGFILE="%~d1%~p1%~n1.amg" SET PREFIX=FIXED_
ECHO CLEAR > %AMGFILE% ECHO LANGUAGE English >> %AMGFILE% ECHO SET INPUT OPTIONS >> %AMGFILE% ECHO WITH SET OPTION >> %AMGFILE% ECHO UNBUFFERED 1 >> %AMGFILE% ECHO OVERLAPPED 1 >> %AMGFILE% ECHO ADD_IMMED 0 >> %AMGFILE% ECHO AVI FORCE MP3VBR 0 >> %AMGFILE% ECHO END WITH >> %AMGFILE% ECHO LOAD %~d1%~p1%~nx1>> %AMGFILE% ECHO WITH SET OPTION >> %AMGFILE% ECHO FILEORDER 1 0 >> %AMGFILE% ECHO ADD_IMMED 1 >> %AMGFILE% ECHO USE CACHE 1 >> %AMGFILE% ECHO AVI FORCE MP3VBR 0 >> %AMGFILE% ECHO MP3 VERIFY CBR ASK >> %AMGFILE% ECHO MP3 VERIFY RESDLG 0 >> %AMGFILE% ECHO M2F2 CRC 0 >> %AMGFILE% ECHO AVI FIXDX50 0 >> %AMGFILE% ECHO AVI IGNLCHUNKS OFF >> %AMGFILE% ECHO AVI TRY2FIXLCHUNKS 0 >> %AMGFILE% ECHO WITH CHAPTERS >> %AMGFILE% ECHO IMPORT 1 >> %AMGFILE% ECHO FROMFILENAMES 0 >> %AMGFILE% ECHO END WITH >> %AMGFILE% ECHO END WITH >> %AMGFILE% ECHO DESELECT FILE 0 >> %AMGFILE% ECHO SELECT FILE 1 >> %AMGFILE% ECHO ADD MMSOURCE >> %AMGFILE% ECHO DESELECT FILE 0 >> %AMGFILE% ECHO SET OUTPUT OPTIONS >> %AMGFILE% ECHO WITH SET OPTION >> %AMGFILE% ECHO UNBUFFERED 1 >> %AMGFILE% ECHO THREAD 1 >> %AMGFILE% ECHO LOGFILE 0 >> %AMGFILE% ECHO STDOUTPUTFMT MKV >> %AMGFILE% ECHO END WITH >> %AMGFILE% ECHO DESELECT AUDIO 0 >> %AMGFILE% ECHO SELECT AUDIO 1 >> %AMGFILE% ECHO DESELECT SUBTITLE 0 >> %AMGFILE% ECHO WITH SET OPTION >> %AMGFILE% ECHO NO AUDIO 0 >> %AMGFILE% ECHO ALL AUDIO 1 >> %AMGFILE% ECHO NO SUBTITLES 0 >> %AMGFILE% ECHO ALL SUBTITLES 1 >> %AMGFILE% ECHO OPENDML 1 >> %AMGFILE% ECHO LEGACY 1 >> %AMGFILE% ECHO RECLISTS 1 >> %AMGFILE% ECHO FRAMES 0 >> %AMGFILE% ECHO PRELOAD 200 >> %AMGFILE% ECHO MP3 CBR FRAMEMODE 0 >> %AMGFILE% ECHO MAXFILESIZE OFF >> %AMGFILE% ECHO AVI AC3FPC 2 >> %AMGFILE% ECHO AVI MP3FPC 1 >> %AMGFILE% ECHO AVI DTSFPC 2 >> %AMGFILE% ECHO AVI ADDJUNKBEFOREHEADERS 0 >> %AMGFILE% ECHO OGG PAGESIZE 65025 >> %AMGFILE% ECHO AVI RIFFAVISIZE 1 >> %AMGFILE% ECHO AVI HAALIMODE 0 >> %AMGFILE% ECHO OVERLAPPED 0 >> %AMGFILE% ECHO MAXFILESIZE 2030 >> %AMGFILE% ECHO MAXFILES OFF >> %AMGFILE% ECHO NUMBERING OFF >> %AMGFILE% ECHO NUMBERING $Name ($Nbr) >> %AMGFILE% ECHO AUDIO INTERLEAVE 100 KB >> %AMGFILE% ECHO SPLIT POINTS OFF >> %AMGFILE% ECHO STDIDX AUTO >> %AMGFILE% ECHO PRLAC BYTE >> %AMGFILE% ECHO TITLE %~n1>> %AMGFILE% ECHO END WITH >> %AMGFILE% ECHO WITH SET OPTION MKV >> %AMGFILE% ECHO LACE 3 >> %AMGFILE% ECHO LACESIZE general 1 500 >> %AMGFILE% ECHO LACESIZE mp3 1 500 >> %AMGFILE% ECHO LACESIZE ac3 1 200 >> %AMGFILE% ECHO LACESIZE dts 1 100 >> %AMGFILE% ECHO LACESIZE aac 1 200 >> %AMGFILE% ECHO LACESIZE vorbis 1 50 >> %AMGFILE% ECHO CLUSTERSIZE 512 >> %AMGFILE% ECHO CLUSTERTIME 30000 >> %AMGFILE% ECHO CLUSTERINDEX 0 >> %AMGFILE% ECHO HARDLINKING 0 >> %AMGFILE% ECHO NONCLUSTERINDEXMODE 1 >> %AMGFILE% ECHO HEADERSIZE 0 >> %AMGFILE% ECHO HEADERSTRIPPING 0 >> %AMGFILE% ECHO USE_A_AAC 0 >> %AMGFILE% ECHO PREVCLUSTERSIZE 1 >> %AMGFILE% ECHO CLUSTERPOSITION 1 >> %AMGFILE% ECHO LIMIT1STCLUSTER 1 >> %AMGFILE% ECHO DISPWH 1 >> %AMGFILE% ECHO CUES 1 >> %AMGFILE% ECHO CUES VIDEO 1 >> %AMGFILE% ECHO CUES AUDIO 1 >> %AMGFILE% ECHO CUES SUBS 1 >> %AMGFILE% ECHO CUES AUTOSIZE 1 >> %AMGFILE% ECHO CUES MINIMUMINTERVAL 2000 >> %AMGFILE% ECHO CUES SIZERATIO 20 >> %AMGFILE% ECHO CUES TARGETSIZERATIO 980 >> %AMGFILE% ECHO CUES WRITEBLOCKNUMBER 1 >> %AMGFILE% ECHO CUES AUDIO ONLY_AUDIO_ONLY 0 >> %AMGFILE% ECHO TIMECODESCALE MKA 10000 >> %AMGFILE% ECHO TIMECODESCALE MKV 500000 >> %AMGFILE% ECHO FORCE_V1 1 >> %AMGFILE% ECHO FORCE_V2 0 >> %AMGFILE% ECHO FLOAT_WIDTH 32 >> %AMGFILE% ECHO RANDOMIZE_ORDER 1 >> %AMGFILE% ECHO 2ND_COPY_OF_TRACKS 1 >> %AMGFILE% ECHO END WITH >> %AMGFILE% ECHO SET OPTION CHAPTERS CLEAR >> %AMGFILE% ECHO SET OPTION OVERWRITEDLG 0 >> %AMGFILE% ECHO SET OPTION DONEDLG 0 >> %AMGFILE% ECHO SET OPTION CLOSEAPP 1 >> %AMGFILE% ECHO START %~d1%~p1%PREFIX%%~nx1>> %AMGFILE%
@"%~dp0AVIMux_GUI.exe" %AMGFILE%
|
Tjiet wijzigde dit bericht op 06-08-2010 om 18:39, totaal 7 keer bewerkt