I am recording TV shows as .ts and want to cut out commercials (my HTPC app Meedio does not support .edl files). The filename should remain the same as the actual ARGUS TV recording.
After using some other software for video cutting that did not give good results (mendocer) I decided to spend some $$$ and buy videoredo (i might have tried a bit harder with mencoder but it was quite frustrating :-) (http://www.videoredo.com)
anyway, here is the batch file that you can use in ARGUS TV post processing. and make sure you add output_videoredo=1 to your comskip.ini file.
warning, this batch file replaces the original file with the "clean" file. If the clean file is not produced to your liking, the original cannot be restored. try this out with an episode from McLeod's daughters or something before you actually start post processing. alternatively, you can remove the lines with del and move.
to test, just drag and drop a .ts file on this batch file.
Code: Select all
@echo off
REM Comskip and VideoRedo
REM replace the comskip and videoredo path in the file below
REM ********************************************************
if EXIST "%~dpn1.VPrj" goto cutting
:comskip
echo no VPrj file exists yet, let's run comskip
"c:\program files\comskip\comskip.exe" "%~dpn1.ts"
if NOT EXIST "%~dpn1.VPrj" goto comskipfail
:cutting
echo Comskip succeeded, will now start videoredo
cscript //nologo "C:\Program Files\VideoRedo\vp.vbs" "%~dpn1.VPrj" "%~dpn1_clean.ts" /t4 /d /e
if NOT EXIST "%~dpn1_clean.ts" goto cuttingfail
:success
echo Removing commercials was succesful!
del "%~dpn1.ts"
move "%~dpn1_clean.ts" "%~dpn1.ts"
goto eof
:comskipfail
echo ComSkip did not create a .VPrj file. Check ComSkip location and .ini file.
goto eof
:cuttingfail
echo VideoRedo did not return a clean video file. Check VideoRedo location.
goto eof
:eof
REM pause