How I can mass remux footage

udqwbhrgwu93ryt

New Member
Hello, I am attempting to Mass-Remux about ~1.5tb of footage, so when I remux I kept it running for a few hours. When I came back, I instinctively closed OBS but when I reopened, I cannot re-remux the footage that I had closed. I don't know which footage was remuxed so I can drag in exactly what I needed as there are 560 videos. Let me know how I can deal with this.
 

udqwbhrgwu93ryt

New Member
obs cant remux.png
 

konsolenritter

Active Member
In windows file explorer just order by filetype (mkv vs. mp4) or date. You'll find the point in time where obs could get to.
Then delete (or move) the mkv files that are done already. Let obs remux the rest...
 

koala

Active Member
You can use a batch file like this to remux externally with the help of ffmpeg. Just adjust the paths (and, if necessary, the sourceext).
Code:
@echo off

rem remux every *.mkv to *.mp4 without recoding

setlocal ENABLEDELAYEDEXPANSION
set ffmpeg=C:\Program Files (x86)\ffmpeg\bin\ffmpeg.exe
set sourcedir=D:\Dateien\Allgemein\Video\Aufzeichnungen\source
set destdir=D:\Dateien\Allgemein\Video\Aufzeichnungen\dest
set sourceext=mkv
set destext=mp4
set delafter=yes

for %%f in (%sourcedir%\*.%sourceext%) do (
  set source=%%f
  set dest=%destdir%\%%~nf.%destext%
  echo source=!source! dest=!dest!
  if not exist "!dest!" (
    "%ffmpeg%" -i "!source!" -c:v copy -c:a copy -copyts "!dest!"
    if not errorlevel 1 (
      if %delafter%X==yesX del "!source!"
      echo file was converted successfully
    ) else (
      del "!dest!"
      echo error converting file
    )
  )
)
 
Top