Here's a script which will detect and remove commercials from your recordings. It will output an Mpeg2 program stream file, which you'll be able to convert/transcode/etc to your format of choice with your favorite software. Your source TS file won't be modified in any way.
The script includes features to ensure good A/V sync on the resulting Output.mpg file. This includes repairing the Source TS file before running the commercial detection. If you don't want to do it that way, modify the batch file to suit your purpose. I wouldn't recommend it, however. It is worth the extra time and temporary disk space. I wouldn't include it if it wasn't important.
This procedure works amazingly well, but it will take a fair amount of time to execute. An hour long TV program will take around an hour to process - more or less time depending on your CPU. I've included a simple "waitfor" timer which you can modify to run the script at night.
Requirements:
.NET 2.0
Lots of Temporary Disk Space
Procedure:
1) Download and unzip the following
http://www.savefile.com/files/1022186
2) Place your Transport Stream File into the same folder as the Unzipped Apps
3) Double Click the _Remove_Ads.Bat file to Run
![]()
+ Reply to Thread
Results 1 to 11 of 11
-
-
Defrag your drive frequently if you use this script. There are many files being created, erased, and created.
I like Jkdefrag , as it can be scripted and works very well. http://www.kessels.com/JkDefrag/ -
Sure. Modify the Comskip.ini to use VideoRedo
from
Code:output_videoredo=0
Code:output_videoredo=1
to cut.
I use VideoRedo, but my goal was to offer a 100% free method, and VideoRedo doesn't fit that criteria. -
True, it is not free, but for those who do this every day it is well worth the 50 bucks or whatever it is going for nowadays. I personally go through every cap and set every edit point manually since you never know how that transition was broadcast and it only takes about 5 minutes to do all editing and have a project file. You get total control and can ensure that your edit points are on I-frames, thus elimenating re-encoding's.
-
Soopafresh,
Nice script. You're right that it takes some time to process, but I like the ability to set it and go. The time to find the commercials manually and edit takes more time than simply pressing fast forward, and I record high def OTA strictly for time-shifting purposes, so this is just what I need.
Good job. -
Thanks, but wait 24 hrs so I can update this with the latest processing script. I finally figured out a method to ensure good A/V sync, hence the reason I temporarily pulled it last week.
-
Soopafresh,
You is soopasmart! I just wanna say thanks. I gave this a shot and it worked like a charm. I love the wait feature too. I could start one instance, and have the second instance wait until a set time. This is great process you have come up with.
Thanks!
Cheers -
Updated to V03 (using the much faster .91 build of Comskip)
http://www.wikiupload.com/download_page.php?id=127774
Similar Threads
-
Suitable DVRs (HDMI connection) and commercial removal
By herschm in forum Newbie / General discussionsReplies: 1Last Post: 29th Jan 2011, 15:31 -
Automatic Commercial Removal Software
By bingmel in forum EditingReplies: 26Last Post: 24th Oct 2010, 19:00 -
Adding chapters and commercial removal
By Bjs in forum User guidesReplies: 5Last Post: 9th May 2010, 17:10 -
Removal of TV logo from VOB files?
By guy24s in forum EditingReplies: 6Last Post: 16th Nov 2009, 22:25 -
Can I do this: Automated merging intro + video + exit on many files?
By stompeers in forum ffmpegX general discussionReplies: 1Last Post: 5th Nov 2009, 22:40