NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
« Previous 1 … 6 7 8 9 10 … 125 Next »
How to use VideoReDo to AUTOMATICALLY remove commercials

 
  • 0 Vote(s) - 0 Average
How to use VideoReDo to AUTOMATICALLY remove commercials
ViperDragon
Offline

Member

Posts: 139
Threads: 22
Joined: Apr 2005
#11
2006-01-24, 06:32 AM
I am going to attempt this. I have everything setup as directed. Do I need to check off "use comskip" setting in GBPVR config? So this will edit commercials after something is recorded, processing it then? Thanks for the help!

ViperDragon
dgeezer
Offline

Senior Member

Posts: 324
Threads: 9
Joined: Feb 2005
#12
2006-01-24, 11:40 AM
No, you shouldn't, since the line that you remove the REM from will run comskip. As a matter of fact I need to go in to my config and uncheck comskip so that it won't be running twice.

BTW, Thanks reboot, so far, after three tests this seems to work exceptionally well.
Server: Windows 10 - ASrock N3150DC -ITX Fanless Celeron
Clients: Shield TV with X-newa on Kodi, Asus chromebox - openelec - X-newa on Kodi
ViperDragon
Offline

Member

Posts: 139
Threads: 22
Joined: Apr 2005
#13
2006-01-27, 05:11 AM
I setup everything as stated but I am not getting another MPG file with the commercials cut out. Comskip is putting the breaks in correctly but all I have is the *_original.mpg file (with the comskip breaks). I put the output_videoredo=1 in my comskip.ini file. Does it have to be a special spot in the INI file? Here's what my postprocessing.bat file has:

REM Using VideoRedo to Auto Remove Commercials
REM If you use Showanalyzer, unREM the next line
REM "C:\Program Files\Dragon Global\ShowAnalyzer\ShowAnalyzer.exe" %1
REM If you use comskip, unREM the next line
"C:\Program Files\devnz\gbpvr\comskip.exe" %1
cscript //nologo "C:\Program Files\VideoReDoPlus\vp.vbs" "%~dpn1.VPrj" "%~dpn1_Cleaned.mpg" /t1 /q
Rem RENAME the old .mpg file and rename the new one to the old name
move "%~dpn1.mpg" "%~dpn1_original.mpg"
move "%~dpn1_cleaned.mpg" "%~dpn1.mpg"
RenameRecordings %1 > renamerecordings.log

Do you have to use both SA and comskip or one or the other. I saw SickBoy's postprocessing.bat with the comskip.ini line inserted there. What's that do? I tried to run the lines from command prompt after a show was recorded and postprocessing removed but it says it can't find the video file?! I setup SA to output the file and have the vbs file in VideoRedoPlus dir. Any suggestions? Thanks!

ViperDragon
ViperDragon
Offline

Member

Posts: 139
Threads: 22
Joined: Apr 2005
#14
2006-01-27, 06:51 AM
I tried the postprocessing.bat of SickBoy's and now there is a VPrj file in my video recorded dir that's 76 bytes in length. Inside it says:

<Version>2
<Filename>D:\Video\South Park\South Park_20060126_22302300.mpg

There is a comskip log file, comskip txt file, and the *_original.mpg file but no additional mpg file.
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#15
2006-01-27, 07:03 AM
Did you read the wiki on comclean ?
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#16
2006-01-27, 08:42 PM
@ Viperdragon, try this:

Double check the spelling in comskip.ini thus: output_videoredo=1
UNcheck comskip in gbpvr config.
Put the following into "parallelprocessing.bat"
Code:
"C:\Program Files\devnz\gbpvr\comskip.exe" %1
Put the following in "postprocessing.bat"
Code:
cscript //nologo "C:\Program Files\VideoReDoPlus\vp.vbs" "%~dpn1.VPrj" "%~dpn1_Cleaned.mpg" /t1 /q
Rem RENAME the old .mpg file and rename the new one to the old name
move "%~dpn1.mpg" "%~dpn1_original.mpg"
move "%~dpn1_cleaned.mpg" "%~dpn1.mpg"
If you also are using renamerecording or renamerecordings, then add the following (remove the "s" if necessary):
Code:
RenameRecordings %1 > renamerecordings.log
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
ViperDragon
Offline

