SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-29-2010, 01:37 PM
Richdem Richdem is offline
Sage User
 
Join Date: Jan 2010
Location: Barrie, Ontario
Posts: 6
Best way to remove commercials after running ComSkip

Hi All,

I have just entered into the world of recording TV on my PC and so far have been very pleased. I am now using SageTV with Comskip. Everything works well and the commercials are detected correctly. My question is that I only use my PC for the recording of the show, I actually watch the recordings by streaming the files to either my PS3 in the living room or a 2nd PC upstairs, but doing this I am unable to skip the commercials. What is the best way to remove the commercials after comskip has run leaving just a recording without any commercials? If possible it would be nice to do this automatically after comskip has done it's work.

Many thanks in advance

Richard
Reply With Quote
  #2  
Old 01-29-2010, 03:04 PM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
IMO, comskipping is not accurate enough. You may end up with a file missing more than just the commercials. Plus, you’re adding overhead/complexity. Regardless, it is possible. SJQ would probably be a good starting point. Also, EP’s mediashrink can create a mkv sans commercials. Then there is always the old fashioned but far more accurate videoredo.
Reply With Quote
  #3  
Old 01-29-2010, 03:17 PM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
I did this for awhile, but it was never rock-solid reliable. By that I mean the actual "snipping" of commercials wasn't reliable, much less the detction.

Regardless, videoredo was the only way I could get it to run. I ran a little script which invoked videoredo after the .edl file was created. I used SJQ to orchestrate it all.

when it worked, it worked well. However, I'd go three nights in a row with it fine, then the forth night, videoredo would hang endlessly.
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #4  
Old 01-29-2010, 03:22 PM
Richdem Richdem is offline
Sage User
 
Join Date: Jan 2010
Location: Barrie, Ontario
Posts: 6
Hi,

Thanks for the reply, I did donload a trial of videoredo but when I save the video after removing the commercials it only proccesses about 20 minutes of an hour long show, I have tried this several times and it happens each time.

Do you have much experience with this software?

Regards

Richard
Reply With Quote
  #5  
Old 01-29-2010, 03:41 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Dvrms toolbox will do it and what I use.
Reply With Quote
  #6  
Old 01-29-2010, 03:41 PM
bits bits is offline
Sage Aficionado
 
Join Date: Dec 2005
Location: USA
Posts: 398
Quote:
Originally Posted by Richdem View Post
Hi,

Thanks for the reply, I did donload a trial of videoredo but when I save the video after removing the commercials it only proccesses about 20 minutes of an hour long show, I have tried this several times and it happens each time.

Do you have much experience with this software?

Regards

Richard
I think the trial version is only good for 15mins but I believe you can request a trial key that will allow you to process entire shows.

I have used VRD for the last 6 years to cut thousands of commercials. I have tried all of the commercial detection software and overall I prefer comskip. As others have said none of them are perfect especially across a wide range of show types and channels. I use a semi-automatic method. Dirmon2 starts comskip finding commercials once the file is done recording. I then use VRD to manually confirm the start and end of each commercial segment which takes about 15-25secs per recorded show. VRD then batch processes the commercial free shows to wherever I have specified on my network.

Since switching from BTV and getting the HD200 I am doing a lot less actual commercial cutting because the comskip stvi works well enough for most of the watch and delete recordings. Stuff that we want to archive for a while will have the commercials removed per the process I detailed above.

Videoredo is the best software I have purchased and I highly recommend it.
Reply With Quote
  #7  
Old 01-29-2010, 05:50 PM
belleboyd's Avatar
belleboyd belleboyd is offline
Sage Advanced User
 
Join Date: Sep 2006
Posts: 106
In my setup - Commercial cut points are created by Comskip and Comskip monitor. I use Video Redo - along with Bob Phoenix VideoEdit plugin to visually check the cutpoints before cutting. You can tweak the cut points and pass the vprj to video redo and also to the Sage compression menus with a couple clicks.
Reply With Quote
  #8  
Old 01-30-2010, 09:41 AM
Richdem Richdem is offline
Sage User
 
