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) GB-PVR Support (legacy) v
« Previous 1 … 563 564 565 566 567 … 1231 Next »
Comskip Help

 
  • 0 Vote(s) - 0 Average
Comskip Help
dgroover
Offline

Junior Member

Posts: 6
Threads: 2
Joined: Mar 2007
#1
2007-04-09, 12:11 PM
I have been searching the forums and reading all about batch files and I still cannot get comskip to work. Here is what I am trying to do. I record a show from an ATSC tuner and GB-PVR saves it in DVR-MS format. I am trying to use a postprocessing.bat file to process the media file to mark the commercials. I know that comskip wants a file name and channel number in order to process. Where does comskip get the file name and channel number from? Is it from a log file? I would like to see some examples of batch files if I could. I read in another thread something about using a .edl file for ATSC recording when using comskip. How does this work with comskip? Any help would be appreciated.
smeghead
Offline

Senior Member

Posts: 300
Threads: 23
Joined: Jan 2005
#2
2007-04-09, 12:34 PM
The filename is passed in as parameter %1 to the batch file, see here for more info:
http://gbpvr.com/pmwiki/pmwiki.php/Tips/Post1

Here's my file. I use parallelprocessing.bat and not postprocessing.bat but I think it's the same parameters

-----------------------------------------------------------
@echo off
Rem ParallelProcessing.bat
Rem This script will be run automatically by GBPVR when a recording is started
Rem To enable it put this file inside your GBPVR default program directory (C:\Program Files\devnz\gbpvr\)
Rem together with Comskip.exe, Comskip.ini and Comskip.dictionary
Rem The script is called with two parameters
Rem %1 is the fully qualified name of the recorded mpeg file.
Rem %2 is the channel number of the recording
echo Parallelprocessing.bat invoked on %1 recorded from channel %2 >>parallelprocessing.log

cd c:\program files\devnz\gbpvr

Rem The part below can be used to not run Comskip on certain channels, please modify for your conveniance.
Rem The channel numbers that should be skipped are the numbers between the double quotes ("").
Rem You can add "if" lines as much as you want
Rem To disable this behaviour use channel numbers outside the normal range, put a "rem" before the "if" or delete the "if" lines

Rem list of channels to not run comskip on
if "%2" == "101" goto eof:
if "%2" == "102" goto eof:
if "%2" == "106" goto eof:
if "%2" == "107" goto eof:

Rem COMMENT OUT THE NEXT GOTO LINE TO USE SPECIFIC COMSKIP.INI FILES
goto generic:

Rem this trick also makes it possible to have dedicated comskip.ini file for certain channels.
if "%2" == "79" goto channel79:
goto generic:

:channel79
comskip --ini=channel79.ini %1
goto eof:

:generic
Rem The actual run of Comskip. Only one parameter, the name of the mpeg file to process.
Rem Comskip will read its settings from the Comskip.ini found in the same directory as Comskip.exe
Rem Both are supposed to be in the GBPVR default program directory. (C:\Program Files\devnz\gbpvr\)
comskip %1

:eof
-----------------------------------------------------------


hope this helps

Smeghead
dgroover
Offline

Junior Member

Posts: 6
Threads: 2
Joined: Mar 2007
#3
2007-04-09, 11:50 PM
I was able to get comskip and comclean to run but the commercials are way off. It did ok on the first commercial break but missed the others. I recorded an HD broadcast. I thought I read something about the .edl file that comskip creates. Does comskip use that file instead of the .txt file? How do I make sure it reads that file instead of the .txt file?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Comskip pcostanza 3 2,531 2010-06-02, 01:46 AM
Last Post: pBS
  Running comskip at a scheduled time? gonzo90017 4 2,327 2010-05-19, 06:09 AM
Last Post: pBS
  Anyone using comskip in New Zealand - TVNZ, TV3 etc ? wodger 3 1,982 2010-04-22, 11:07 PM
Last Post: Lindsay
  Help do not know how to configure comskip to work with records or live. HYBRiD.BLiNG 1 1,640 2010-04-16, 12:43 AM
Last Post: Graham
  comskip problem dspdrew 3 2,049 2010-04-13, 03:55 AM
Last Post: Daldana
  ATSC LiveTV and comskip on same server/client system? linene 2 1,687 2010-03-07, 09:31 PM
Last Post: linene
  Comskip ts NZ Lindsay 2 2,073 2010-02-27, 11:56 PM
Last Post: lyntonb
  New play pause toggle and comskip soccerdad 3 2,257 2010-02-03, 12:59 AM
Last Post: AOSandman
  Comskip Comclean HELP! Darko1912 2 1,942 2010-01-28, 03:10 AM
Last Post: Darko1912
  Comskip files remain after deleting recordings 1oddfellow 10 4,950 2010-01-19, 06:17 AM
Last Post: spotty

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

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

Linear Mode
Threaded Mode