Extract chapter XML files for all MKVs:
for /r %i in (*.mkv) do (mkvextract "%i" chapters "%~ni".xml)
Remove all chapters from MKVs:
for /r %i in (*.mkv) do (mkvpropedit "%i" --chapters "")
| Exact Audio Copy V1.6 from 23. October 2020 | |
| EAC extraction logfile from 4. July 2022, 15:56 | |
| Unknown Artist / Unknown Title | |
| Used drive : ASUS BW-XXXX-X Adapter: 1 ID: 0 | |
| Read mode : Secure | |
| Utilize accurate stream : Yes |
| for /r %i in (*.mkv) do (ffmpeg -i "%i" -vf "fps=12,setpts=0.25*PTS,scale=720:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 %~ni.gif) |
| REM ---------------------------------------------------------------------------------------------------------- | |
| REM ### Apps and app suggestions | |
| REM ---------------------------------------------------------------------------------------------------------- | |
| REM TITLE: Turn Off Automatic Installation of Suggested Apps in Windows 10 | |
| REM LINK: https://www.tenforums.com/tutorials/68217-turn-off-automatic-installation-suggested-apps-windows-10-a.html | |
| REM OPTIONS: 0x00000001=On, 0x00000000=Off | |
| REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V "SilentInstalledAppsEnabled" /T "REG_DWORD" /D "0x00000000" /F 1>NUL 2>&1 | |
| REM TITLE: Turn Off Suggested Content Settings App Windows 10 Turn Off Suggested Content In Settings |
| @echo off | |
| FOR %%A IN (*.mkv) DO ( | |
| echo %%~nxA | |
| FOR /F %%I IN ('mkvmerge -i "%%A" ^| FIND /C "SubRip"') DO (IF %%I GTR 0 (echo SRT found in file) & (subtitleedit /convert "%%A" SubRip) else (echo SRT not found in file)) | |
| echo.&echo. | |
| FOR /F %%I IN ('mkvmerge -i "%%A" ^| FIND /C "SubStationAlpha"') DO (IF %%I GTR 0 (echo ASS found in file) & (subtitleedit /convert "%%A" SubStationAlpha) else (echo ASS not found in file)) | |
| echo.&echo. | |
| FOR /F %%I IN ('mkvmerge -i "%%A" ^| FIND /C "VobSub"') DO (IF %%I GTR 0 (echo. &echo. &echo. &echo. & echo VobSub - SUB/IDX found in file. You should use SubtitleEdit to convert the subtitles to a text-based format such as SRT) else (echo VobSub not found in file)) | |
| echo.&echo. |
| ffprobe -loglevel error -select_streams s -show_entries stream=codec_name,index:stream_tags=language -of csv=p=0 %input% |
| Get-Childitem -Recurse | where { -not $_.PSIsContainer } | group Extension -NoElement | sort count -desc |
ffmpeg -i input.vtt -f srt output.srt