NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 37 38 39 40 41 … 56 Next »
Comskip tuning made easy

 
  • 0 Vote(s) - 0 Average
Comskip tuning made easy
groover km
Offline

Senior Member

Posts: 731
Threads: 43
Joined: Mar 2005
#11
2006-02-02, 06:21 PM
Reboot's ini file is on erik's forum.
Celeron D 2.53GHz, 1024MB
120GB, 160GB int, 80GB, 250GB ext, 40GB lan HDDs
PVR-150 retail, 1 wired MVP, 1 wireless MVP, OFA URC-8910 Remote
Look for me on XBox Live!
roy
Offline

Posting Freak

Posts: 830
Threads: 95
Joined: Sep 2005
#12
2006-02-02, 06:38 PM (This post was last modified: 2006-02-02, 06:52 PM by roy.)
I do not see the graphs in the debug window, all I see is the timeline. Pressing "G" key toggles between brighter and darker image. Is there a trick to getting the graphs?

Also, I'm dropping the .txt file on a desktop shortcut to comskip.
What, me worry?

MSI H270 PC Mate | Core i3-7100 | 16GB RAM | 275GB M.2 2280 SSD | 4TB + 2TB HDD | Zalman Z3 Case | Win10
HDHR Prime | HVR2250 | PCH A-110 | PCH A-100 | Harmony 650 & 700 remotes | Comcast | Schedules Direct
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#13
2006-02-02, 07:02 PM
roy Wrote:I do not see the graphs in the debug window, all I see is the timeline. Pressing "G" key toggles between brighter and darker image. Is there a trick to getting the graphs?

Also, I'm dropping the .txt file on a desktop shortcut to comskip.
No graphs when dropping the .txt file, because the info is in the .csv file and with a .txt file dropped its not available/read.
If you want the graphs drop the .csv file, or see them appear during processing of the .mpg when using the -w switch
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#14
2006-02-02, 07:03 PM
Koenie Wrote:I only had one problem where RTL4 starts CSI systematically much later than programmed. The show before is in 16:9 which makes comskip pick the wrong place for the logo. Still no scenes were marked as ads but the ads were detected incomplete.

Which version do you run?
I added special processing for this case that is supposed to solve it.
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
roy
Offline

Posting Freak

Posts: 830
Threads: 95
Joined: Sep 2005
#15
2006-02-02, 07:06 PM
erik Wrote:If you want the graphs drop the .csv file, or see them appear during processing of the .mpg when using the -w switch