Member

Posts: 139
Threads: 22
Joined: Apr 2005
#17
2006-01-28, 12:19 AM
Yeah and I tried comclean but my video/audio is out of sync so I am just trying different things.

Thanks Reboot, I'll set it up this way when I get home.
dgeezer
Offline

Senior Member

Posts: 324
Threads: 9
Joined: Feb 2005
#18
2006-01-30, 10:29 AM (This post was last modified: 2006-02-11, 08:57 AM by dgeezer.)
I created a folder on my recordings drive called originals. In my case actually "G:\videos\originals" but you would need to change this to reflect your situation.

Then I modified the postprocessing.bat by adding 5 more move commands:

REM If you use Showanalyzer, unREM the next line
REM "C:\Program Files\Dragon Global\ShowAnalyzer\ShowAnalyzer.exe" %1
REM If you use comskip, unREM the next line
"C:\Program Files\devnz\gbpvr\comskip.exe" %1
cscript //nologo "C:\Program Files\VideoReDoPlus\vp.vbs" "%~dpn1.VPrj" "%~dpn1_Cleaned.mpg" /t1 /q
Rem RENAME the old .mpg file and rename the new one to the old name
move "%~dpn1.mpg" "%~dpn1_original.mpg"
move "%~dpn1_cleaned.mpg" "%~dpn1.mpg"
REM The following lines cleanup the directory.
move "%~dpn1_original.mpg" "G:\videos\originals\"
move "%~dpn1.txt" "G:\videos\originals\"
move "%~dpn1.log" "G:\videos\originals\"
move "%~dpn1.VPrj" "G:\videos\originals\"
move "%~dpn1.logo.txt" "G:\videos\originals\"
REM RenameRecordings %1 > renamerecordings.log

This cleans up my directory where the videos are saved and gives me a convenient single stop to delete the originals once I see that the cuts are correct.
Server: Windows 10 - ASrock N3150DC -ITX Fanless Celeron
Clients: Shield TV with X-newa on Kodi, Asus chromebox - openelec - X-newa on Kodi
pcostanza
Offline

Posting Freak

Posts: 3,778
Threads: 270
Joined: Oct 2004
#19
2006-01-31, 04:05 AM
dgeezer, I like your idea and am trying your suggestion....maybe I just don't understand what I should end up with. I end up with 3 files in my 'originals' folder. 2 text and 1 mpg file but where is my file with the commercials cut out? Please take a look and see where I went wrong. I've adjusted the directory to D: since I have both GBPVR and Videoredo on my D partition.
Thanks...this is pretty much over my head at this point.

REM If you use Showanalyzer, unREM the next line
REM "C:\Program Files\Dragon Global\ShowAnalyzer\ShowAnalyzer.exe" %1
REM If you use comskip, unREM the next line
"D:\Program Files\devnz\gbpvr\comskip.exe" %1
cscript //nologo "D:\Program Files\VideoReDoPlus\vp.vbs" "%~dpn1.VPrj" "%~dpn1_Cleaned.mpg" /t1 /q
Rem RENAME the old .mpg file and rename the new one to the old name
move "%~dpn1.mpg" "%~dpn1_original.mpg"
move "%~dpn1_cleaned.mpg" "%~dpn1.mpg"
REM The following lines cleanup the directory.
move "%~dpn1_original.mpg" "G:\videos\originals"
move "%~dpn1.txt" "G:\videos\originals"
move "%~dpn1.log" "G:\videos\originals"
move "%~dpn1.VPrj" "G:\videos\originals"
move "%~dpn1.logo.txt" "G:\videos\originals"
REM RenameRecordings %1 > renamerecordings.log



