| |||||||
| Forum Categories |
![]() |
| | LinkBack (2) | Thread Tools | Display Modes |
| |
#1 (permalink)
|
| Retired Team Member Join Date: May 2005 Location: Germany
Posts: 689
Thanks: 0
Thanked 8 Times in 6 Posts
Country: | This is a How-To for those who want to use Comskip to cut commercials out of recordings (mpeg2). Just select the file with your remote within Media Portal you want to get rid of commercials and Comskip will do the rest. --> Please visit Comskip Forum for further information to Comskip, tips and tricks optimizing Comskip results and the latest updates. This How-To should be a work-around until there will be an integrated Plugin for Media Portal. Because Erik (the maintainer of Comskip) won't support dvr-ms files we will need to wait for a Comskip integration until MediaPortal will switch to the new record engine using ts and ps files. Until then I thought some people would find this work-around helpful, too. This Plugin uses several Open Source and Freeware programs, to detect and cut out commercials. These programs are Comskip, Comclean and Mpgtx. I put them all together in one folder and made some default settings. Let's get started: 1. Download and unzip the following file. Mirror 1: Comskip.zip 2. Open comclean.bat (in the first lines you will see this): @echo off Rem comclean.bat Version 0.0.6 Rem Adapt to your framerate times 100 (PAL=2500/NTSC=2997) set framerate=2500 Rem Adapt to where mpgtx.exe can be found set mpgtx="C:\Programme\Team MediaPortal\MediaPortal\plugins\Comskip\mpgtx.exe" - Set your framerate - Set the path of mpgtx.exe Save your settings and close comclean.bat. 3. Open MediaPortal-Setup and go to ->Plugins -> my Programs, enable and Setup My Programs. ![]() - Add Child -> create a new Directory-Browser - Launching Application: set the path to PostProcessing.bat - Startup Directory: set the path to the Comskip folder - File Directory: set the path where your recordings are stored - File-Extensions: .mpg,.mpeg It should look something like this: ![]() Close My Programs and close MediaPortal Setup by clicking OK. Note: This Plugin cannot handle dvr-ms files! I recommend to convert your recordings to Mpeg2-files! TS-files may work, but I've never tested. 5. Start Media Portal, My Programs ![]() go to Comskip, ![]() select your file, press enter and lay back. ![]() A dos prompt comes up and gives you some information what it's going on. First Comskip will detect commercials and Comclean will cut them out using Mpgtx. ![]() ![]() Once finished dos prompt will disappear and your original file will have "_original" added to the file name. A 1 hour recording took about 20 minutes to detect and cut out commercials on my machine. That's all... For me it works quit good and it's an easy way preparing my recordings before burning them to DVD. Special Thanks to Erik1958 and all developers worked on Comskip! Enjoy and have fun Ralph
__________________ MP: 0.2.3.0 latest SVN Case: Silverstone LC03 Celeron 2,4 GHz ,512MB memory, NVidia FX5200, 1x160GB, 1x250GB, 1x500GB, Asus P4P deluxe OS: Window MCE SP2 TVcard: Hauppauge PVR 350 Remote: MCE 2005 Last edited by Ralph; 2007-02-06 at 19:15.. |
| | |
| These User Thank You: |
| | #2 (permalink) |
| Retired Team Member Join Date: Sep 2004 Location: Wellington
Posts: 347
Thanks: 0
Thanked 2 Times in 1 Post
Country: | Nice work - and you can automatically create MPEG versions of your recordings (and delete the DVR-MS origional if you want to) with AutoDVRConvert. |
| | |
| | #3 (permalink) | |
| Retired Team Member Join Date: Apr 2005 Location: Stuttgart Age: 43
Posts: 971
Thanks: 16
Thanked 25 Times in 19 Posts
Country: | Quote:
__________________ Sys1: MSI Speedster 945GT A4V | T7200 | 2 GB RAM | 6x WD103FYPS | HVR4000 | Nova-T Stick | WHS, TVE3 Sys2: Gigabyte EX48DS5 | E8600 | WD740ADFD | ST31000340NS | 8 GB RAM | nVidia 8800GTS | Win 7/Win XP Sys3: AOpen i965 GTt-VFA | T7700 | 4GB RAM, | Intel G955 | Samsung HM320JI | Win XP Sys4: Zotac ION A | N330 | 4GB RAM | nVidia 9400 | OCZ 1VTX60G | Win XP Sys5: -> My System | |
| | |
| | #4 (permalink) | |
| Project Coordinator Join Date: Dec 2004 Location: 127.0.0.1 Age: 30
Posts: 9,180
Thanks: 449
Thanked 497 Times in 304 Posts
Country: | Quote:
![]() Thanks for the tutorial!!!
__________________ regards chris MediaPortal Project Coordinator Test Team Leader Do not start to moan if something is not working as you want it to be. Remember that MediaPortal is Open Source. YOU can improve it! | |
| | |
| | #5 (permalink) |
| Portal Member Join Date: Jan 2006
Posts: 100
Thanks: 2
Thanked 7 Times in 6 Posts
| Before you write to a dvd and even before you actually cut out the commercials it would be usefull to review the output of comskip. This can be done by invoking Comskip with a single parameter being the .txt file generated by a previous run of comskip analyzing an mpeg file. My suggestion would be: Convert to mpeg Run comskip to generate the .txt file describing where the commercials are. Run comskip on the generated .txt file to review/edit the cutpoints. If happy, write the new cutpoints ('W'), exit comskip and start comclean. PS I saw you made a new distribution combining comskip and comclean. No problem, but make sure someone follows my forum to ensure regular updates. |
| | |
| | #6 (permalink) | |
| Retired Team Member Join Date: Feb 2005 Location: Tulsa, OK
Posts: 2,068
Thanks: 43
Thanked 13 Times in 13 Posts
Country: | erik1958 - You said in the PS Quote:
Mike | |
| | |
| | #7 (permalink) | ||
| Retired Team Member Join Date: May 2005 Location: Germany
Posts: 689
Thanks: 0
Thanked 8 Times in 6 Posts
Country: | Quote:
it's in the 3rd line of this tutorial. Regards Ralph
__________________ MP: 0.2.3.0 latest SVN Case: Silverstone LC03 Celeron 2,4 GHz ,512MB memory, NVidia FX5200, 1x160GB, 1x250GB, 1x500GB, Asus P4P deluxe OS: Window MCE SP2 TVcard: Hauppauge PVR 350 Remote: MCE 2005 | ||
| | |
| | #8 (permalink) |
| Portal Tester | Going through the setup right now. I am downloading the file and noticed you need to put in a code and wait 45 seconds. WHO HAS THE TIME FOR THAT?!?! Here is a direct link: The File below contains Comskip .79 build 23 and and comclean 0.0.6 DIRECT LINK UPDATED COMSKIP.ZIP Also I found that you left something out. When setting up my programs a user will need to Set the start up directory. You have something in there in your screen shot but you never tell us to add it in there. I was getting errors without the comskip directory in there. Everything else looks good. I think after I run one test and I know it's working, I am going to go back in there and turn the window-style to Hidden. Nobody really wants to see a dos window!
__________________ I SEE WHAT YOU DID THERE! |
| | |
| | #9 (permalink) |
| Portal Member Join Date: Jan 2006
Posts: 100
Thanks: 2
Thanked 7 Times in 6 Posts
| The comskip.zip contains version 0.79 build 8, the newest build is at 23 Why don't you download from the source? in that way you always can find the latest version Comskip and comclean can be found at http://mk.kaashoek.com/gbpvr/ Download the latest comskip....zip and the latest comclean.....zip Current versions http://mk.kaashoek.com/gbpvr/comskip79_23.zip http://mk.kaashoek.com/gbpvr/comclean_0_0_6.zip |
| | |
| | #10 (permalink) |
| Portal Member Join Date: Jan 2006 Location: Berlin Age: 41
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Also I found that you left something out. When setting up my programs a user will need to Set the start up directory. You have something in there in your screen shot but you never tell us to add it in there. I was getting errors without the comskip directory in there. i think thats the directory, where the comskip.exe is in! cause of his definition: set mpgtx="C:\Programme\Team MediaPortal\MediaPortal\plugins\Comskip\mpgtx.exe" i will try it this evening! ![]() |
| | |
![]() |
| Bookmarks |
| Tags |
| commercials, comskip, cut, howto |
| Thread Tools | |
| Display Modes | |
| |
LinkBacks (?)
LinkBack to this Thread: http://forum.team-mediaportal.com/tips-tricks-52/how-use-comskip-cut-out-commercials-via-mediaportal-5280/ | ||||
| Posted By | For | Type | Date | |
| www.comskip.org - comskip.org | This thread | Refback | 2009-11-07 16:43 | |
| GeekTonic: Skip Commercials With a Press of a Button - HTPC How To | This thread | Refback | 2009-11-07 12:20 | |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| System requirements for HDTV with MediaPortal | Tech Geek | General | 62 | 2007-08-08 08:20 |
| PVR Scheduler: cant make it work | ethanx | Codecs, External Players | 1 | 2006-03-20 00:42 |
| Compile problems | Anonymous | General Development (no feature request here!) | 1 | 2004-04-28 22:49 |