Cool, thanks. When dropping the .csv file, can I still edit the .txt file cutpoints? (just can't wait to get home and try it) Big Grin
What, me worry?

MSI H270 PC Mate | Core i3-7100 | 16GB RAM | 275GB M.2 2280 SSD | 4TB + 2TB HDD | Zalman Z3 Case | Win10
HDHR Prime | HVR2250 | PCH A-110 | PCH A-100 | Harmony 650 & 700 remotes | Comcast | Schedules Direct
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#16
2006-02-02, 07:06 PM
Koenie Wrote:Symply cutting out part of the show and have comskip write the correct logo, putting this logo in the GBPVR directory and calling it trough the parallelprocessing.bat (comskip --logo=csi.txt %1) file for RTL4 shows makes the detection accurate to the last frame.
This is something I never tried but assumed it would work.

Good for other users to remember.
You can have comskip learn a logo and then reuse the learned logo to have very robust logo processing without the chance of having a wrong logo learned.
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#17
2006-02-02, 07:21 PM
roy Wrote:When dropping the .csv file, can I still edit the .txt file cutpoints?
No, because when you are editing you are interrested in the video and not in the analysis Comskip made. (my opinion)
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
bhays
Offline

Member

Posts: 79
Threads: 19
Joined: Jan 2006
#18
2006-02-02, 07:39 PM
reboot Wrote:I don't ever record anything on news and info stations, and have separate ini's for spike and cbs.

Could you post your settings for spike and cbs. I have the same issues with Spike.
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#19
2006-02-03, 04:53 PM
I'm using comskip 0.79.8
Spike.ini
Code:
detect_method=47            ;1=black frame, 2=logo, 4=scene change, 8=fuzzy logic, 16=closed captions, 32=aspect ration, 255=all
verbose=5                ;show a lot of extra info, level 5 is also OK, set to 0 to disable
max_brightness=60                  ;frame not black if any pixels checked are greater than this (scale 0 to 255)
test_brightness=40              ;frame not pure black if any pixels checked are greater than this, will check average brightness (scale 0 to 255)
max_avg_brightness=20            ;maximum average brightness for a dim frame to be considered black (scale 0 to 255) 0 means autosetting
max_commercialbreak=381         ;maximum length in seconds to consider a segment a commercial break
min_commercialbreak=91            ;minimum length in seconds to consider a segment a commercial break
max_commercial_size=121            ;maximum time in seconds for a single commercial or multiple commercials if no breaks in between
min_commercial_size=9           ;mimimum time in seconds for a single commercial
min_show_segment_length=241         ; any segment longer than this will be scored towards show.
non_uniformity=300
max_volume=0                ; any frame with sound volume larger than this will not be regarded as black frame
ticker_tape=0                ; Amount of pixels from bottom to ignore in all processing
intelligent_brightness=1         ; Set to 1 to use a USA specific algorithm to tune some of the settings, not adviced outside the USA
logo_percentile=0.92            ; if more then this amount of logo is found then logo detection will be disabled
logo_threshold=0.70
aggressive_logo_rejection=0
connect_blocks_with_logo=1        ; set to 1 if you want successive blocks with logo on the transition to be regarded as connected, set to 0 to disable
cut_on_ar_change=1            ; set to 1 if you want to cut also on aspect ratio changes, set to 0 to disable
delete_show_after_last_commercial=1    ; delete the last block if its a show and after a commercial
delete_show_before_or_after_current=0    ; This can lead to the deletion of trailers of next show
shrink_logo=0                ; Reduce the duration of the logo with this amount of seconds
padding=0
delete_logo_file=1            ; set to 1 if you want comskip to tidy up after finishing
output_framearray=0            ; create a big excel file for detailed analysis, set to 0 to disable
output_videoredo=1
output_womble=0
output_cuttermaran=0
output_mpgtx=0
output_zoomplayer_chapter=0
output_zoomplayer_cutlist=0
output_edl=0
live_tv=0
output_debugwindow=0
CBS.ini
Code:
detect_method=47            ;1=black frame, 2=logo, 4=scene change, 8=fuzzy logic, 16=closed captions, 32=aspect ration, 255=all
verbose=10                ;show a lot of extra info, level 5 is also OK, set to 0 to disable
max_brightness=60                  ;frame not black if any pixels checked are greater than this (scale 0 to 255)
test_brightness=40              ;frame not pure black if any pixels checked are greater than this, will check average brightness (scale 0 to 255)
max_avg_brightness=20            ;maximum average brightness for a dim frame to be considered black (scale 0 to 255) 0 means autosetting
max_commercialbreak=360         ;maximum length in seconds to consider a segment a commercial break
min_commercialbreak=10            ;minimum length in seconds to consider a segment a commercial break
max_commercial_size=61            ;maximum time in seconds for a single commercial or multiple commercials if no breaks in between
min_commercial_size=4           ;mimimum time in seconds for a single commercial
min_show_segment_length=291         ; any segment longer than this will be scored towards show.
non_uniformity=1000
max_volume=0                ; any frame with sound volume larger than this will not be regarded as black frame
ticker_tape=0                ; Amount of pixels from bottom to ignore in all processing
intelligent_brightness=1         ; Set to 1 to use a USA specific algorithm to tune some of the settings, not adviced outside the USA
logo_percentile=0.92            ; if more then this amount of logo is found then logo detection will be disabled
logo_threshold=0.70
aggressive_logo_rejection=1
connect_blocks_with_logo=1        ; set to 1 if you want successive blocks with logo on the transition to be regarded as connected, set to 0 to disable
cut_on_ar_change=1            ; set to 1 if you want to cut also on aspect ratio changes, set to 0 to disable
delete_show_after_last_commercial=1    ; delete the last block if its a show and after a commercial
delete_show_before_or_after_current=0    ; This can lead to the deletion of trailers of next show
shrink_logo=0                ; Reduce the duration of the logo with this amount of seconds
padding=0
delete_logo_file=1            ; set to 1 if you want comskip to tidy up after finishing
output_framearray=0            ; create a big excel file for detailed analysis, set to 0 to disable
output_videoredo=1
output_womble=0
output_cuttermaran=0
output_mpgtx=0
output_zoomplayer_chapter=0
output_zoomplayer_cutlist=0
output_edl=0
live_tv=0
output_debugwindow=0
excessive_length_modifier=0.01
Parallelprocessing.bat
Notice how the different .ini's are called
Also notice the line right after renamerecordings. This renames the _original file back to the truly original name that gbpvr gives it. This allows for manual editing using videoredo, if the automated clean file is wrong (very seldom).
Also notice the transcoding section at the end (temporarily disabled).
Code:
@echo off
Rem ParallelProcessing.bat
Rem This script will be run automatically by GBPVR when found after a recording is finished
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 Prostprocessing.bat invoked on %1 recorded from channel %2 >>postprocessing.log

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
Rem if "%2" == "27" goto eof:
Rem if "%2" == "36" goto eof:

Rem this trick also makes it possible to have dedicated comskip.ini file for certain channels.
if "%2" == "7" goto channel7:
REM if "%2" == "4" goto channel7:
REM if "%2" == "6" goto channel7:
if "%2" == "15" goto channel15:

Rem use the default comskip.ini for all other channels
goto generic:

:channel7
comskip --ini=comskipcbs7.ini %1
goto continue:
:channel15
comskip --ini=comskipshcase15.ini %1
goto continue:

: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
:continue

Rem Once the commercials have been identified you can run comclean to delete the commercials from the recording.
Rem Do this only when you are not using the Skip function in the GBPVR viewer.
REM the following calls videoredo to edit the file, then renamerecordings.
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 -t %1 > renamerecordings.log
move "%~dpn1_original.mpg" "%~dpn1.mpg"

REM Testing mencoder section------------------
REM This is the transcoding portion
REM cd "C:\Program Files\devnz\gbpvr\"
REM start /min /low mTranscode_0p0p3.vbs
REM end mencoder test section ------------------

:eof
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
bobrap
Offline

Member

Posts: 103
Threads: 19
Joined: Aug 2005
#20
2006-02-14, 03:09 PM
I'm using these ini files with great success...thank you very much. If I have a channel that I don't run comclean on (ex. Encore), how do I set it up to run renamerecording so I have the show and/or episode name? Plus, is the original name format (Combat!_20060214_08000900.mpg) hard coded? Thanks for any helpSmile Smile
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  QAM/ATSC Tuning string fix. whurlston 3 3,137 2009-10-06, 11:00 PM
Last Post: johnsonx42
  Comskip 0.79 build 24: Improved logo recognition erik 10 6,802 2009-09-07, 11:10 PM
Last Post: gEd
  Starting to test Comskip with h.264 support erik 31 12,583 2009-03-01, 12:31 PM
Last Post: erik
  Comskip build 143 can crash on mono AC3, upgrade to build 144 erik 0 1,202 2008-08-17, 11:45 AM
Last Post: erik
  Comskip quality on HD worse then expected erik 2 1,750 2008-02-18, 10:59 PM
Last Post: erik
  SkipTool a GUI to enter comskip times pastro 7 2,725 2007-10-17, 04:16 AM
Last Post: pastro
  SkipTool a GUI to enter comskip times. New Version released pastro 7 3,728 2007-10-15, 03:18 PM
Last Post: pastro
  Comskip build 92: Special for Australia erik 3 1,704 2007-04-17, 08:38 PM
Last Post: David
  Comskip 0.79 build 69 released erik 0 1,309 2007-01-14, 07:09 PM
Last Post: erik
  Comskip 0.79 build 46, bug fix and new tuning parameters erik 3 1,926 2006-12-14, 10:20 PM
Last Post: Ted the Penguin

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

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

Linear Mode
Threaded Mode