Join Date: Jan 2010
Location: Barrie, Ontario
Posts: 6
Thanks for all your help guys, I have now got videoredo working properly and so far looks very good, I can import a project written by comskip or just load a recorded TV show and remove the commercials that way. I have even got very nice results converting the newly created mpeg without commercials to DivX with DVDFab which is an excellent piece of software so at the moment I am one happy bunny

I guess my next challenge is after a show has been recorded would it be possible to automatically remove the commercials with videoredo then convert to divX with DVDFab without any involvement on my part? I am assuming some sort of script would be involved but I have no idea how to begin doing this.

If this is at all possible I would love to hear from anyone who may be able yo help me.

Many Thanks

Richard
Reply With Quote
  #9  
Old 01-30-2010, 10:07 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Yes, and it isn't that tough.. but it IS risky (ComSkip DOES miss things occasionally, and you might end up losing part of the show if you don't check it first). Personally, I don't see much point in going through all that, when sage can auto-skip the commercials anyways.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #10  
Old 01-31-2010, 01:34 PM
Richdem Richdem is offline
Sage User
 
Join Date: Jan 2010
Location: Barrie, Ontario
Posts: 6
Hi Fuzzy,

I agree SagetV does work well when it comes to skipping the commercials but my pc is in my office, I just use it to record the shows then I use it as a media server as I stream to my PS3 or another pc upstairs. Because I do not use SageTV to view the recordings I cannot skip the commercials without first running them through something like videoredo. I am going to do some tests to see how accurate comskip is, then I will just load the recording straight into videoredo rather than importing the project file created by comskip.

Do you know how I would begin to create an automatic process for processing the recording with videoredo. I would like to see if I can end up with a commercial free recording without any manual intervention.

Thanks again

Richard
Reply With Quote
  #11  
Old 01-31-2010, 03:14 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
As mentioned previously, (I think), you should be able to queue up the jobs in SJQ (Sage Job Queue). I don't know anything about VideoRedo, and whether it can be run completely from the command line, but I'm pretty sure others ahve done this, so it should be possible. Read through the SJQ documentation and you'll get an idea for how to set it up.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #12  
Old 01-31-2010, 05:11 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by Richdem View Post
Hi Fuzzy,

I agree SagetV does work well when it comes to skipping the commercials but my pc is in my office, I just use it to record the shows then I use it as a media server as I stream to my PS3 or another pc upstairs. Because I do not use SageTV to view the recordings I cannot skip the commercials without first running them through something like videoredo. I am going to do some tests to see how accurate comskip is, then I will just load the recording straight into videoredo rather than importing the project file created by comskip.

Do you know how I would begin to create an automatic process for processing the recording with videoredo. I would like to see if I can end up with a commercial free recording without any manual intervention.

Thanks again

Richard

here is the batch job. It will create a cut.mpg along side the original. You cans set this up on SJQ you can use the SJQ relink if you want to replace the original. You can also drag and drop.

Code:
if not exist "%~d1%~p1%~n1.vprj" exit 1
set videoredo_path=c:\program files\videoredoPlus\
START /B /W /MIN /low cscript.exe //nologo "%videoredo_path%vp.vbs" "%~d1%~p1%~n1.vprj" "%~d1%~p1%~n1.cut.mpg" /t1 /d /q

Relink
Code:
//Relink Cut
if [IsObjMediaFile == true && FileExists == "%d%/%p%.cut.mpg" && Filename =$ ".mpg" && Filename !* ".cut" && $.IsTVFile{} == "true"] {
   :RELINKOPTS "$.GetAiringID{}" "%d%/%p%.cut.mpg"
    :PRIORITY 998
   _RELINK
}
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 01-31-2010 at 05:22 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Comskip with sagemc - didnt remove the commercials? sfag SageMC Custom Interface 1 01-13-2009 08:08 AM
Comskip not running SageGk SageMC Custom Interface 9 11-16-2008 06:24 PM
Uninstall or remove comskip tsitalon1 SageMC Custom Interface 1 11-04-2008 04:05 PM
How To Remove Commercials joe123 SageTV Customizations 9 03-26-2007 11:17 AM
VideoRedo in Batch Mode to Remove Commercials joe123 SageTV Customizations 3 03-21-2007 05:55 AM


All times are GMT -6. The time now is 03:24 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.