SOLVED: http://forums.nextpvr.com/showthread.php...post450831
Attached is Scripts.7z, which has my comskip.ini, ParallelProcessing.bat, PostProcessing.bat, and support tools. I have comskip run in ParallelProcessing.bat, and PostProcessing.bat waits until the .VPrj file is created, fixes it up, then runs VideoReDo to remove commercials and create a cleaned MPG file. I will manually run transcode.bat for files I want to convert the cleaned MPG to MP4 with Handbrake, and I will manually run wipecleanmpg.bat to delete the cleaned MPG files because NextPVR doesn't delete these files (by design). It works out because you can delete the recording from NextPVR, but be left with the cleaned MPG file if you ever want to transcode and save it.
Problem statement
I have this in my PostProcessing.bat (which is also attached):
cscript //nologo "C:\Program Files (x86)\VideoReDoTVSuite4\vp.vbs" "%~dpn1.VPrj" "%~dpn1_clean.mpg" /na /q "/p:MPEG2 Transport Stream"
When PostProcessing.bat is called by NextPVR, it appears that Video ReDo is exiting without doing its work, and thus I can't take the cleaned MPG file and convert it to MP4 with Handbrake at the end of my PostProcessing.bat.
When I open a command window and run PostProcessing.bat, Video ReDo is able to do its work and thus Handbrake can convert the cleaned MPG file to MP4.
Any idea why VideoReDo is behaving differently, even though the same commands are being executed?
Attached is Scripts.7z, which has my comskip.ini, ParallelProcessing.bat, PostProcessing.bat, and support tools. I have comskip run in ParallelProcessing.bat, and PostProcessing.bat waits until the .VPrj file is created, fixes it up, then runs VideoReDo to remove commercials and create a cleaned MPG file. I will manually run transcode.bat for files I want to convert the cleaned MPG to MP4 with Handbrake, and I will manually run wipecleanmpg.bat to delete the cleaned MPG files because NextPVR doesn't delete these files (by design). It works out because you can delete the recording from NextPVR, but be left with the cleaned MPG file if you ever want to transcode and save it.
Problem statement
I have this in my PostProcessing.bat (which is also attached):
cscript //nologo "C:\Program Files (x86)\VideoReDoTVSuite4\vp.vbs" "%~dpn1.VPrj" "%~dpn1_clean.mpg" /na /q "/p:MPEG2 Transport Stream"
When PostProcessing.bat is called by NextPVR, it appears that Video ReDo is exiting without doing its work, and thus I can't take the cleaned MPG file and convert it to MP4 with Handbrake at the end of my PostProcessing.bat.
When I open a command window and run PostProcessing.bat, Video ReDo is able to do its work and thus Handbrake can convert the cleaned MPG file to MP4.
Any idea why VideoReDo is behaving differently, even though the same commands are being executed?
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]