dgeezer Wrote:I created a folder on my recordings drive called originals. In my case actually "G:\videos\originals" but you would need to change this to reflect your situation.

Then I modified the postprocessing.bat by adding 5 more move commands:

REM If you use Showanalyzer, unREM the next line
REM "C:\Program Files\Dragon Global\ShowAnalyzer\ShowAnalyzer.exe" %1
REM If you use comskip, unREM the next line
"C:\Program Files\devnz\gbpvr\comskip.exe" %1
cscript //nologo "C:\Program Files\VideoReDoPlus\vp.vbs" "%~dpn1.VPrj" "%~dpn1_Cleaned.mpg" /t1 /q
Rem RENAME the old .mpg file and rename the new one to the old name
move "%~dpn1.mpg" "%~dpn1_original.mpg"
move "%~dpn1_cleaned.mpg" "%~dpn1.mpg"
REM The following lines cleanup the directory.
move "%~dpn1_original.mpg" "G:\videos\originals"
move "%~dpn1.txt" "G:\videos\originals"
move "%~dpn1.log" "G:\videos\originals"
move "%~dpn1.VPrj" "G:\videos\originals"
move "%~dpn1.logo.txt" "G:\videos\originals"
REM RenameRecordings %1 > renamerecordings.log

This cleans up my directory where the videos are saved and gives me a convenient single stop to delete the originals once I see that the cuts are correct.
dgeezer
Offline

Senior Member

Posts: 324
Threads: 9
Joined: Feb 2005
#20
2006-01-31, 10:54 AM
I hope I can help. This is almost over my head and I wrote it....... Maybe I should stick to driving nails.

Reboots script renames the original uncut file to "Brady_Bunch20060201_0800_original.mpg" and then renames the cleaned file to the file name that was generated when the recording was made ie. "Brady_Bunch20060201_0800.mpg"

The cut (cleaned) file should be in the folder where it started and it should now be named the same as the file you started with, but the file size should be significantly smaller. This name change is needed to let the GBPVR database track your file properly.

The originals folder now contains the original recording (uncut) and the text files generated by comskip which are no longer needed. It should have also moved the VPrj file that was created by comskip.
Server: Windows 10 - ASrock N3150DC -ITX Fanless Celeron
Clients: Shield TV with X-newa on Kodi, Asus chromebox - openelec - X-newa on Kodi
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (7): « Previous 1 2 3 4 5 … 7 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  How do I get SHowanalyzer to run automatically from the postprocessing linfor 2 1,541 2007-12-21, 08:05 PM
Last Post: linfor
  Semi-Automatic commercial removal with VideoRedo dgeezer 9 6,380 2007-12-21, 03:19 PM
Last Post: dgeezer
  Existing mpeg files with commercials bimmer16 7 2,411 2007-11-07, 08:51 AM
Last Post: zehd
  Blue Skin - completely remove preview screen Taajuus 2 1,644 2007-05-21, 10:48 AM
Last Post: Taajuus
  xrecord shows all channels in guide, can't remove channels from list Wakalaka 1 1,261 2007-03-01, 01:38 AM
Last Post: Wakalaka
  XRecord, Reoccuring, and crash when remove a schedule Wakalaka 3 1,689 2007-02-28, 01:04 AM
Last Post: fla
  comclean deleting file after it removes commercials. ram4x4nut 12 4,164 2006-10-06, 04:00 AM
Last Post: zehd
  Comskip won't run automatically. decon1313 21 5,590 2006-08-29, 02:45 AM
Last Post: decon1313
  I-xmltv: TV GuideSupercharger & Zap2It EPG remove channels swfx 6 2,460 2006-08-24, 08:03 PM
Last Post: Jim_
  comskip doesnt find commercials fldavem 1 1,459 2006-06-26, 09:22 PM
Last Post: erik

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode