2008-01-30, 04:55 AM
Hi All,
I have just started to convert dvr-ms recordings to xvid .avi recordings using the following postprocessing.bat code ..
@echo off
"C:\Program Files\Dragon Global\ShowAnalyzer\ShowAnalyzer.exe" %1
cscript //nologo "C:\Program Files\VideoReDoTVSuite\vp.vbs" "%~dpn1.VPrj" "%~dpn1_Cleaned.mpg" /t1 /q
del /Q "%~dpn1.dvr-ms"
move "%~dpn1_cleaned.mpg" "%~dpn1.mpg"
ffmpeg -i "%~dpn1.mpg" -vcodec xvid -target svcd "%~dpn1.avi"
del /Q "%~dpn1.mpg"
del /Q "%~dpn1.txt"
del /Q "%~dpn1.vprj"
which works really well however sometimes there is a 30 minute or so lag where the recordings db will obviously still list the old dvr-ms file instead of the newly transcoded .avi file which shares the same name prefix as the original albeit with the .avi extension in preference to .dvr-ms
Is there a way to call something from postprocess.bat to update the filename in the db immediately following the transcode? .. I tried the rename recording
utility but it quit with "no espisode info found" and did not update the database.
Many thanks in advance.
Dozer.
I have just started to convert dvr-ms recordings to xvid .avi recordings using the following postprocessing.bat code ..
@echo off
"C:\Program Files\Dragon Global\ShowAnalyzer\ShowAnalyzer.exe" %1
cscript //nologo "C:\Program Files\VideoReDoTVSuite\vp.vbs" "%~dpn1.VPrj" "%~dpn1_Cleaned.mpg" /t1 /q
del /Q "%~dpn1.dvr-ms"
move "%~dpn1_cleaned.mpg" "%~dpn1.mpg"
ffmpeg -i "%~dpn1.mpg" -vcodec xvid -target svcd "%~dpn1.avi"
del /Q "%~dpn1.mpg"
del /Q "%~dpn1.txt"
del /Q "%~dpn1.vprj"
which works really well however sometimes there is a 30 minute or so lag where the recordings db will obviously still list the old dvr-ms file instead of the newly transcoded .avi file which shares the same name prefix as the original albeit with the .avi extension in preference to .dvr-ms
Is there a way to call something from postprocess.bat to update the filename in the db immediately following the transcode? .. I tried the rename recording
utility but it quit with "no espisode info found" and did not update the database.
Many thanks in advance.
Dozer.